60 #ifndef vtkImageViewer2_h
61 #define vtkImageViewer2_h
85 virtual const char *GetWindowName();
88 virtual void Render(
void);
101 SLICE_ORIENTATION_YZ = 0,
102 SLICE_ORIENTATION_XZ = 1,
103 SLICE_ORIENTATION_XY = 2
106 vtkGetMacro(SliceOrientation,
int);
119 vtkGetMacro(Slice,
int);
120 virtual void SetSlice(
int s);
132 virtual void UpdateDisplayExtent();
137 virtual int GetSliceMin();
138 virtual int GetSliceMax();
140 { this->GetSliceRange(range[0], range[1]); }
141 virtual void GetSliceRange(
int &min,
int &
max);
142 virtual int* GetSliceRange();
147 virtual double GetColorWindow();
148 virtual double GetColorLevel();
149 virtual void SetColorWindow(
double s);
150 virtual void SetColorLevel(
double s);
155 virtual void SetDisplayId(
void *a);
156 virtual void SetWindowId(
void *a);
157 virtual void SetParentId(
void *a);
162 virtual int* GetPosition();
163 virtual void SetPosition(
int a,
int b);
169 virtual int* GetSize();
170 virtual void SetSize(
int a,
int b);
197 virtual void SetOffScreenRendering(
int);
198 virtual int GetOffScreenRendering();
199 vtkBooleanMacro(OffScreenRendering,
int);
206 virtual void InstallPipeline();
207 virtual void UnInstallPipeline();
220 virtual void UpdateOrientation();
225 friend class vtkImageViewer2Callback;
abstract base class for most VTK objects
vtkImageMapToWindowLevelColors * WindowLevel
virtual void SetSliceOrientationToXY()
vtkRenderWindowInteractor * Interactor
map the input image through a lookup table and window / level it
virtual void SetRenderWindow(vtkRenderWindow *renwin)
abstract specification for renderers
virtual void SetPosition(int a[2])
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.
virtual void PrintSelf(ostream &os, vtkIndent indent)
#define VTKINTERACTIONIMAGE_EXPORT
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])
vtkWeakPointer< vtkRenderWindow > RenderWindow
create a window for renderers to draw into
vtkRenderWindow * RenderWindow
virtual void GetSliceRange(int range[2])
virtual void SetSliceOrientationToXZ()
vtkInteractorStyleImage * InteractorStyle
virtual void SetSliceOrientationToYZ()