27 #ifndef vtkResliceCursorRepresentation_h 28 #define vtkResliceCursorRepresentation_h 30 #include "vtkInteractionWidgetsModule.h" 52 #define VTK_RESLICE_CURSOR_REPRESENTATION_MAX_TEXTBUFF 128 71 vtkSetClampMacro(Tolerance,
int, 1, 100);
72 vtkGetMacro(Tolerance,
int);
91 vtkBooleanMacro(RestrictPlaneToVolume,
vtkTypeBool);
100 vtkSetStringMacro(ThicknessLabelFormat);
101 vtkGetStringMacro(ThicknessLabelFormat);
127 virtual char* GetThicknessLabelText();
133 virtual double* GetThicknessLabelPosition();
134 virtual void GetThicknessLabelPosition(
double pos[3]);
135 virtual void GetWorldThicknessLabelPosition(
double pos[3]);
188 void SetWindowLevel(
double window,
double level,
int copy = 0);
189 void GetWindowLevel(
double wl[2]);
229 void SetManipulationMode(
int m);
230 vtkGetMacro(ManipulationMode,
int);
239 void ActivateText(
int);
240 void ManageTextDisplay();
248 virtual void InitializeReslicePlane();
249 virtual void ResetCamera();
274 virtual void CreateDefaultResliceAlgorithm();
275 virtual void SetResliceParameters(
276 double outputSpacingX,
double outputSpacingY,
int extentX,
int extentY);
282 virtual void WindowLevel(
double x,
double y);
287 virtual void UpdateReslicePlane();
292 virtual void ComputeReslicePlaneOrigin();
302 void GetVector1(
double d[3]);
303 void GetVector2(
double d[3]);
342 double LastEventPosition[2];
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.