#include <vtkWin32ImageMapper.h>
Inheritance diagram for vtkWin32ImageMapper:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | RenderOverlay (vtkViewport *viewport, vtkActor2D *actor) |
void | RenderData (vtkViewport *viewport, vtkImageData *data, vtkActor2D *actor) |
unsigned long int | GetMTime () |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetLookupTable (vtkLookupTable *) |
virtual vtkLookupTable * | GetLookupTable () |
Static Public Methods | |
vtkWin32ImageMapper * | New () |
int | IsTypeOf (const char *type) |
vtkWin32ImageMapper * | SafeDownCast (vtkObject *o) |
HBITMAP | CreateBitmapObject (HBITMAP oldBitmap, BITMAPINFO &dataHeader, HDC windowDC, unsigned char *&DataOut, vtkImageData *data, int width, int height) |
void | GenerateBitmapData (vtkImageData *data, void *inptr, unsigned char *DataOut, int dim, int DisplayExtent[6], float cwindow, float clevel, float cshift, float cscale, vtkLookupTable *lut) |
Public Attributes | |
unsigned char * | DataOut |
HBITMAP | HBitmap |
Protected Methods | |
vtkWin32ImageMapper () | |
~vtkWin32ImageMapper () | |
vtkWin32ImageMapper (const vtkWin32ImageMapper &) | |
void | operator= (const vtkWin32ImageMapper &) |
Protected Attributes | |
vtkLookupTable * | LookupTable |
Definition at line 63 of file vtkWin32ImageMapper.h.
|
|
|
|
|
Definition at line 116 of file vtkWin32ImageMapper.h. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkImageMapper. |
|
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 vtkImageMapper. |
|
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 vtkImageMapper. |
|
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 vtkImageMapper. |
|
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 vtkImageMapper. |
|
Handle the render method. Reimplemented from vtkMapper2D. Definition at line 70 of file vtkWin32ImageMapper.h. |
|
Called by the Render function in vtkImageMapper. Actually draws the image to the screen. Reimplemented from vtkImageMapper. |
|
Compute modified time including lookuptable Reimplemented from vtkImageMapper. |
|
standard Printself routine Reimplemented from vtkImageMapper. |
|
The ImageMappers convert ImageData into a greyscale image when a single scalar component is present. If a lookuptable is supplied, values are mapped through the lookuptable to generate a colour image. If the number of scalar components is greater then one, the lookuptable is ignored. If the lookuptable is NULL, a default greyscale image is generated. Users should ensure that the range of the lookuptable is {0,255} for full colour effects |
|
|
|
CreateBitmapObject and GenerateBitmapData are utility functions which allow one to hook into the display routines and provide the user with an easy way of converting an ImageData object into a windows bitmap object. They are also used internally by the mapper and should not be modified or used standalone alone without caution. |
|
|
|
Definition at line 117 of file vtkWin32ImageMapper.h. |
|
Definition at line 108 of file vtkWin32ImageMapper.h. |
|
Definition at line 109 of file vtkWin32ImageMapper.h. |
|
Definition at line 112 of file vtkWin32ImageMapper.h. |