33 #ifndef vtkResliceCursorPicker_h
34 #define vtkResliceCursorPicker_h
36 #include "vtkInteractionWidgetsModule.h"
58 int Pick(
double selectionX,
double selectionY,
double selectionZ,
vtkRenderer* renderer)
override;
64 vtkGetMacro(PickedAxis1,
int);
65 vtkGetMacro(PickedAxis2,
int);
66 vtkGetMacro(PickedCenter,
int);
89 virtual int IntersectPolyDataWithLine(
double p1[3],
double p2[3],
vtkPolyData*,
double tol);
90 virtual int IntersectPointWithLine(
double p1[3],
double p2[3],
double X[3],
double tol);
92 void TransformPlane();
93 void TransformPoint(
double pIn[4],
double pOut[4]);
94 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
vtkResliceCursorPolyDataAlgorithm * ResliceCursorAlgorithm
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
vtkMatrix4x4 * TransformMatrix
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