 |
VTK
9.1.0
|
Go to the documentation of this file.
177 #ifndef vtkInteractorStyleImage_h
178 #define vtkInteractorStyleImage_h
180 #include "vtkInteractionStyleModule.h"
185 #define VTKIS_WINDOW_LEVEL 1024
186 #define VTKIS_SLICE 1025
190 #define VTKIS_IMAGE2D 2
191 #define VTKIS_IMAGE3D 3
192 #define VTKIS_IMAGE_SLICING 4
207 vtkGetVector2Macro(WindowLevelStartPosition,
int);
208 vtkGetVector2Macro(WindowLevelCurrentPosition,
int);
254 vtkGetMacro(InteractionMode,
int);
265 vtkSetVector3Macro(XViewRightVector,
double);
266 vtkGetVector3Macro(XViewRightVector,
double);
267 vtkSetVector3Macro(XViewUpVector,
double);
268 vtkGetVector3Macro(XViewUpVector,
double);
269 vtkSetVector3Macro(YViewRightVector,
double);
270 vtkGetVector3Macro(YViewRightVector,
double);
271 vtkSetVector3Macro(YViewUpVector,
double);
272 vtkGetVector3Macro(YViewUpVector,
double);
273 vtkSetVector3Macro(ZViewRightVector,
double);
274 vtkGetVector3Macro(ZViewRightVector,
double);
275 vtkSetVector3Macro(ZViewUpVector,
double);
276 vtkGetVector3Macro(ZViewUpVector,
double);
315 int WindowLevelStartPosition[2];
316 int WindowLevelCurrentPosition[2];
317 double WindowLevelInitial[2];
322 double XViewRightVector[3];
323 double XViewUpVector[3];
324 double YViewRightVector[3];
325 double YViewUpVector[3];
326 double ZViewRightVector[3];
327 double ZViewUpVector[3];
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTKIS_IMAGE_SLICING
void OnRightButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void OnRightButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void OnLeftButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
virtual void SetCurrentImageNumber(int i)
Set the image to use for WindowLevel interaction.
void SetInteractionModeToImageSlicing()
Set/Get current mode to 2D or 3D.
void OnMiddleButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void SetInteractionModeToImage2D()
Set/Get current mode to 2D or 3D.
interactive manipulation of the camera specialized for images
static vtkInteractorStyleImage * New()
virtual void WindowLevel()
~vtkInteractorStyleImage() override
vtkImageProperty * GetCurrentImageProperty()
Get the current image property, which is set when StartWindowLevel is called immediately before Start...
virtual void StartWindowLevel()
a simple class to control print indentation
vtkInteractorStyleImage()
void OnLeftButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
interactive manipulation of the camera
virtual void StartSlice()
void SetImageOrientation(const double leftToRight[3], const double bottomToTop[3])
Set the view orientation, in terms of the horizontal and vertical directions of the computer screen.
virtual void EndWindowLevel()
vtkImageProperty * CurrentImageProperty
void OnChar() override
Override the "fly-to" (f keypress) for images.
void OnMiddleButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
int GetCurrentImageNumber()
void SetInteractionModeToImage3D()
Set/Get current mode to 2D or 3D.
void OnMouseMove() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.