35 #ifndef vtkImageViewer_h
36 #define vtkImageViewer_h
38 #include "vtkInteractionImageModule.h"
62 virtual void Render(
void);
71 this->ImageMapper->SetInputConnection(input);};
86 int GetZSlice() {
return this->ImageMapper->GetZSlice();};
87 void SetZSlice(
int s) {this->ImageMapper->SetZSlice(s);};
115 virtual void SetPosition(
int a[2]);
124 virtual void SetSize(
int a[2]);
148 void SetOffScreenRendering(
int);
149 int GetOffScreenRendering();
150 void OffScreenRenderingOn();
151 void OffScreenRenderingOff();
166 friend class vtkImageViewerCallback;
int GetZSlice()
Set/Get the current Z Slice to display.
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a actor that draws 2D data
vtkImageMapper * ImageMapper
vtkRenderWindowInteractor * Interactor
void SetColorWindow(double s)
Sets window/level for mapping pixels to colors.
void SetWindowId(void *a)
These are here for using a tk window.
virtual void SetWindowId(void *)=0
Dummy stubs for vtkWindow API.
abstract specification for renderers
void SetParentId(void *a)
These are here for using a tk window.
vtkInteractorStyleImage * InteractorStyle
virtual void SetSize(int, int)
Set/Get the size of the window in screen coordinates in pixels.
double GetColorWindow()
Sets window/level for mapping pixels to colors.
Proxy object to connect input/output ports.
interactive manipulation of the camera specialized for images
void SetPosition(int a, int b)
Set/Get the position in screen coordinates of the rendering window.
platform-independent render window interaction including picking and frame rate control.
virtual void SetParentId(void *)=0
Dummy stubs for vtkWindow API.
Superclass for all sources, filters, and sinks in VTK.
vtkImageData * GetInput()
Set/Get the input to the viewer.
void SetColorLevel(double s)
Sets window/level for mapping pixels to colors.
a simple class to control print indentation
topologically and geometrically regular array of data
void SetZSlice(int s)
Set/Get the current Z Slice to display.
virtual void SetDisplayId(void *)=0
Dummy stubs for vtkWindow API.
char * GetWindowName()
Get name of rendering window.
int GetWholeZMin()
What is the possible Min/ Max z slices available.
int * GetPosition()
Set/Get the position in screen coordinates of the rendering window.
void SetSize(int a, int b)
Set/Get the size of the window in screen coordinates in pixels.
int * GetSize()
Set/Get the size of the window in screen coordinates in pixels.
virtual int * GetPosition()
Set/Get the position in screen coordinates of the rendering window.
vtkWeakPointer< vtkRenderWindow > RenderWindow
virtual char * GetWindowName()
Get name of rendering window.
virtual int * GetSize()
Set/Get the size of the window in screen coordinates in pixels.
create a window for renderers to draw into
double GetColorLevel()
Sets window/level for mapping pixels to colors.
vtkRenderWindow * RenderWindow
virtual void SetInputConnection(vtkAlgorithmOutput *input)
Set/Get the input to the viewer.
int GetWholeZMax()
What is the possible Min/ Max z slices available.
virtual void SetPosition(int, int)
Set/Get the position in screen coordinates of the rendering window.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void SetInputData(vtkImageData *in)
Set/Get the input to the viewer.
void SetDisplayId(void *a)
These are here for using a tk window.