Go to the documentation of this file.
61 #ifndef vtkImageViewer2_h
62 #define vtkImageViewer2_h
64 #include "vtkInteractionImageModule.h"
88 virtual const char *GetWindowName();
93 virtual void Render(
void);
110 SLICE_ORIENTATION_YZ = 0,
111 SLICE_ORIENTATION_XZ = 1,
112 SLICE_ORIENTATION_XY = 2
115 vtkGetMacro(SliceOrientation,
int);
129 vtkGetMacro(Slice,
int);
130 virtual void SetSlice(
int s);
145 virtual void UpdateDisplayExtent();
152 virtual int GetSliceMin();
153 virtual int GetSliceMax();
156 virtual void GetSliceRange(
int &min,
int &
max);
157 virtual int* GetSliceRange();
164 virtual double GetColorWindow();
165 virtual double GetColorLevel();
166 virtual void SetColorWindow(
double s);
167 virtual void SetColorLevel(
double s);
174 virtual void SetDisplayId(
void *a);
175 virtual void SetWindowId(
void *a);
176 virtual void SetParentId(
void *a);
184 virtual
void SetPosition(
int a,
int b);
185 virtual
void SetPosition(
int a[2]) { this->
SetPosition(a[0],a[1]); }
193 virtual
void SetSize(
int a,
int b);
194 virtual
void SetSize(
int a[2]) { this->
SetSize(a[0],a[1]); }
237 virtual void InstallPipeline();
238 virtual void UnInstallPipeline();
251 virtual void UpdateOrientation();
256 friend class vtkImageViewer2Callback;
vtkRenderWindowInteractor * Interactor
Superclass for all sources, filters, and sinks in VTK.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
interactive manipulation of the camera specialized for images
vtkImageMapToWindowLevelColors * WindowLevel
virtual void SetSliceOrientationToXY()
#define VTK_SIZEHINT(...)
Map an image through a lookup table and/or a window/level.
topologically and geometrically regular array of data
a simple class to control print indentation
virtual void SetPosition(int a[2])
virtual void SetSliceOrientationToXZ()
vtkImageActor * ImageActor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
platform-independent render window interaction including picking and frame rate control.
virtual void SetSize(int a[2])
vtkInteractorStyleImage * InteractorStyle
vtkRenderWindow * RenderWindow
Proxy object to connect input/output ports.
abstract specification for renderers
draw an image in a rendered 3D scene
create a window for renderers to draw into
virtual void SetSliceOrientationToYZ()
virtual void GetSliceRange(int range[2])