67 #ifndef __vtkInteractorStyleImage_h
68 #define __vtkInteractorStyleImage_h
75 #define VTKIS_WINDOW_LEVEL 1024
76 #define VTKIS_PICK 1025
77 #define VTKIS_SLICE 1026
81 #define VTKIS_IMAGE2D 2
82 #define VTKIS_IMAGE3D 3
83 #define VTKIS_IMAGE_SLICING 4
119 virtual void WindowLevel();
121 virtual void Slice();
124 virtual void StartWindowLevel();
125 virtual void EndWindowLevel();
126 virtual void StartPick();
127 virtual void EndPick();
128 virtual void StartSlice();
129 virtual void EndSlice();
170 void SetImageOrientation(
const double leftToRight[3],
171 const double bottomToTop[3]);
180 return this->CurrentImageProperty; }
187 void SetCurrentImageToNthImage(
int i);
189 int WindowLevelStartPosition[2];
190 int WindowLevelCurrentPosition[2];
191 double WindowLevelInitial[2];
195 double XViewRightVector[3];
196 double XViewUpVector[3];
197 double YViewRightVector[3];
198 double YViewUpVector[3];
199 double ZViewRightVector[3];
200 double ZViewUpVector[3];
void PrintSelf(ostream &os, vtkIndent indent)
vtkImageProperty * GetCurrentImageProperty()
void SetInteractionModeToImage3D()
#define VTKINTERACTIONSTYLE_EXPORT
#define vtkGetMacro(name, type)
virtual void OnMiddleButtonUp()
#define vtkSetClampMacro(name, type, min, max)
virtual void OnRightButtonUp()
static vtkInteractorStyleTrackballCamera * New()
#define vtkTypeMacro(thisClass, superclass)
interactive manipulation of the camera specialized for images
virtual void OnLeftButtonDown()
void SetInteractionModeToImage2D()
vtkImageProperty * CurrentImageProperty
a simple class to control print indentation
virtual void OnMiddleButtonDown()
#define vtkGetVector3Macro(name, type)
virtual void OnMouseMove()
virtual void OnRightButtonDown()
#define VTKIS_IMAGE_SLICING
#define vtkGetVector2Macro(name, type)
interactive manipulation of the camera
virtual void OnLeftButtonUp()
void SetInteractionModeToImageSlicing()
#define vtkSetVector3Macro(name, type)