65 #ifndef vtkInteractorStyleImage_h
66 #define vtkInteractorStyleImage_h
68 #include "vtkInteractionStyleModule.h"
73 #define VTKIS_WINDOW_LEVEL 1024
74 #define VTKIS_SLICE 1025
78 #define VTKIS_IMAGE2D 2
79 #define VTKIS_IMAGE3D 3
80 #define VTKIS_IMAGE_SLICING 4
95 vtkGetVector2Macro(WindowLevelStartPosition,
int);
96 vtkGetVector2Macro(WindowLevelCurrentPosition,
int);
122 virtual void WindowLevel();
124 virtual void Slice();
127 virtual void StartWindowLevel();
128 virtual void EndWindowLevel();
129 virtual void StartPick();
130 virtual void EndPick();
131 virtual void StartSlice();
132 virtual void EndSlice();
142 vtkGetMacro(InteractionMode,
int);
156 vtkSetVector3Macro(XViewRightVector,
double);
157 vtkGetVector3Macro(XViewRightVector,
double);
158 vtkSetVector3Macro(XViewUpVector,
double);
159 vtkGetVector3Macro(XViewUpVector,
double);
160 vtkSetVector3Macro(YViewRightVector,
double);
161 vtkGetVector3Macro(YViewRightVector,
double);
162 vtkSetVector3Macro(YViewUpVector,
double);
163 vtkGetVector3Macro(YViewUpVector,
double);
164 vtkSetVector3Macro(ZViewRightVector,
double);
165 vtkGetVector3Macro(ZViewRightVector,
double);
166 vtkSetVector3Macro(ZViewUpVector,
double);
167 vtkGetVector3Macro(ZViewUpVector,
double);
179 void SetImageOrientation(
const double leftToRight[3],
180 const double bottomToTop[3]);
192 virtual void SetCurrentImageNumber(
int i);
202 return this->CurrentImageProperty; }
208 int WindowLevelStartPosition[2];
209 int WindowLevelCurrentPosition[2];
210 double WindowLevelInitial[2];
215 double XViewRightVector[3];
216 double XViewUpVector[3];
217 double YViewRightVector[3];
218 double YViewUpVector[3];
219 double ZViewRightVector[3];
220 double ZViewUpVector[3];