59 #ifndef __vtkImageViewer2_h
60 #define __vtkImageViewer2_h
81 virtual const char *GetWindowName();
84 virtual void Render(
void);
97 SLICE_ORIENTATION_YZ = 0,
98 SLICE_ORIENTATION_XZ = 1,
99 SLICE_ORIENTATION_XY = 2
102 vtkGetMacro(SliceOrientation,
int);
115 vtkGetMacro(Slice,
int);
116 virtual void SetSlice(
int s);
128 virtual void UpdateDisplayExtent();
133 virtual int GetSliceMin();
134 virtual int GetSliceMax();
136 { this->GetSliceRange(range[0], range[1]); }
137 virtual void GetSliceRange(
int &min,
int &
max);
138 virtual int* GetSliceRange();
143 virtual double GetColorWindow();
144 virtual double GetColorLevel();
145 virtual void SetColorWindow(
double s);
146 virtual void SetColorLevel(
double s);
151 virtual void SetDisplayId(
void *a);
152 virtual void SetWindowId(
void *a);
153 virtual void SetParentId(
void *a);
158 virtual int* GetPosition();
159 virtual void SetPosition(
int a,
int b);
165 virtual int* GetSize();
166 virtual void SetSize(
int a,
int b);
193 virtual void SetOffScreenRendering(
int);
194 virtual int GetOffScreenRendering();
195 vtkBooleanMacro(OffScreenRendering,
int);
199 VTK_LEGACY(
int GetWholeZMin());
202 VTK_LEGACY(
int GetWholeZMax());
205 VTK_LEGACY(
int GetZSlice());
208 VTK_LEGACY(
void SetZSlice(
int));
214 virtual void InstallPipeline();
215 virtual void UnInstallPipeline();
228 virtual void UpdateOrientation();
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
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
virtual void PrintSelf(ostream &os, vtkIndent indent)
draw an image (data & properties) 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])
create a window for renderers to draw into
vtkRenderWindow * RenderWindow
virtual void GetSliceRange(int range[2])
virtual void SetSliceOrientationToXZ()
vtkInteractorStyleImage * InteractorStyle
virtual void SetSliceOrientationToYZ()