Go to the documentation of this file.
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
171 const double bottomToTop[3]);
180 return this->CurrentImageProperty; }
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];
#define VTKIS_IMAGE_SLICING
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkGetVector2Macro(name, type)
#define vtkSetVector3Macro(name, type)
virtual void OnMouseMove()
#define vtkTypeMacro(thisClass, superclass)
void SetInteractionModeToImageSlicing()
void SetInteractionModeToImage2D()
virtual void OnRightButtonUp()
interactive manipulation of the camera specialized for images
static vtkInteractorStyleImage * New()
#define VTKINTERACTIONSTYLE_EXPORT
virtual void OnLeftButtonUp()
virtual void OnMiddleButtonDown()
virtual void WindowLevel()
#define vtkSetClampMacro(name, type, min, max)
#define vtkGetVector3Macro(name, type)
vtkImageProperty * GetCurrentImageProperty()
virtual void StartWindowLevel()
a simple class to control print indentation
virtual void OnMiddleButtonUp()
virtual void OnLeftButtonDown()
vtkInteractorStyleImage()
#define vtkGetMacro(name, type)
~vtkInteractorStyleImage()
interactive manipulation of the camera
virtual void StartSlice()
void SetImageOrientation(const double leftToRight[3], const double bottomToTop[3])
virtual void EndWindowLevel()
vtkImageProperty * CurrentImageProperty
virtual void OnRightButtonDown()
void SetCurrentImageToNthImage(int i)
void SetInteractionModeToImage3D()