124#ifndef vtkImagePlaneWidget_h
125#define vtkImagePlaneWidget_h
127#include "vtkInteractionWidgetsModule.h"
147#define VTK_NEAREST_RESLICE 0
148#define VTK_LINEAR_RESLICE 1
149#define VTK_CUBIC_RESLICE 2
152#define VTK_IMAGE_PLANE_WIDGET_MAX_TEXTBUFF 128
173 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override
191 void GetOrigin(
double xyz[3]);
198 void SetPoint1(
double x,
double y,
double z);
199 void SetPoint1(
double xyz[3]);
201 void GetPoint1(
double xyz[3]);
208 void SetPoint2(
double x,
double y,
double z);
209 void SetPoint2(
double xyz[3]);
211 void GetPoint2(
double xyz[3]);
219 void GetCenter(
double xyz[3]);
227 void GetNormal(
double xyz[3]);
233 void GetVector1(
double v1[3]);
238 void GetVector2(
double v2[3]);
253 double GetSlicePosition();
264 void SetResliceInterpolate(
int);
265 vtkGetMacro(ResliceInterpolate,
int);
266 void SetResliceInterpolateToNearestNeighbour()
380 vtkGetMacro(PlaneOrientation,
int);
437 vtkSetClampMacro(MarginSizeX,
double, 0.0, 0.5);
438 vtkGetMacro(MarginSizeX,
double);
439 vtkSetClampMacro(MarginSizeY,
double, 0.0, 0.5);
440 vtkGetMacro(MarginSizeY,
double);
490 vtkGetVectorMacro(CurrentCursorPosition,
double, 3);
499 vtkGetMacro(CurrentImageValue,
double);
538 VTK_CURSOR_ACTION = 0,
539 VTK_SLICE_MOTION_ACTION = 1,
540 VTK_WINDOW_LEVEL_ACTION = 2
542 vtkSetClampMacro(LeftButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
543 vtkGetMacro(LeftButtonAction,
int);
544 vtkSetClampMacro(MiddleButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
545 vtkGetMacro(MiddleButtonAction,
int);
546 vtkSetClampMacro(RightButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
547 vtkGetMacro(RightButtonAction,
int);
562 VTK_SHIFT_MODIFIER = 1,
563 VTK_CONTROL_MODIFIER = 2
565 vtkSetClampMacro(LeftButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
566 vtkGetMacro(LeftButtonAutoModifier,
int);
567 vtkSetClampMacro(MiddleButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
568 vtkGetMacro(MiddleButtonAutoModifier,
int);
569 vtkSetClampMacro(RightButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
570 vtkGetMacro(RightButtonAutoModifier,
int);
591 VTK_MIDDLE_BUTTON = 2,
613 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
675 void Push(
double* p1,
double* p2);
676 void Spin(
double* p1,
double* p2);
677 void Rotate(
double* p1,
double* p2,
double* vpn);
678 void Scale(
double* p1,
double* p2,
int X,
int Y);
709 double CurrentCursorPosition[3];
726 double RotateAxis[3];
727 double RadiusVector[3];
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(...)