111 #ifndef vtkImagePlaneWidget_h
112 #define vtkImagePlaneWidget_h
114 #include "vtkInteractionWidgetsModule.h"
117 VTK_ABI_NAMESPACE_BEGIN
135 #define VTK_NEAREST_RESLICE 0
136 #define VTK_LINEAR_RESLICE 1
137 #define VTK_CUBIC_RESLICE 2
140 #define VTK_IMAGE_PLANE_WIDGET_MAX_TEXTBUFF 128
161 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override
179 void GetOrigin(
double xyz[3]);
186 void SetPoint1(
double x,
double y,
double z);
187 void SetPoint1(
double xyz[3]);
189 void GetPoint1(
double xyz[3]);
196 void SetPoint2(
double x,
double y,
double z);
197 void SetPoint2(
double xyz[3]);
199 void GetPoint2(
double xyz[3]);
207 void GetCenter(
double xyz[3]);
215 void GetNormal(
double xyz[3]);
221 void GetVector1(
double v1[3]);
226 void GetVector2(
double v2[3]);
241 double GetSlicePosition();
252 void SetResliceInterpolate(
int);
253 vtkGetMacro(ResliceInterpolate,
int);
254 void SetResliceInterpolateToNearestNeighbour()
368 vtkGetMacro(PlaneOrientation,
int);
425 vtkSetClampMacro(MarginSizeX,
double, 0.0, 0.5);
426 vtkGetMacro(MarginSizeX,
double);
427 vtkSetClampMacro(MarginSizeY,
double, 0.0, 0.5);
428 vtkGetMacro(MarginSizeY,
double);
478 vtkGetVectorMacro(CurrentCursorPosition,
double, 3);
487 vtkGetMacro(CurrentImageValue,
double);
526 VTK_CURSOR_ACTION = 0,
527 VTK_SLICE_MOTION_ACTION = 1,
528 VTK_WINDOW_LEVEL_ACTION = 2
530 vtkSetClampMacro(LeftButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
531 vtkGetMacro(LeftButtonAction,
int);
532 vtkSetClampMacro(MiddleButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
533 vtkGetMacro(MiddleButtonAction,
int);
534 vtkSetClampMacro(RightButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
535 vtkGetMacro(RightButtonAction,
int);
550 VTK_SHIFT_MODIFIER = 1,
551 VTK_CONTROL_MODIFIER = 2
553 vtkSetClampMacro(LeftButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
554 vtkGetMacro(LeftButtonAutoModifier,
int);
555 vtkSetClampMacro(MiddleButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
556 vtkGetMacro(MiddleButtonAutoModifier,
int);
557 vtkSetClampMacro(RightButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
558 vtkGetMacro(RightButtonAutoModifier,
int);
579 VTK_MIDDLE_BUTTON = 2,
601 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
663 void Push(
double* p1,
double* p2);
664 void Spin(
double* p1,
double* p2);
665 void Rotate(
double* p1,
double* p2,
double* vpn);
666 void Scale(
double* p1,
double* p2,
int X,
int Y);
697 double CurrentCursorPosition[3];
714 double RotateAxis[3];
715 double RadiusVector[3];
733 VTK_ABI_NAMESPACE_END
abstract API for pickers that can pick an instance of vtkProp
represents an object (geometry & properties) in a rendered scene
Proxy object to connect input/output ports.
map vtkDataSet and derived classes to graphics primitives
topologically and geometrically regular array of data
map the input image through a lookup table
Reslices a volume along a new set of axes.
a simple class to control print indentation
map scalar values into colors via a lookup table
represent and manipulate 4x4 transformation matrices
abstract base class for most VTK objects
create an array of quadrilaterals located in a plane
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
represent surface properties of a geometric object
An actor that displays text.
represent text properties.
handles properties associated with a texture map
#define VTK_SIZEHINT(...)