26 #ifndef __vtkResliceCursorRepresentation_h
27 #define __vtkResliceCursorRepresentation_h
62 vtkSetClampMacro(Tolerance,
int,1,100);
63 vtkGetMacro(Tolerance,
int);
68 vtkSetMacro( ShowReslicedImage,
int );
69 vtkGetMacro( ShowReslicedImage,
int );
70 vtkBooleanMacro( ShowReslicedImage,
int );
76 vtkSetMacro(RestrictPlaneToVolume,
int);
77 vtkGetMacro(RestrictPlaneToVolume,
int);
78 vtkBooleanMacro(RestrictPlaneToVolume,
int);
85 vtkSetStringMacro(ThicknessLabelFormat);
86 vtkGetStringMacro(ThicknessLabelFormat);
90 enum { Outside=0, NearCenter, NearAxis1, NearAxis2,
93 ResizeThickness, WindowLevelling };
97 virtual char* GetThicknessLabelText();
101 virtual double* GetThicknessLabelPosition();
102 virtual void GetThicknessLabelPosition(
double pos[3]);
103 virtual void GetWorldThicknessLabelPosition(
double pos[3]);
144 void SetWindowLevel(
double window,
double level,
int copy = 0);
145 void GetWindowLevel(
double wl[2]);
155 vtkSetMacro(DisplayText,
int);
156 vtkGetMacro(DisplayText,
int);
157 vtkBooleanMacro(DisplayText,
int);
170 vtkSetMacro( UseImageActor,
int );
171 vtkGetMacro( UseImageActor,
int );
172 vtkBooleanMacro( UseImageActor,
int );
178 void SetManipulationMode(
int m );
179 vtkGetMacro(ManipulationMode,
int);
185 void ActivateText(
int);
186 void ManageTextDisplay();
192 virtual void InitializeReslicePlane();
193 virtual void ResetCamera();
212 virtual void CreateDefaultResliceAlgorithm();
213 virtual void SetResliceParameters(
214 double outputSpacingX,
double outputSpacingY,
215 int extentX,
int extentY );
219 virtual void WindowLevel(
double x,
double y );
222 virtual void UpdateReslicePlane();
225 virtual void ComputeReslicePlaneOrigin();
235 void GetVector1(
double d[3] );
236 void GetVector2(
double d[3] );
273 double LastEventPosition[2];