18 #ifndef vtkResliceCursorRepresentation_h
19 #define vtkResliceCursorRepresentation_h
21 #include "vtkInteractionWidgetsModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
44 #define VTK_RESLICE_CURSOR_REPRESENTATION_MAX_TEXTBUFF 128
63 vtkSetClampMacro(Tolerance,
int, 1, 100);
64 vtkGetMacro(Tolerance,
int);
83 vtkBooleanMacro(RestrictPlaneToVolume,
vtkTypeBool);
92 vtkSetStringMacro(ThicknessLabelFormat);
93 vtkGetStringMacro(ThicknessLabelFormat);
120 virtual char* GetThicknessLabelText();
126 virtual double* GetThicknessLabelPosition();
127 virtual void GetThicknessLabelPosition(
double pos[3]);
128 virtual void GetWorldThicknessLabelPosition(
double pos[3]);
181 void SetWindowLevel(
double window,
double level,
int copy = 0);
182 void GetWindowLevel(
double wl[2]);
222 void SetManipulationMode(
int m);
223 vtkGetMacro(ManipulationMode,
int);
232 void ActivateText(
int);
233 void ManageTextDisplay();
241 virtual void InitializeReslicePlane();
242 virtual void ResetCamera();
263 static int BoundPlane(
double bounds[6],
double origin[3],
double p1[3],
double p2[3]);
270 static void TransformPlane(
vtkPlaneSource* planeToTransform,
double targetCenter[3],
271 double targetNormal[3],
double targetViewUp[3]);
282 virtual void CreateDefaultResliceAlgorithm();
283 virtual void SetResliceParameters(
284 double outputSpacingX,
double outputSpacingY,
int extentX,
int extentY);
290 virtual void WindowLevel(
double x,
double y);
295 virtual void UpdateReslicePlane();
300 virtual void ComputeReslicePlaneOrigin();
310 void GetVector1(
double d[3]);
311 void GetVector2(
double d[3]);
350 double LastEventPosition[2];
363 VTK_ABI_NAMESPACE_END
vtkMatrix4x4 * ResliceAxes
vtkMatrix4x4 * NewResliceAxes
represents an object (geometry & properties) in a rendered scene
vtkActor * TexturePlaneActor
represent and manipulate 4x4 transformation matrices
vtkImageAlgorithm * Reslice
vtkTextMapper * ThicknessTextMapper
vtkActor2D * ThicknessTextActor
generates a 2D reslice cursor polydata
a actor that draws 2D data
vtkImageMapToColors * ColorMap
char * ThicknessLabelFormat
int ManipulationMode
The widget sets the manipulation mode.
vtkTypeBool ShowReslicedImage
Superclass for mapping scalar values to colors.
An actor that displays text.
draw an image in a rendered 3D scene
a simple class to control print indentation
topologically and geometrically regular array of data
double GetWindow()
Set/Get the current window and level values.
vtkPlaneSource * PlaneSource
perform various plane computations
map the input image through a lookup table
#define VTK_RESLICE_CURSOR_REPRESENTATION_MAX_TEXTBUFF
vtkTypeBool RestrictPlaneToVolume
handles properties associated with a texture map
represent text properties.
Reslices a volume along a new set of axes.
create an array of quadrilaterals located in a plane
vtkTypeBool UseImageActor
Generic algorithm superclass for image algs.
double GetLevel()
Set/Get the current window and level values.
vtkImageActor * ImageActor
vtkTextProperty * ThicknessTextProperty
vtkScalarsToColors * LookupTable
represent the vtkResliceCursorWidget
Geometry for a reslice cursor.