32 #ifndef vtkResliceCursorLineRepresentation_h
33 #define vtkResliceCursorLineRepresentation_h
35 #include "vtkInteractionWidgetsModule.h"
66 int ComputeInteractionState(
int X,
int Y,
int modify=0) VTK_OVERRIDE;
67 void StartWidgetInteraction(
double startEventPos[2]) VTK_OVERRIDE;
68 void WidgetInteraction(
double e[2]) VTK_OVERRIDE;
69 void Highlight(
int highlightOn) VTK_OVERRIDE;
76 void ReleaseGraphicsResources(
vtkWindow *w) VTK_OVERRIDE;
77 int RenderOverlay(
vtkViewport *viewport) VTK_OVERRIDE;
78 int RenderOpaqueGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
79 int RenderTranslucentPolygonalGeometry(
vtkViewport *viewport) VTK_OVERRIDE;
80 int HasTranslucentPolygonalGeometry() VTK_OVERRIDE;
87 double * GetBounds() VTK_OVERRIDE;
109 ~vtkResliceCursorLineRepresentation() VTK_OVERRIDE;
113 double RotateAxis(
double evenPos[2],
int axis );
115 void RotateAxis(
int axis,
double angle );
117 void RotateVectorAboutVector(
double vectorToBeRotated[3],
121 int DisplayToReslicePlaneIntersection(
122 double displayPos[2],
double intersectionPos[3] );
124 vtkResliceCursorActor * ResliceCursorActor;
127 double StartPickPosition[3];
128 double StartCenterPosition[3];
138 vtkResliceCursorLineRepresentation(const vtkResliceCursorLineRepresentation&) VTK_DELETE_FUNCTION;
139 void operator=(const vtkResliceCursorLineRepresentation&) VTK_DELETE_FUNCTION;
represent and manipulate 4x4 transformation matrices
abstract specification for Viewports
generates a 2D reslice cursor polydata
concrete dataset represents vertices, lines, polygons, and triangle strips
void BuildRepresentation() override
These are methods that satisfy vtkWidgetRepresentation's API.
window superclass for vtkRenderWindow
a simple class to control print indentation
represent the vtkResliceCursorWidget
Represent a reslice cursor.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
ray-cast cell picker for the reslice cursor
represent the vtkResliceCursorWidget
Geometry for a reslice cursor.