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);
135 vtkGetMacro(Slice,
int);
136 virtual void SetSlice(
int s);
151 virtual void UpdateDisplayExtent();
158 virtual int GetSliceMin();
159 virtual int GetSliceMax();
161 virtual void GetSliceRange(
int& min,
int&
max);
162 virtual int* GetSliceRange();
169 virtual double GetColorWindow();
170 virtual double GetColorLevel();
171 virtual void SetColorWindow(
double s);
172 virtual void SetColorLevel(
double s);
179 virtual void SetDisplayId(
void* a);
180 virtual void SetWindowId(
void* a);
181 virtual void SetParentId(
void* a);
196 virtual
void SetPosition(
int x,
int y);
197 virtual
void SetPosition(
int a[2]) { this->
SetPosition(a[0], a[1]); }
215 virtual
void SetSize(
int width,
int height);
216 virtual
void SetSize(
int a[2]) { this->
SetSize(a[0], a[1]); }
259 virtual void InstallPipeline();
260 virtual void UnInstallPipeline();
273 virtual void UpdateOrientation();
278 friend class vtkImageViewer2Callback;
abstract base class for most VTK objects
vtkImageMapToWindowLevelColors * WindowLevel
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetSliceOrientationToXY()
vtkRenderWindowInteractor * Interactor
Map an image through a lookup table and/or a window/level.
abstract specification for renderers
virtual void SetPosition(int a[2])
Get the position (x and y) of the rendering window in screen coordinates (in pixels).
Proxy object to connect input/output ports.
interactive manipulation of the camera specialized for images
platform-independent render window interaction including picking and frame rate control.
vtkImageActor * ImageActor
Superclass for all sources, filters, and sinks in VTK.
draw an image in a rendered 3D scene
a simple class to control print indentation
topologically and geometrically regular array of data
virtual void SetSize(int a[2])
Get the size (width and height) of the rendering window in screen coordinates (in pixels)...
#define VTK_SIZEHINT(...)
create a window for renderers to draw into
vtkRenderWindow * RenderWindow
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void GetSliceRange(int range[2])
Return the minimum and maximum slice values (depending on the orientation this can be in X...
virtual void SetSliceOrientationToXZ()
vtkInteractorStyleImage * InteractorStyle
virtual void SetSliceOrientationToYZ()