59 #ifndef vtkInteractorStyleImage_h
60 #define vtkInteractorStyleImage_h
62 #include "vtkInteractionStyleModule.h"
67 #define VTKIS_WINDOW_LEVEL 1024
68 #define VTKIS_SLICE 1025
72 #define VTKIS_IMAGE2D 2
73 #define VTKIS_IMAGE3D 3
74 #define VTKIS_IMAGE_SLICING 4
89 vtkGetVector2Macro(WindowLevelStartPosition,
int);
90 vtkGetVector2Macro(WindowLevelCurrentPosition,
int);
116 virtual void WindowLevel();
118 virtual void Slice();
121 virtual void StartWindowLevel();
122 virtual void EndWindowLevel();
123 virtual void StartPick();
124 virtual void EndPick();
125 virtual void StartSlice();
126 virtual void EndSlice();
136 vtkGetMacro(InteractionMode,
int);
150 vtkSetVector3Macro(XViewRightVector,
double);
151 vtkGetVector3Macro(XViewRightVector,
double);
152 vtkSetVector3Macro(XViewUpVector,
double);
153 vtkGetVector3Macro(XViewUpVector,
double);
154 vtkSetVector3Macro(YViewRightVector,
double);
155 vtkGetVector3Macro(YViewRightVector,
double);
156 vtkSetVector3Macro(YViewUpVector,
double);
157 vtkGetVector3Macro(YViewUpVector,
double);
158 vtkSetVector3Macro(ZViewRightVector,
double);
159 vtkGetVector3Macro(ZViewRightVector,
double);
160 vtkSetVector3Macro(ZViewUpVector,
double);
161 vtkGetVector3Macro(ZViewUpVector,
double);
173 void SetImageOrientation(
const double leftToRight[3],
174 const double bottomToTop[3]);
186 virtual void SetCurrentImageNumber(
int i);
196 return this->CurrentImageProperty; }
202 int WindowLevelStartPosition[2];
203 int WindowLevelCurrentPosition[2];
204 double WindowLevelInitial[2];
209 double XViewRightVector[3];
210 double XViewUpVector[3];
211 double YViewRightVector[3];
212 double YViewUpVector[3];
213 double ZViewRightVector[3];
214 double ZViewUpVector[3];