Display a 2d image.
More...
#include <vtkImageViewer.h>
Inherits vtkObject.
Display a 2d image.
vtkImageViewer is a convenience class for displaying a 2d image. It packages up the functionality found in vtkRenderWindow, vtkRenderer, vtkActor2D and vtkImageMapper into a single easy to use class. Behind the scenes these four classes are actually used to to provide the required functionality. vtkImageViewer is simply a wrapper around them.
- See Also
- vtkRenderWindow vtkRenderer vtkImageMapper vtkActor2D
- Examples:
- vtkImageViewer (Examples)
- Tests:
- vtkImageViewer (Tests)
Definition at line 45 of file vtkImageViewer.h.
vtkImageViewer::vtkImageViewer |
( |
| ) |
|
|
protected |
vtkImageViewer::~vtkImageViewer |
( |
| ) |
|
|
protected |
static int vtkImageViewer::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkImageViewer::IsA |
( |
const char * |
type | ) |
|
|
virtual |
static vtkImageViewer* vtkImageViewer::SafeDownCast |
( |
vtkObjectBase * |
o | ) |
|
|
static |
virtual vtkObjectBase* vtkImageViewer::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkImageViewer::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
char* vtkImageViewer::GetWindowName |
( |
| ) |
|
|
inline |
virtual void vtkImageViewer::Render |
( |
void |
| ) |
|
|
virtual |
Render the resulting image.
void vtkImageViewer::SetInputData |
( |
vtkImageData * |
in | ) |
|
|
inline |
vtkImageData* vtkImageViewer::GetInput |
( |
| ) |
|
|
inline |
int vtkImageViewer::GetWholeZMin |
( |
| ) |
|
|
inline |
What is the possible Min/ Max z slices available.
Definition at line 69 of file vtkImageViewer.h.
int vtkImageViewer::GetWholeZMax |
( |
| ) |
|
|
inline |
What is the possible Min/ Max z slices available.
Definition at line 70 of file vtkImageViewer.h.
int vtkImageViewer::GetZSlice |
( |
| ) |
|
|
inline |
void vtkImageViewer::SetZSlice |
( |
int |
s | ) |
|
|
inline |
double vtkImageViewer::GetColorWindow |
( |
| ) |
|
|
inline |
Sets window/level for mapping pixels to colors.
Definition at line 81 of file vtkImageViewer.h.
double vtkImageViewer::GetColorLevel |
( |
| ) |
|
|
inline |
Sets window/level for mapping pixels to colors.
Definition at line 82 of file vtkImageViewer.h.
void vtkImageViewer::SetColorWindow |
( |
double |
s | ) |
|
|
inline |
Sets window/level for mapping pixels to colors.
Definition at line 83 of file vtkImageViewer.h.
void vtkImageViewer::SetColorLevel |
( |
double |
s | ) |
|
|
inline |
Sets window/level for mapping pixels to colors.
Definition at line 84 of file vtkImageViewer.h.
void vtkImageViewer::SetDisplayId |
( |
void * |
a | ) |
|
|
inline |
void vtkImageViewer::SetWindowId |
( |
void * |
a | ) |
|
|
inline |
void vtkImageViewer::SetParentId |
( |
void * |
a | ) |
|
|
inline |
int* vtkImageViewer::GetPosition |
( |
| ) |
|
|
inline |
Set/Get the position in screen coordinates of the rendering window.
Definition at line 96 of file vtkImageViewer.h.
void vtkImageViewer::SetPosition |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inline |
Set/Get the position in screen coordinates of the rendering window.
Definition at line 97 of file vtkImageViewer.h.
virtual void vtkImageViewer::SetPosition |
( |
int |
a[2] | ) |
|
|
virtual |
Set/Get the position in screen coordinates of the rendering window.
int* vtkImageViewer::GetSize |
( |
| ) |
|
|
inline |
Set/Get the size of the window in screen coordinates in pixels.
Definition at line 103 of file vtkImageViewer.h.
void vtkImageViewer::SetSize |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inline |
Set/Get the size of the window in screen coordinates in pixels.
Definition at line 104 of file vtkImageViewer.h.
virtual void vtkImageViewer::SetSize |
( |
int |
a[2] | ) |
|
|
virtual |
Set/Get the size of the window in screen coordinates in pixels.
virtual vtkRenderWindow* vtkImageViewer::GetRenderWindow |
( |
| ) |
|
|
virtual |
virtual vtkRenderer* vtkImageViewer::GetRenderer |
( |
| ) |
|
|
virtual |
virtual vtkImageMapper* vtkImageViewer::GetImageMapper |
( |
| ) |
|
|
virtual |
virtual vtkActor2D* vtkImageViewer::GetActor2D |
( |
| ) |
|
|
virtual |
void vtkImageViewer::SetupInteractor |
( |
vtkRenderWindowInteractor * |
| ) |
|
Create and attach an interactor for this window
void vtkImageViewer::SetOffScreenRendering |
( |
int |
| ) |
|
Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render.
int vtkImageViewer::GetOffScreenRendering |
( |
| ) |
|
Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render.
void vtkImageViewer::OffScreenRenderingOn |
( |
| ) |
|
Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render.
void vtkImageViewer::OffScreenRenderingOff |
( |
| ) |
|
Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render.
friend class vtkImageViewerCallback |
|
friend |
vtkRenderWindow* vtkImageViewer::RenderWindow |
|
protected |
vtkRenderer* vtkImageViewer::Renderer |
|
protected |
vtkImageMapper* vtkImageViewer::ImageMapper |
|
protected |
vtkActor2D* vtkImageViewer::Actor2D |
|
protected |
int vtkImageViewer::FirstRender |
|
protected |
vtkRenderWindowInteractor* vtkImageViewer::Interactor |
|
protected |
The documentation for this class was generated from the following file: