#include <vtkImageMapper.h>
Inheritance diagram for vtkImageMapper:
vtkImageMapper provides 2D image display support for vtk. It is a Mapper2D subclass that can be associated with an Actor2D and placed within a RenderWindow or ImageWindow.
Definition at line 39 of file vtkImageMapper.h.
Public Types | |
typedef vtkMapper2D | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | RenderStart (vtkViewport *viewport, vtkActor2D *actor) |
unsigned long int | GetMTime () |
virtual void | SetColorWindow (double) |
virtual double | GetColorWindow () |
virtual void | SetColorLevel (double) |
virtual double | GetColorLevel () |
virtual void | SetZSlice (int) |
virtual int | GetZSlice () |
int | GetWholeZMin () |
int | GetWholeZMax () |
virtual void | RenderData (vtkViewport *, vtkImageData *, vtkActor2D *)=0 |
double | GetColorShift () |
double | GetColorScale () |
virtual void | SetInput (vtkImageData *input) |
vtkImageData * | GetInput () |
virtual void | SetRenderToRectangle (int) |
virtual int | GetRenderToRectangle () |
virtual void | RenderToRectangleOn () |
virtual void | RenderToRectangleOff () |
virtual void | SetUseCustomExtents (int) |
virtual int | GetUseCustomExtents () |
virtual void | UseCustomExtentsOn () |
virtual void | UseCustomExtentsOff () |
virtual void | SetCustomDisplayExtents (int data[]) |
virtual int * | GetCustomDisplayExtents () |
virtual void | GetCustomDisplayExtents (int data[4]) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageMapper * | SafeDownCast (vtkObject *o) |
static vtkImageMapper * | New () |
Public Attributes | |
int | DisplayExtent [6] |
Protected Member Functions | |
vtkImageMapper () | |
~vtkImageMapper () | |
virtual int | FillInputPortInformation (int, vtkInformation *) |
Protected Attributes | |
double | ColorWindow |
double | ColorLevel |
int | PositionAdjustment [2] |
int | ZSlice |
int | UseCustomExtents |
int | CustomDisplayExtents [4] |
int | RenderToRectangle |
|
Reimplemented from vtkMapper2D. Reimplemented in vtkMesaImageMapper, and vtkOpenGLImageMapper. Definition at line 42 of file vtkImageMapper.h. |
|
|
|
|
|
Reimplemented from vtkMapper2D. Reimplemented in vtkMesaImageMapper, and vtkOpenGLImageMapper. |
|
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 vtkMapper2D. Reimplemented in vtkMesaImageMapper, and vtkOpenGLImageMapper. |
|
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 vtkMapper2D. Reimplemented in vtkMesaImageMapper, and vtkOpenGLImageMapper. |
|
Reimplemented from vtkMapper2D. Reimplemented in vtkMesaImageMapper, and vtkOpenGLImageMapper. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkAlgorithm. Reimplemented in vtkMesaImageMapper, and vtkOpenGLImageMapper. |
|
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 vtkMapper2D. Reimplemented in vtkMesaImageMapper, and vtkOpenGLImageMapper. |
|
Override Modifiedtime as we have added a lookuptable Reimplemented from vtkAbstractMapper. |
|
Set/Get the window value for window/level |
|
Override Modifiedtime as we have added a lookuptable |
|
Set/Get the level value for window/level |
|
Set/Get the level value for window/level |
|
Set/Get the current slice number. The axis Z in ZSlice does not necessarily have any relation to the z axis of the data on disk. It is simply the axis orthogonal to the x,y, display plane. GetWholeZMax and Min are convenience methods for obtaining the number of slices that can be displayed. Again the number of slices is in reference to the display z axis, which is not necessarily the z axis on disk. (due to reformatting etc) |
|
Set/Get the current slice number. The axis Z in ZSlice does not necessarily have any relation to the z axis of the data on disk. It is simply the axis orthogonal to the x,y, display plane. GetWholeZMax and Min are convenience methods for obtaining the number of slices that can be displayed. Again the number of slices is in reference to the display z axis, which is not necessarily the z axis on disk. (due to reformatting etc) |
|
Set/Get the current slice number. The axis Z in ZSlice does not necessarily have any relation to the z axis of the data on disk. It is simply the axis orthogonal to the x,y, display plane. GetWholeZMax and Min are convenience methods for obtaining the number of slices that can be displayed. Again the number of slices is in reference to the display z axis, which is not necessarily the z axis on disk. (due to reformatting etc) |
|
Set/Get the current slice number. The axis Z in ZSlice does not necessarily have any relation to the z axis of the data on disk. It is simply the axis orthogonal to the x,y, display plane. GetWholeZMax and Min are convenience methods for obtaining the number of slices that can be displayed. Again the number of slices is in reference to the display z axis, which is not necessarily the z axis on disk. (due to reformatting etc) |
|
Draw the image to the screen. Referenced by vtkMesaImageMapper::RenderOpaqueGeometry(), and vtkOpenGLImageMapper::RenderOverlay(). |
|
Function called by Render to actually draw the image to to the screen Implemented in vtkMesaImageMapper, and vtkOpenGLImageMapper. |
|
Methods used internally for performing the Window/Level mapping. |
|
Function called by Render to actually draw the image to to the screen |
|
Set the Input of a filter. |
|
Set the Input of a filter. |
|
If RenderToRectangle is set (by default not), then the imagemapper will render the image into the rectangle supplied by the Actor2D's PositionCoordinate and Position2Coordinate |
|
If RenderToRectangle is set (by default not), then the imagemapper will render the image into the rectangle supplied by the Actor2D's PositionCoordinate and Position2Coordinate |
|
If RenderToRectangle is set (by default not), then the imagemapper will render the image into the rectangle supplied by the Actor2D's PositionCoordinate and Position2Coordinate |
|
If RenderToRectangle is set (by default not), then the imagemapper will render the image into the rectangle supplied by the Actor2D's PositionCoordinate and Position2Coordinate |
|
Usually, the entire image is displayed, if UseCustomExtents is set (by default not), then the region supplied in the CustomDisplayExtents is used in preference. Note that the Custom extents are x,y only and the zslice is still applied |
|
Usually, the entire image is displayed, if UseCustomExtents is set (by default not), then the region supplied in the CustomDisplayExtents is used in preference. Note that the Custom extents are x,y only and the zslice is still applied |
|
Usually, the entire image is displayed, if UseCustomExtents is set (by default not), then the region supplied in the CustomDisplayExtents is used in preference. Note that the Custom extents are x,y only and the zslice is still applied |
|
Usually, the entire image is displayed, if UseCustomExtents is set (by default not), then the region supplied in the CustomDisplayExtents is used in preference. Note that the Custom extents are x,y only and the zslice is still applied |
|
The image extents which should be displayed with UseCustomExtents Note that the Custom extents are x,y only and the zslice is still applied |
|
The image extents which should be displayed with UseCustomExtents Note that the Custom extents are x,y only and the zslice is still applied |
|
The image extents which should be displayed with UseCustomExtents Note that the Custom extents are x,y only and the zslice is still applied |
|
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. Reimplemented from vtkAlgorithm. |
|
Definition at line 88 of file vtkImageMapper.h. |
|
Definition at line 127 of file vtkImageMapper.h. |
|
Definition at line 128 of file vtkImageMapper.h. |
|
Definition at line 130 of file vtkImageMapper.h. |
|
Definition at line 131 of file vtkImageMapper.h. |
|
Definition at line 132 of file vtkImageMapper.h. |
|
Definition at line 133 of file vtkImageMapper.h. |
|
Definition at line 134 of file vtkImageMapper.h. |