Go to the documentation of this file.
29 #ifndef vtkImageViewer_h
30 #define vtkImageViewer_h
32 #include "vtkInteractionImageModule.h"
56 virtual void Render(
void);
65 this->ImageMapper->SetInputConnection(input);};
80 int GetZSlice() {
return this->ImageMapper->GetZSlice();};
81 void SetZSlice(
int s) {this->ImageMapper->SetZSlice(s);};
99 void SetWindowId(
void *a) {this->RenderWindow->SetWindowId(a);};
108 void SetPosition(
int a,
int b) {this->RenderWindow->SetPosition(a,b);};
109 virtual void SetPosition(
int a[2]);
117 void SetSize(
int a,
int b) {this->RenderWindow->SetSize(a,b);};
118 virtual void SetSize(
int a[2]);
143 void SetOffScreenRendering(
int);
144 int GetOffScreenRendering();
145 void OffScreenRenderingOn();
146 void OffScreenRenderingOff();
161 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.
int GetZSlice()
Set/Get the current Z Slice to display.
Superclass for all sources, filters, and sinks in VTK.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
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)
double GetColorWindow()
Sets window/level for mapping pixels to colors.
void SetPosition(int a, int b)
#define VTK_SIZEHINT(...)
void SetParentId(void *a)
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.
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()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
platform-independent render window interaction including picking and frame rate control.
vtkRenderWindow * RenderWindow
a actor that draws 2D data
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