[vtkusers] scaling in planewigdet

dean.inglis at camris.ca dean.inglis at camris.ca
Sat Jun 28 15:07:16 EDT 2008


Hi,

im not clear on what you mean:

>the problem is the drawing is done far from the
>true point i've clicked on.i checked for the code
>it takes the real point but even though the
>excution is in another point.
>the conclusion that i reached is that it takes
>the point from the image but excute it relative
>to the whole vtkformcontrol.

does "true point ive clicked on" mean a 3D point
on one of the 3D image planes or does it mean a 2D point on the screen/viewport/renderer?  If it
is the latter, then you don't want to use vtkImagePlaneWidget to get the position.   You 
should get the display point X Y location from
the interactor.

Dean





More information about the vtkusers mailing list