[vtkusers] Fwd: vtkInteractorStyleRubberBand2D, Area Selection, Rulers

Amine SAHTARI msahtari at gmail.com
Thu Jan 22 05:04:44 EST 2009


Please, could anyone answer to those questions ?
I need your help!

---------- Forwarded message ----------
From: Amine SAHTARI <msahtari at gmail.com>
Date: 2009/1/21
Subject: vtkInteractorStyleRubberBand2D, Area Selection, Rulers
To: vtkusers vtkusers <vtkusers at vtk.org>


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/20090122/66edbb78/attachment.htm>


More information about the vtkusers mailing list