68 #ifndef vtkInteractorStyleImage_h
69 #define vtkInteractorStyleImage_h
71 #include "vtkInteractionStyleModule.h"
76 #define VTKIS_WINDOW_LEVEL 1024
77 #define VTKIS_SLICE 1025
81 #define VTKIS_IMAGE2D 2
82 #define VTKIS_IMAGE3D 3
83 #define VTKIS_IMAGE_SLICING 4
98 vtkGetVector2Macro(WindowLevelStartPosition,
int);
99 vtkGetVector2Macro(WindowLevelCurrentPosition,
int);
125 virtual void WindowLevel();
127 virtual void Slice();
130 virtual void StartWindowLevel();
131 virtual void EndWindowLevel();
132 virtual void StartPick();
133 virtual void EndPick();
134 virtual void StartSlice();
135 virtual void EndSlice();
145 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],
const double bottomToTop[3]);
191 virtual void SetCurrentImageNumber(
int i);
206 int WindowLevelStartPosition[2];
207 int WindowLevelCurrentPosition[2];
208 double WindowLevelInitial[2];
213 double XViewRightVector[3];
214 double XViewUpVector[3];
215 double YViewRightVector[3];
216 double YViewUpVector[3];
217 double ZViewRightVector[3];
218 double ZViewUpVector[3];