27 #ifndef vtkResliceCursorRepresentation_h
28 #define vtkResliceCursorRepresentation_h
30 #include "vtkInteractionWidgetsModule.h"
68 vtkSetClampMacro(Tolerance,
int,1,100);
69 vtkGetMacro(Tolerance,
int);
77 vtkGetMacro( ShowReslicedImage,
int );
87 vtkGetMacro(RestrictPlaneToVolume,
int);
97 vtkSetStringMacro(ThicknessLabelFormat);
102 enum { Outside=0, NearCenter, NearAxis1, NearAxis2,
105 ResizeThickness, WindowLevelling };
110 virtual char* GetThicknessLabelText();
116 virtual double* GetThicknessLabelPosition();
117 virtual void GetThicknessLabelPosition(
double pos[3]);
118 virtual void GetWorldThicknessLabelPosition(
double pos[3]);
171 void SetWindowLevel(
double window,
double level,
int copy = 0);
172 void GetWindowLevel(
double wl[2]);
185 vtkGetMacro(DisplayText,
int);
203 vtkGetMacro( UseImageActor,
int );
212 void SetManipulationMode(
int m );
213 vtkGetMacro(ManipulationMode,
int);
222 void ActivateText(
int);
223 void ManageTextDisplay();
231 virtual void InitializeReslicePlane();
232 virtual void ResetCamera();
257 virtual void CreateDefaultResliceAlgorithm();
258 virtual void SetResliceParameters(
259 double outputSpacingX,
double outputSpacingY,
260 int extentX,
int extentY );
266 virtual void WindowLevel(
double x,
double y );
271 virtual void UpdateReslicePlane();
276 virtual void ComputeReslicePlaneOrigin();
286 void GetVector1(
double d[3] );
287 void GetVector2(
double d[3] );
326 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 RestrictPlaneToVolume
int ManipulationMode
The widget sets the manipulation mode.
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
handles properties associated with a texture map
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
represent text properties.
Reslices a volume along a new set of axes.
create an array of quadrilaterals located in a plane
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Generic algorithm superclass for image algs.
double GetLevel()
Set/Get the current window and level values.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkImageActor * ImageActor
vtkTextProperty * ThicknessTextProperty
vtkScalarsToColors * LookupTable
represent the vtkResliceCursorWidget
Geometry for a reslice cursor.