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