62#ifndef vtkInteractorStyleImage_h
63#define vtkInteractorStyleImage_h
65#include "vtkInteractionStyleModule.h"
70#define VTKIS_WINDOW_LEVEL 1024
71#define VTKIS_SLICE 1025
75#define VTKIS_IMAGE2D 2
76#define VTKIS_IMAGE3D 3
77#define VTKIS_IMAGE_SLICING 4
a simple class to control print indentation
double WindowLevelInitial[2]
virtual void StartWindowLevel()
void OnRightButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void SetInteractionModeToImage2D()
Set/Get current mode to 2D or 3D.
void SetInteractionModeToImageSlicing()
Set/Get current mode to 2D or 3D.
double YViewRightVector[3]
void OnMiddleButtonDown() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
~vtkInteractorStyleImage() override
int WindowLevelStartPosition[2]
double ZViewRightVector[3]
virtual void StartSlice()
void OnLeftButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.
void OnMiddleButtonUp() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
int WindowLevelCurrentPosition[2]
virtual void SetCurrentImageNumber(int i)
Set the image to use for WindowLevel interaction.
vtkImageProperty * CurrentImageProperty
void SetInteractionModeToImage3D()
Set/Get current mode to 2D or 3D.
static vtkInteractorStyleImage * New()
virtual void SetInteractionMode(int)
Set/Get current mode to 2D or 3D.
vtkImageProperty * GetCurrentImageProperty()
Get the current image property, which is set when StartWindowLevel is called immediately before Start...
vtkInteractorStyleImage()
void OnMouseMove() override
Event bindings controlling the effects of pressing mouse buttons or moving the mouse.
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()
void OnChar() override
Override the "fly-to" (f keypress) for images.
int GetCurrentImageNumber()
virtual void WindowLevel()
double XViewRightVector[3]
vtkInteractorStyleTrackballCamera()
#define VTKIS_IMAGE_SLICING