#include <vtkImageMapper.h>
Inheritance diagram for vtkImageMapper:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
unsigned long int | GetMTime () |
virtual void | SetColorWindow (float) |
virtual float | GetColorWindow () |
virtual void | SetColorLevel (float) |
virtual float | GetColorLevel () |
virtual void | SetInput (vtkImageData *) |
virtual vtkImageData * | GetInput () |
virtual void | SetZSlice (int) |
virtual int | GetZSlice () |
int | GetWholeZMin () |
int | GetWholeZMax () |
void | RenderStart (vtkViewport *viewport, vtkActor2D *actor) |
virtual void | RenderData (vtkViewport *, vtkImageData *, vtkActor2D *)=0 |
float | GetColorShift () |
float | GetColorScale () |
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 Methods | |
int | IsTypeOf (const char *type) |
vtkImageMapper * | SafeDownCast (vtkObject *o) |
vtkImageMapper * | New () |
Public Attributes | |
int | DisplayExtent [6] |
Protected Methods | |
vtkImageMapper () | |
~vtkImageMapper () | |
vtkImageMapper (const vtkImageMapper &) | |
void | operator= (const vtkImageMapper &) |
Protected Attributes | |
vtkImageData * | Input |
float | ColorWindow |
float | ColorLevel |
int | PositionAdjustment [2] |
int | ZSlice |
int | UseCustomExtents |
int | CustomDisplayExtents [4] |
int | RenderToRectangle |
Definition at line 67 of file vtkImageMapper.h.
|
|
|
|
|
Definition at line 138 of file vtkImageMapper.h. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkMapper2D. Reimplemented in vtkMesaImageMapper, vtkOpenGLImageMapper, vtkWin32ImageMapper, and vtkXImageMapper. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkMapper2D. Reimplemented in vtkMesaImageMapper, vtkOpenGLImageMapper, vtkWin32ImageMapper, and vtkXImageMapper. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkMapper2D. Reimplemented in vtkMesaImageMapper, vtkOpenGLImageMapper, vtkWin32ImageMapper, and vtkXImageMapper. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkMapper2D. Reimplemented in vtkMesaImageMapper, vtkOpenGLImageMapper, vtkWin32ImageMapper, and vtkXImageMapper. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkMapper2D. Reimplemented in vtkMesaImageMapper, vtkOpenGLImageMapper, vtkWin32ImageMapper, and vtkXImageMapper. |
|
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 vtkWin32ImageMapper, and vtkXImageMapper. |
|
Override Modifiedtime as we have added a lookuptable Reimplemented from vtkObject. Reimplemented in vtkWin32ImageMapper. |
|
Set/Get the window value for window/level |
|
|
|
Set/Get the level value for window/level |
|
|
|
Set/Get the input for the image mapper. |
|
|
|
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 vtkOpenGLImageMapper::RenderOpaqueGeometry(), vtkMesaImageMapper::RenderOpaqueGeometry(), vtkXImageMapper::RenderOverlay(), and vtkWin32ImageMapper::RenderOverlay().
|
|
Function called by Render to actually draw the image to to the screen Reimplemented in vtkMesaImageMapper, vtkOpenGLImageMapper, vtkWin32ImageMapper, and vtkXImageMapper. |
|
Methods used internally for performing the Window/Level mapping. |
|
|
|
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 |
|
|
|
|
|
|
|
The image extents which should be displayed with UseCustomExtents Note that the Custom extents are x,y only and the zslice is still applied |
|
|
|
|
|
Definition at line 139 of file vtkImageMapper.h. |
|
Definition at line 112 of file vtkImageMapper.h. |
|
Definition at line 141 of file vtkImageMapper.h. |
|
Definition at line 142 of file vtkImageMapper.h. |
|
Definition at line 143 of file vtkImageMapper.h. |
|
Definition at line 145 of file vtkImageMapper.h. |
|
Definition at line 146 of file vtkImageMapper.h. |
|
Definition at line 147 of file vtkImageMapper.h. |
|
Definition at line 148 of file vtkImageMapper.h. |
|
Definition at line 149 of file vtkImageMapper.h. |