[vtkusers] 2D widgets?
dean.inglis at sympatico.ca
Tue Jul 3 07:36:57 EDT 2007
have a look at these previous posts for cursoring:
a region of interest example is in
and probing image data with
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?
J. Samuel Preston
Center for Advanced Engineering Environments
Old Dominion University Research Foundation
More information about the vtkusers