26 #ifndef __vtkResliceCursorRepresentation_h
27 #define __vtkResliceCursorRepresentation_h
29 #include "vtkInteractionWidgetsModule.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);
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];