Search found 53 matches

by dpatch
Wed Sep 10, 2008 1:35 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34854

OK, maybe I replied too fast... The methods CalcPosPoint and CalcXPosValue do seem to work in that they allow me to redraw polygons in absoultuely the correct positions on different images. However, if you look at the axis positions values CalcPosPoint returns, it does not match the value on the x o...
by dpatch
Tue Sep 02, 2008 5:15 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34854

Initially I tried this and it did not work. However, It was a problem on my side.

This works GREAT! Thank you very much!
by dpatch
Mon Sep 01, 2008 3:32 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34854

There are 2 problems with the solution that you recommend. The first is that your solution returns the "integer" index of the X/Y pixel locations on the original axis when the Mouse Down event was generated. This index will not longer be valid on the next image that the uses generages...especially i...
by dpatch
Fri Aug 29, 2008 8:22 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34854

Yes, I see that you are correct. I was looking at the series1.CalcPosValue example in your help file. When I call the example code you supplied, I did not get the right answer. I wonder if I did not save the axis value in the array X_Value correctly. Could you look at the end of the example code whe...
by dpatch
Fri Aug 29, 2008 2:25 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34854

I saw the CalcPosValue method however, it takes an integer as input and my arrays are floating point. Is there an overloaded version that I did not see? I really need to be able to do this. Thanks...
by dpatch
Thu Aug 28, 2008 10:14 pm
Forum: VCL
Topic: Getting pixel values from axis label values
Replies: 34
Views: 34854

Getting pixel values from axis label values

I am trying to save the coordinates of a polygon that I marked on an image displayed on a TColorGrid so that I can redraw the polygon at a later time. My users save the polygon vertex values, and at a later date, draw a new image using a different target and want to redraw the saved polygon. Below i...
by dpatch
Mon Mar 31, 2008 6:40 pm
Forum: VCL
Topic: Relating point clicked and axis
Replies: 7
Views: 9160

Very helpful...Thank you! I was being confused between pixel locations on the screen and x/z axis indices. This solved my problem. Now, looking at your code below, how do I translate the other way. Given the Series1.XValues anf Series1.YValues values, how do I calculate the pixel location X,Y that w...
by dpatch
Fri Mar 28, 2008 4:34 pm
Forum: VCL
Topic: Relating point clicked and axis
Replies: 7
Views: 9160

I tried your fix and it does not properly place the mouse point above the correct row and column. However, when I try to zero out the cells inside the polygon, it stills seems to be flipped both horizontally and backwards. Is the X/Y numbering of the axis and the same as that reported back from the ...
by dpatch
Fri Mar 28, 2008 1:27 pm
Forum: VCL
Topic: Relating point clicked and axis
Replies: 7
Views: 9160

Is there a work around? Is there a time line for the fix? Can I be notified when this is fixed is completed?

I am toast...
by dpatch
Thu Mar 27, 2008 6:43 pm
Forum: VCL
Topic: Relating point clicked and axis
Replies: 7
Views: 9160

Relating point clicked and axis

I am drawing polygons on the ColorGridSeries chart and am trying to understand the connection between the X/Y values obtained in the Mouse Down event and the X/Z values in the Chart1.Series.AddXYZ method. As I add data points to the plot using the AddXYZ method, I want to change the values of points...
by dpatch
Wed Dec 05, 2007 2:32 pm
Forum: VCL
Topic: Rectangle tool
Replies: 5
Views: 7092

OK, thanks for the consideration. Remember, I am looking fo a 2D shape, not a 3D shape.

In the mean time, I am going to look at the source code for the rectangle tool to see if it can be easily modified.

Thanks again!
by dpatch
Wed Dec 05, 2007 1:13 am
Forum: VCL
Topic: Rectangle tool
Replies: 5
Views: 7092

Thank you for your response. I guess I was not clear about what I was asking. I need to draw a shape, say a hexagon or an octogon...using something similar to the rectangle tool. Maybe I could give 6 points as the shape bounds and it would connect the points, drawing a 6 sided shape. My application ...
by dpatch
Tue Nov 27, 2007 4:38 pm
Forum: VCL
Topic: Rectangle tool
Replies: 5
Views: 7092

Rectangle tool

The rectangle tool is great. Is there a way of drawing a similar shape with more than 4 sides? I need to be able to draw an "n" sided shape and know if a given point in the colorgridseries is inside the shape or outside.

Thnks in advance.
by dpatch
Tue Nov 27, 2007 4:34 pm
Forum: VCL
Topic: tVideoTool.GetCompressor error
Replies: 10
Views: 14335

Has there been any consideration given for this fix?

Also, Have you considerec storing video in formats other than windos AVI which creats VERY large files.
by dpatch
Tue Aug 07, 2007 3:50 pm
Forum: VCL
Topic: tVideoTool.GetCompressor error
Replies: 10
Views: 14335

Yes, I did modify it and it seems to work for some codec, but not all. This (like all) is a really important fix for me.

Thanks in advance!