vtkImageViewer Class Reference
#include <vtkImageViewer.h>
Inheritance diagram for vtkImageViewer:
[legend]Collaboration diagram for vtkImageViewer:
[legend]List of all members.
Detailed Description
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
- Created by:
-
- CVS contributions (if > 5%):
- Law, Charles (39%)
- Martin, Ken (37%)
- Barre, Sebastien (13%)
- CVS logs (CVSweb):
.h (/Rendering/vtkImageViewer
.h)
.cxx (/Rendering/vtkImageViewer
.cxx)
- Examples:
- vtkImageViewer (Examples)
- Tests:
- vtkImageViewer (Tests)
Definition at line 56 of file vtkImageViewer.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkImageViewer::vtkImageViewer |
( |
|
) |
[protected] |
|
Member Function Documentation
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject. |
virtual const char* vtkImageViewer::GetClassName |
( |
|
) |
[virtual] |
|
int vtkImageViewer::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject. |
virtual int vtkImageViewer::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkObject. |
void vtkImageViewer::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkObject. |
char* vtkImageViewer::GetWindowName |
( |
|
) |
[inline] |
|
virtual void vtkImageViewer::Render |
( |
void |
|
) |
[virtual] |
|
|
Render the resulting image. |
void vtkImageViewer::SetInput |
( |
vtkImageData * |
in |
) |
[inline] |
|
int vtkImageViewer::GetWholeZMin |
( |
|
) |
[inline] |
|
|
What is the possible Min/ Max z slices available.
Definition at line 78 of file vtkImageViewer.h. |
int vtkImageViewer::GetWholeZMax |
( |
|
) |
[inline] |
|
|
What is the possible Min/ Max z slices available.
Definition at line 79 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 90 of file vtkImageViewer.h. |
double vtkImageViewer::GetColorLevel |
( |
|
) |
[inline] |
|
|
Sets window/level for mapping pixels to colors.
Definition at line 91 of file vtkImageViewer.h. |
void vtkImageViewer::SetColorWindow |
( |
double |
s |
) |
[inline] |
|
|
Sets window/level for mapping pixels to colors.
Definition at line 92 of file vtkImageViewer.h. |
void vtkImageViewer::SetColorLevel |
( |
double |
s |
) |
[inline] |
|
|
Sets window/level for mapping pixels to colors.
Definition at line 93 of file vtkImageViewer.h. |
void vtkImageViewer::SetDisplayId |
( |
void * |
a |
) |
[inline] |
|
void vtkImageViewer::SetWindowId |
( |
void * |
a |
) |
[inline] |
|
void vtkImageViewer::SetParentId |
( |
void * |
a |
) |
[inline] |
|
int vtkImageViewer::GetGrayScaleHint |
( |
|
) |
[inline] |
|
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems.
Definition at line 106 of file vtkImageViewer.h. |
void vtkImageViewer::SetGrayScaleHint |
( |
int |
vtkNotUsed(a) |
) |
[inline] |
|
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems.
Definition at line 108 of file vtkImageViewer.h. |
void vtkImageViewer::GrayScaleHintOn |
( |
|
) |
[inline] |
|
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems.
Definition at line 110 of file vtkImageViewer.h. |
void vtkImageViewer::GrayScaleHintOff |
( |
|
) |
[inline] |
|
|
By default this is a color viewer. GrayScaleHintOn will improve the appearance of gray scale images on some systems.
Definition at line 112 of file vtkImageViewer.h. |
int* vtkImageViewer::GetPosition |
( |
|
) |
[inline] |
|
|
Set/Get the position in screen coordinates of the rendering window.
Definition at line 118 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 119 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.
Definition at line 125 of file vtkImageViewer.h. |
void vtkImageViewer::SetSize |
( |
int |
a, |
|
|
int |
b |
|
) |
[inline] |
|
|
Set/Get the size of the window in screen coordinates.
Definition at line 126 of file vtkImageViewer.h. |
virtual void vtkImageViewer::SetSize |
( |
int |
a[2] |
) |
[virtual] |
|
|
Set/Get the size of the window in screen coordinates. |
virtual vtkRenderer* vtkImageViewer::GetRenderer |
( |
|
) |
[virtual] |
|
virtual vtkActor2D* vtkImageViewer::GetActor2D |
( |
|
) |
[virtual] |
|
|
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. |
Member Data Documentation
The documentation for this class was generated from the following file: