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