67 #ifndef __vtkInteractorStyleImage_h
68 #define __vtkInteractorStyleImage_h
74 #define VTKIS_WINDOW_LEVEL 1024
75 #define VTKIS_PICK 1025
76 #define VTKIS_SLICE 1026
80 #define VTKIS_IMAGE2D 2
81 #define VTKIS_IMAGE3D 3
82 #define VTKIS_IMAGE_SLICING 4
95 vtkGetVector2Macro(WindowLevelStartPosition,
int);
96 vtkGetVector2Macro(WindowLevelCurrentPosition,
int);
118 virtual void WindowLevel();
120 virtual void Slice();
123 virtual void StartWindowLevel();
124 virtual void EndWindowLevel();
125 virtual void StartPick();
126 virtual void EndPick();
127 virtual void StartSlice();
128 virtual void EndSlice();
136 vtkGetMacro(InteractionMode,
int);
148 vtkSetVector3Macro(XViewRightVector,
double);
149 vtkGetVector3Macro(XViewRightVector,
double);
150 vtkSetVector3Macro(XViewUpVector,
double);
151 vtkGetVector3Macro(XViewUpVector,
double);
152 vtkSetVector3Macro(YViewRightVector,
double);
153 vtkGetVector3Macro(YViewRightVector,
double);
154 vtkSetVector3Macro(YViewUpVector,
double);
155 vtkGetVector3Macro(YViewUpVector,
double);
156 vtkSetVector3Macro(ZViewRightVector,
double);
157 vtkGetVector3Macro(ZViewRightVector,
double);
158 vtkSetVector3Macro(ZViewUpVector,
double);
159 vtkGetVector3Macro(ZViewUpVector,
double);
169 void SetImageOrientation(
const double leftToRight[3],
170 const double bottomToTop[3]);
179 return this->CurrentImageProperty; }
186 void SetCurrentImageToNthImage(
int i);
188 int WindowLevelStartPosition[2];
189 int WindowLevelCurrentPosition[2];
190 double WindowLevelInitial[2];
194 double XViewRightVector[3];
195 double XViewUpVector[3];
196 double YViewRightVector[3];
197 double YViewUpVector[3];
198 double ZViewRightVector[3];
199 double ZViewUpVector[3];