[vtkusers] 2D widgets?

Sam Preston j.sam.preston at gmail.com
Mon Jun 25 14:00:41 EDT 2007


Hi all,

I'm new to VTK, but I've been able to put together a small application
using ITK, VTK, and Qt using the QVTKWidget class.  Right now I'm just
using it to view 2D slices of a dataset (using the vtkImageViewer2
class), and I'd like to add some 2D widgets to define a region of
interest (a rectangle in 2D) or identify a point (a crosshair in 2D).
I've been searching online, and haven't been able to find any examples
of adding interactions like this to a 2D view -- the related widgets
seem to all be for 3D (vtkBoxWidget, vtkPointWidget).  Can these be
used in a 2D view, or is there another class I should be using?

Thanks,
-Sam

-- 
--------------------
J. Samuel Preston
Research Associate
Center for Advanced Engineering Environments
Old Dominion University Research Foundation



More information about the vtkusers mailing list