#include <vtkImageTracerWidget.h>
Inheritance diagram for vtkImageTracerWidget:
vtkImageTracerWidget is different from other widgets in three distinct ways: 1) any sub-class of vtkProp can be input rather than just vtkProp3D, so that vtkImageActor can be set as the prop and then traced over, 2) the widget fires pick events at the input prop to decide where to move its handles, 3) the widget has 2D glyphs for handles instead of 3D spheres as is done in other sub-classes of vtk3DWidget. This widget is primarily designed for manually tracing over image data. The button actions and key modifiers are as follows for controlling the widget: 1) left button click over the image, hold and drag draws a free hand line. 2) left button click and release erases the widget line, if it exists, and repositions the first handle. 3) middle button click starts a snap drawn line. The line is terminated by clicking the middle button while depressing the ctrl key. 4) when tracing a continuous or snap drawn line, if the last cursor position is within a specified tolerance to the first handle, the widget line will form a closed loop. 5) right button clicking and holding on any handle that is part of a snap drawn line allows handle dragging: existing line segments are updated accordingly. If the path is open and AutoClose is set to On, the path can be closed by repositioning the first and last points over one another. 6) ctrl key + right button down on any handle will erase it: existing snap drawn line segments are updated accordingly. If the line was formed by continous tracing, the line is deleted leaving one handle. 7) shift key + right button down on any snap drawn line segment will insert a handle at the cursor position. The line segment is split accordingly.
Definition at line 87 of file vtkImageTracerWidget.h.
|
Reimplemented from vtk3DWidget. Definition at line 93 of file vtkImageTracerWidget.h. |
|
Definition at line 254 of file vtkImageTracerWidget.h. |
|
|
|
|
|
Instantiate the object. Reimplemented from vtkObject. |
|
Reimplemented from vtk3DWidget. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtk3DWidget. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtk3DWidget. |
|
Reimplemented from vtk3DWidget. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtk3DWidget. |
|
Methods that satisfy the superclass' API. Reimplemented from vtkInteractorObserver. |
|
This method is used to initially place the widget. The placement of the widget depends on whether a Prop3D or input dataset is provided. If one of these two is provided, they will be used to obtain a bounding box, around which the widget is placed. Otherwise, you can manually specify a bounds with the PlaceWidget(bounds) method. Note: PlaceWidget(bounds) is required by all subclasses; the other methods are provided as convenience methods. Implements vtk3DWidget. |
|
Reimplemented from vtk3DWidget. Definition at line 100 of file vtkImageTracerWidget.h. |
|
Reimplemented from vtk3DWidget. Definition at line 102 of file vtkImageTracerWidget.h. |
|
Set/Get the handle properties (the 2D glyphs are the handles). The properties of the handles when selected and normal can be manipulated. |
|
Set/Get the handle properties (the 2D glyphs are the handles). The properties of the handles when selected and normal can be manipulated. |
|
Set/Get the handle properties (the 2D glyphs are the handles). The properties of the handles when selected and normal can be manipulated. |
|
Set/Get the handle properties (the 2D glyphs are the handles). The properties of the handles when selected and normal can be manipulated. |
|
Set/Get the line properties. The properties of the line when selected and unselected can be manipulated. |
|
Set/Get the line properties. The properties of the line when selected and unselected can be manipulated. |
|
Set/Get the line properties. The properties of the line when selected and unselected can be manipulated. |
|
Set/Get the line properties. The properties of the line when selected and unselected can be manipulated. |
|
Set the prop, usually a vtkImageActor, to trace over. |
|
Force handles to be on a specific ortho plane. |
|
Set the prop, usually a vtkImageActor, to trace over. |
|
Set the prop, usually a vtkImageActor, to trace over. |
|
Set the prop, usually a vtkImageActor, to trace over. |
|
Set the projection normal. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively. Since the handles are 2D glyphs, it is necessary to specify a plane on which to generate them, even though ProjectToPlane may be turned off. |
|
Set the projection normal. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively. Since the handles are 2D glyphs, it is necessary to specify a plane on which to generate them, even though ProjectToPlane may be turned off. |
|
Set the projection normal. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively. Since the handles are 2D glyphs, it is necessary to specify a plane on which to generate them, even though ProjectToPlane may be turned off. Definition at line 143 of file vtkImageTracerWidget.h. |
|
Set the projection normal. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively. Since the handles are 2D glyphs, it is necessary to specify a plane on which to generate them, even though ProjectToPlane may be turned off. Definition at line 145 of file vtkImageTracerWidget.h. |
|
Set the projection normal. The normal in SetProjectionNormal is 0,1,2 for YZ,XZ,XY planes respectively. Since the handles are 2D glyphs, it is necessary to specify a plane on which to generate them, even though ProjectToPlane may be turned off. Definition at line 147 of file vtkImageTracerWidget.h. |
|
Set the position of the widgets' handles in terms of a plane's position. e.g., if ProjectionNormal is 0, all of the x-coordinate values of the handles are set to ProjectionPosition. No attempt is made to ensure that the position is within the bounds of either the underlying image data or the prop on which tracing is performed. |
|
Set the position of the widgets' handles in terms of a plane's position. e.g., if ProjectionNormal is 0, all of the x-coordinate values of the handles are set to ProjectionPosition. No attempt is made to ensure that the position is within the bounds of either the underlying image data or the prop on which tracing is performed. |
|
Force snapping to image data while tracing. |
|
Force snapping to image data while tracing. |
|
Force snapping to image data while tracing. |
|
Force snapping to image data while tracing. |
|
In concert with a CaptureRadius value, automatically form a closed path by connecting first to last path points. |
|
In concert with a CaptureRadius value, automatically form a closed path by connecting first to last path points. |
|
In concert with a CaptureRadius value, automatically form a closed path by connecting first to last path points. |
|
In concert with a CaptureRadius value, automatically form a closed path by connecting first to last path points. |
|
Set/Get the capture radius for automatic path closing. For image data, capture radius should be half the distance between voxel/pixel centers. |
|
Set/Get the capture radius for automatic path closing. For image data, capture radius should be half the distance between voxel/pixel centers. |
|
Grab the points and lines that define the traced path. These point values are guaranteed to be up-to-date when either the InteractionEvent or EndInteraction events are invoked. The user provides the vtkPolyData and the points and cells representing the line are added to it. |
|
Get the handles' geometric representation via vtkGlyphSource2D. Definition at line 192 of file vtkImageTracerWidget.h. |
|
Set/Get the type of snapping to image data: center of a pixel/voxel or nearest point defining a pixel/voxel. |
|
Get the handles' geometric representation via vtkGlyphSource2D. |
|
Set/Get the handle position in terms of a zero-based array of handles. |
|
Set/Get the handle position in terms of a zero-based array of handles. |
|
Set/Get the handle position in terms of a zero-based array of handles. |
|
Set/Get the handle position in terms of a zero-based array of handles. |
|
Get the number of handles. |
|
Enable/disable mouse interaction when the widget is visible. |
|
Enable/disable mouse interaction when the widget is visible. |
|
Enable/disable mouse interaction when the widget is visible. |
|
Enable/disable mouse interaction when the widget is visible. |
|
Initialize the widget with a set of points and generate lines between them. If AutoClose is on it will handle the case wherein the first and last points are congruent. |
|
Is the path closed or open? |
|
|
|
Handles the char widget activation event. Also handles the delete event. Reimplemented from vtkInteractorObserver. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from vtk3DWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 253 of file vtkImageTracerWidget.h. |
|
Definition at line 285 of file vtkImageTracerWidget.h. |
|
Definition at line 286 of file vtkImageTracerWidget.h. |
|
Definition at line 287 of file vtkImageTracerWidget.h. |
|
Definition at line 288 of file vtkImageTracerWidget.h. |
|
Definition at line 289 of file vtkImageTracerWidget.h. |
|
Definition at line 290 of file vtkImageTracerWidget.h. |
|
Definition at line 291 of file vtkImageTracerWidget.h. |
|
Definition at line 292 of file vtkImageTracerWidget.h. |
|
Definition at line 293 of file vtkImageTracerWidget.h. |
|
Definition at line 294 of file vtkImageTracerWidget.h. |
|
Definition at line 295 of file vtkImageTracerWidget.h. |
|
Definition at line 304 of file vtkImageTracerWidget.h. |
|
Definition at line 305 of file vtkImageTracerWidget.h. |
|
Definition at line 306 of file vtkImageTracerWidget.h. |
|
Definition at line 309 of file vtkImageTracerWidget.h. |
|
Definition at line 310 of file vtkImageTracerWidget.h. |
|
Definition at line 311 of file vtkImageTracerWidget.h. |
|
Definition at line 322 of file vtkImageTracerWidget.h. |
|
Definition at line 323 of file vtkImageTracerWidget.h. |
|
Definition at line 324 of file vtkImageTracerWidget.h. |
|
Definition at line 326 of file vtkImageTracerWidget.h. |
|
Definition at line 327 of file vtkImageTracerWidget.h. |
|
Definition at line 330 of file vtkImageTracerWidget.h. |
|
Definition at line 331 of file vtkImageTracerWidget.h. |
|
Definition at line 332 of file vtkImageTracerWidget.h. |
|
Definition at line 333 of file vtkImageTracerWidget.h. |
|
Definition at line 334 of file vtkImageTracerWidget.h. |
|
Definition at line 340 of file vtkImageTracerWidget.h. |
|
Definition at line 343 of file vtkImageTracerWidget.h. |
|
Definition at line 344 of file vtkImageTracerWidget.h. |
|
Definition at line 345 of file vtkImageTracerWidget.h. |
|
Definition at line 349 of file vtkImageTracerWidget.h. |
|
Definition at line 350 of file vtkImageTracerWidget.h. |
|
Definition at line 351 of file vtkImageTracerWidget.h. |
|
Definition at line 352 of file vtkImageTracerWidget.h. |