58 #ifndef vtkImageViewer2_h 59 #define vtkImageViewer2_h 61 #include "vtkInteractionImageModule.h" 85 virtual const char *GetWindowName();
90 virtual void Render(
void);
107 SLICE_ORIENTATION_YZ = 0,
108 SLICE_ORIENTATION_XZ = 1,
109 SLICE_ORIENTATION_XY = 2
112 vtkGetMacro(SliceOrientation,
int);
126 vtkGetMacro(Slice,
int);
127 virtual void SetSlice(
int s);
142 virtual void UpdateDisplayExtent();
149 virtual int GetSliceMin();
150 virtual int GetSliceMax();
153 virtual void GetSliceRange(
int &min,
int &
max);
154 virtual int* GetSliceRange();
161 virtual double GetColorWindow();
162 virtual double GetColorLevel();
163 virtual void SetColorWindow(
double s);
164 virtual void SetColorLevel(
double s);
171 virtual void SetDisplayId(
void *a);
172 virtual void SetWindowId(
void *a);
173 virtual void SetParentId(
void *a);
181 virtual
void SetPosition(
int a,
int b);
182 virtual
void SetPosition(
int a[2]) { this->
SetPosition(a[0],a[1]); }
190 virtual
void SetSize(
int a,
int b);
191 virtual
void SetSize(
int a[2]) { this->
SetSize(a[0],a[1]); }
234 virtual void InstallPipeline();
235 virtual void UnInstallPipeline();
248 virtual void UpdateOrientation();
253 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 the input image through a lookup table and window / level it
abstract specification for renderers
virtual void SetPosition(int a[2])
Set/Get the position in screen coordinates of the rendering window.
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])
Set/Get the size of the 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()