Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkXImageMapper Class Reference

2D image display support for X windows. More...

#include <vtkXImageMapper.h>

Inheritance diagram for vtkXImageMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkXImageMapper:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void RenderOverlay (vtkViewport *viewport, vtkActor2D *actor)
void RenderData (vtkViewport *viewport, vtkImageData *data, vtkActor2D *actor)
int GetXWindowDepth (vtkWindow *window)
void GetXWindowVisualId (vtkWindow *window, Visual *visualID)
int GetXWindowVisualClass (vtkWindow *window)
void GetXColors (int colors[])
void GetXWindowColorMasks (vtkWindow *window, unsigned long *rmask, unsigned long *gmask, unsigned long *bmask)
virtual int GetNumberOfColors ()

Static Public Methods

vtkXImageMapper * New ()
int IsTypeOf (const char *type)
vtkXImageMapper * SafeDownCast (vtkObject *o)

Protected Methods

 vtkXImageMapper ()
 ~vtkXImageMapper ()
 vtkXImageMapper (const vtkXImageMapper &)
void operator= (const vtkXImageMapper &)

Protected Attributes

XImage * Image
unsigned char * DataOut
int DataOutSize
int NumberOfColors

Detailed Description

2D image display support for X windows.

Date:
2000/12/10 20:09:15
Revision:
1.18
Thanks:
Thanks to Matt Turek who developed this class.
vtkXImageMapper is a concrete subclass of vtkImageMapper that renders images under X windows.

See also:
vtkImageMapper

Definition at line 69 of file vtkXImageMapper.h.


Constructor & Destructor Documentation

vtkXImageMapper::vtkXImageMapper   [protected]
 

vtkXImageMapper::~vtkXImageMapper   [protected]
 

vtkXImageMapper::vtkXImageMapper const vtkXImageMapper &    [inline, protected]
 

Definition at line 107 of file vtkXImageMapper.h.


Member Function Documentation

vtkXImageMapper* vtkXImageMapper::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageMapper.

virtual const char* vtkXImageMapper::GetClassName   [virtual]
 

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.

int vtkXImageMapper::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageMapper.

virtual int vtkXImageMapper::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageMapper.

vtkXImageMapper* vtkXImageMapper::SafeDownCast vtkObject   o [static]
 

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.

void vtkXImageMapper::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 vtkImageMapper.

void vtkXImageMapper::RenderOverlay vtkViewport   viewport,
vtkActor2D   actor
[inline, virtual]
 

Handle the render method.

Reimplemented from vtkMapper2D.

Definition at line 78 of file vtkXImageMapper.h.

void vtkXImageMapper::RenderData vtkViewport   viewport,
vtkImageData   data,
vtkActor2D   actor
[virtual]
 

Called by the Render function in vtkImageMapper. Actually draws the image to the screen.

Reimplemented from vtkImageMapper.

int vtkXImageMapper::GetXWindowDepth vtkWindow   window
 

Returns the depth of the X window

void vtkXImageMapper::GetXWindowVisualId vtkWindow   window,
Visual *    visualID
 

Returns the visual id of the window

int vtkXImageMapper::GetXWindowVisualClass vtkWindow   window
 

Returns the visual class of the window

void vtkXImageMapper::GetXColors int    colors[]
 

Returns a pseudo color mapping from 0 255 to 50 199

void vtkXImageMapper::GetXWindowColorMasks vtkWindow   window,
unsigned long *    rmask,
unsigned long *    gmask,
unsigned long *    bmask
 

Returns the color masks used by the window.

virtual int vtkXImageMapper::GetNumberOfColors   [virtual]
 

Gets the number of colors in the pseudo color map.

void vtkXImageMapper::operator= const vtkXImageMapper &    [inline, protected]
 

Definition at line 108 of file vtkXImageMapper.h.


Member Data Documentation

XImage* vtkXImageMapper::Image [protected]
 

Definition at line 110 of file vtkXImageMapper.h.

unsigned char* vtkXImageMapper::DataOut [protected]
 

Definition at line 111 of file vtkXImageMapper.h.

int vtkXImageMapper::DataOutSize [protected]
 

Definition at line 112 of file vtkXImageMapper.h.

int vtkXImageMapper::NumberOfColors [protected]
 

Definition at line 113 of file vtkXImageMapper.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:03:33 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001