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];