102#ifndef vtkImagePlaneWidget_h
103#define vtkImagePlaneWidget_h
105#include "vtkInteractionWidgetsModule.h"
108VTK_ABI_NAMESPACE_BEGIN
126#define VTK_NEAREST_RESLICE 0
127#define VTK_LINEAR_RESLICE 1
128#define VTK_CUBIC_RESLICE 2
131#define VTK_IMAGE_PLANE_WIDGET_MAX_TEXTBUFF 128
152 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
override
170 void GetOrigin(
double xyz[3]);
177 void SetPoint1(
double x,
double y,
double z);
178 void SetPoint1(
double xyz[3]);
180 void GetPoint1(
double xyz[3]);
187 void SetPoint2(
double x,
double y,
double z);
188 void SetPoint2(
double xyz[3]);
190 void GetPoint2(
double xyz[3]);
198 void GetCenter(
double xyz[3]);
206 void GetNormal(
double xyz[3]);
212 void GetVector1(
double v1[3]);
217 void GetVector2(
double v2[3]);
227 void SetSliceIndex(
int index);
232 double GetSlicePosition();
237 void SetSlicePosition(
double position);
243 void SetResliceInterpolate(
int);
244 vtkGetMacro(ResliceInterpolate,
int);
245 void SetResliceInterpolateToNearestNeighbour()
359 vtkGetMacro(PlaneOrientation,
int);
416 vtkSetClampMacro(MarginSizeX,
double, 0.0, 0.5);
417 vtkGetMacro(MarginSizeX,
double);
418 vtkSetClampMacro(MarginSizeY,
double, 0.0, 0.5);
419 vtkGetMacro(MarginSizeY,
double);
469 vtkGetVectorMacro(CurrentCursorPosition,
double, 3);
478 vtkGetMacro(CurrentImageValue,
double);
517 VTK_CURSOR_ACTION = 0,
518 VTK_SLICE_MOTION_ACTION = 1,
519 VTK_WINDOW_LEVEL_ACTION = 2
521 vtkSetClampMacro(LeftButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
522 vtkGetMacro(LeftButtonAction,
int);
523 vtkSetClampMacro(MiddleButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
524 vtkGetMacro(MiddleButtonAction,
int);
525 vtkSetClampMacro(RightButtonAction,
int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
526 vtkGetMacro(RightButtonAction,
int);
541 VTK_SHIFT_MODIFIER = 1,
542 VTK_CONTROL_MODIFIER = 2
544 vtkSetClampMacro(LeftButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
545 vtkGetMacro(LeftButtonAutoModifier,
int);
546 vtkSetClampMacro(MiddleButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
547 vtkGetMacro(MiddleButtonAutoModifier,
int);
548 vtkSetClampMacro(RightButtonAutoModifier,
int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
549 vtkGetMacro(RightButtonAutoModifier,
int);
570 VTK_MIDDLE_BUTTON = 2,
592 vtkObject*
object,
unsigned long event,
void* clientdata,
void* calldata);
654 void Push(
double* p1,
double* p2);
655 void Spin(
double* p1,
double* p2);
656 void Rotate(
double* p1,
double* p2,
double* vpn);
657 void Scale(
double* p1,
double* p2,
int X,
int Y);
688 double CurrentCursorPosition[3];
705 double RotateAxis[3];
706 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(...)