26 #ifndef vtkResliceCursorRepresentation_h
27 #define vtkResliceCursorRepresentation_h
63 vtkSetClampMacro(Tolerance,
int,1,100);
64 vtkGetMacro(Tolerance,
int);
69 vtkSetMacro( ShowReslicedImage,
int );
70 vtkGetMacro( ShowReslicedImage,
int );
71 vtkBooleanMacro( ShowReslicedImage,
int );
77 vtkSetMacro(RestrictPlaneToVolume,
int);
78 vtkGetMacro(RestrictPlaneToVolume,
int);
79 vtkBooleanMacro(RestrictPlaneToVolume,
int);
86 vtkSetStringMacro(ThicknessLabelFormat);
87 vtkGetStringMacro(ThicknessLabelFormat);
91 enum { Outside=0, NearCenter, NearAxis1, NearAxis2,
94 ResizeThickness, WindowLevelling };
98 virtual char* GetThicknessLabelText();
102 virtual double* GetThicknessLabelPosition();
103 virtual void GetThicknessLabelPosition(
double pos[3]);
104 virtual void GetWorldThicknessLabelPosition(
double pos[3]);
145 void SetWindowLevel(
double window,
double level,
int copy = 0);
146 void GetWindowLevel(
double wl[2]);
156 vtkSetMacro(DisplayText,
int);
157 vtkGetMacro(DisplayText,
int);
158 vtkBooleanMacro(DisplayText,
int);
171 vtkSetMacro( UseImageActor,
int );
172 vtkGetMacro( UseImageActor,
int );
173 vtkBooleanMacro( UseImageActor,
int );
179 void SetManipulationMode(
int m );
180 vtkGetMacro(ManipulationMode,
int);
186 void ActivateText(
int);
187 void ManageTextDisplay();
193 virtual void InitializeReslicePlane();
194 virtual void ResetCamera();
213 virtual void CreateDefaultResliceAlgorithm();
214 virtual void SetResliceParameters(
215 double outputSpacingX,
double outputSpacingY,
216 int extentX,
int extentY );
220 virtual void WindowLevel(
double x,
double y );
223 virtual void UpdateReslicePlane();
226 virtual void ComputeReslicePlaneOrigin();
236 void GetVector1(
double d[3] );
237 void GetVector2(
double d[3] );
274 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
Superclass for mapping scalar values to colors.
An actor that displays text. Scaled or unscaled.
draw an image in a rendered 3D scene
a simple class to control print indentation
topologically and geometrically regular array of data
vtkPlaneSource * PlaneSource
perform various plane computations
map the input image through a lookup table
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
Generic algorithm superclass for image algs.
vtkImageActor * ImageActor
vtkTextProperty * ThicknessTextProperty
vtkScalarsToColors * LookupTable
represent the vtkResliceCursorWidget
Geometry for a reslice cursor.