[vtkusers] vtkInteractorStyleRubberBand2D, Area Selection, Rulers

Amine SAHTARI msahtari at gmail.com
Wed Jan 21 11:18:21 EST 2009


Hi VTK Experts,

I use vtkInteractorStyleRubberBand2D class to view 3d data by interaction in
2D view. But, I have two questions :

      - This style allows to draw a rubber band using the left button. I
want to know how to zoom and display only the data of this rubber band.
        In other way, I want to select an area by the left button and zoom
into it according to the two sides of the Rubber Band (not only the shorter
side i.e.
        vtkInteractorStyleRubberBand2DZoom ).

      - I want to draw 2 rulers (in mm) in the boards of screen (one for X
and one for Y) which change according to zoom. Is there any custom widgets
which allows displaying of
        Rulers,Handels,...

All suggestions are welcome.

Thank you in advance for your answer,

Amine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090121/f671dbac/attachment.htm>


More information about the vtkusers mailing list