Go to the documentation of this file.
106 #ifndef vtkImagePlaneWidget_h
107 #define vtkImagePlaneWidget_h
109 #include "vtkInteractionWidgetsModule.h"
129 #define VTK_NEAREST_RESLICE 0
130 #define VTK_LINEAR_RESLICE 1
131 #define VTK_CUBIC_RESLICE 2
152 void PlaceWidget(
double xmin,
double xmax,
double ymin,
double ymax,
153 double zmin,
double zmax)
243 vtkGetMacro(ResliceInterpolate,
int);
263 vtkGetMacro(RestrictPlaneToVolume,
int);
274 vtkGetMacro(UserControlledLookupTable,
int);
286 vtkGetMacro(TextureInterpolate,
int);
296 vtkGetMacro(TextureVisibility,
int);
358 vtkGetMacro(PlaneOrientation,
int);
360 { this->SetPlaneOrientation(0); }
362 { this->SetPlaneOrientation(1); }
364 { this->SetPlaneOrientation(2); }
393 vtkGetMacro(DisplayText,
int);
418 vtkSetClampMacro(MarginSizeX,
double, 0.0, 0.5);
419 vtkGetMacro(MarginSizeX,
double);
420 vtkSetClampMacro(MarginSizeY,
double, 0.0, 0.5);
421 vtkGetMacro(MarginSizeY,
double);
471 vtkGetVectorMacro(CurrentCursorPosition,
double,3);
480 vtkGetMacro(CurrentImageValue,
double);
500 vtkGetMacro(UseContinuousCursor,
int);
509 vtkGetMacro(Interaction,
int);
519 VTK_CURSOR_ACTION = 0,
520 VTK_SLICE_MOTION_ACTION = 1,
521 VTK_WINDOW_LEVEL_ACTION = 2
523 vtkSetClampMacro(LeftButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
524 vtkGetMacro(LeftButtonAction,
int);
525 vtkSetClampMacro(MiddleButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
526 vtkGetMacro(MiddleButtonAction,
int);
527 vtkSetClampMacro(RightButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
528 vtkGetMacro(RightButtonAction,
int);
543 VTK_SHIFT_MODIFIER = 1,
544 VTK_CONTROL_MODIFIER = 2
546 vtkSetClampMacro(LeftButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
547 vtkGetMacro(LeftButtonAutoModifier,
int);
548 vtkSetClampMacro(MiddleButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
549 vtkGetMacro(MiddleButtonAutoModifier,
int);
550 vtkSetClampMacro(RightButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
551 vtkGetMacro(RightButtonAutoModifier,
int);
572 VTK_MIDDLE_BUTTON = 2,
658 void Push(
double *p1,
double *p2);
659 void Spin(
double *p1,
double *p2);
660 void Rotate(
double *p1,
double *p2,
double *vpn);
661 void Scale(
double *p1,
double *p2,
int X,
int Y);
692 double CurrentCursorPosition[3];
709 double RotateAxis[3];
710 double RadiusVector[3];
represent and manipulate 3D points
create an array of quadrilaterals located in a plane
abstract base class for most VTK objects
map the input image through a lookup table
handles properties associated with a texture map
represents an object (geometry & properties) in a rendered scene
topologically and geometrically regular array of data
An actor that displays text.
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
Reslices a volume along a new set of axes.
abstract API for pickers that can pick an instance of vtkProp
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
map scalar values into colors via a lookup table
Proxy object to connect input/output ports.
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
Superclass for algorithms that produce only polydata as output.
map vtkDataSet and derived classes to graphics primitives