30 #ifndef vtkResliceCursorPicker_h 31 #define vtkResliceCursorPicker_h 33 #include "vtkInteractionWidgetsModule.h" 55 int Pick(
double selectionX,
double selectionY,
double selectionZ,
62 vtkGetMacro( PickedAxis1,
int );
63 vtkGetMacro( PickedAxis2,
int );
64 vtkGetMacro( PickedCenter,
int );
71 virtual void SetResliceCursorAlgorithm(
73 vtkGetObjectMacro( ResliceCursorAlgorithm,
84 double displayPos[2],
double world[3],
vtkRenderer *ren );
90 virtual int IntersectPolyDataWithLine(
91 double p1[3],
double p2[3],
vtkPolyData *,
double tol );
92 virtual int IntersectPointWithLine(
93 double p1[3],
double p2[3],
double X[3],
double tol );
95 void TransformPlane();
96 void TransformPoint(
double pIn[4],
double pOut[4] );
97 void InverseTransformPoint(
double pIn[4],
double pOut[4] );
represent and manipulate 4x4 transformation matrices
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
generates a 2D reslice cursor polydata
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
provides thread-safe access to cells
superclass for 3D geometric pickers (uses ray cast)
a simple class to control print indentation
perform various plane computations
int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer) override
Perform pick operation with selection point provided.
ray-cast cell picker for the reslice cursor