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

vtkDataSetMapper Class Reference

map vtkDataSet and derived classes to graphics primitives. More...

#include <vtkDataSetMapper.h>

Inheritance diagram for vtkDataSetMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkDataSetMapper:

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 Render (vtkRenderer *ren, vtkActor *act)
virtual vtkPolyDataMapperGetPolyDataMapper ()
void ReleaseGraphicsResources (vtkWindow *)
unsigned long GetMTime ()
void SetInput (vtkDataSet *input)
void SetInput (vtkImageData *cache)
vtkDataSetGetInput ()

Static Public Methods

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

Protected Methods

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

Protected Attributes

vtkGeometryFilterGeometryExtractor
vtkPolyDataMapperPolyDataMapper

Detailed Description

map vtkDataSet and derived classes to graphics primitives.

Date:
2000/12/10 20:08:34
Revision:
1.46

vtkDataSetMapper is a mapper to map data sets (i.e., vtkDataSet and all derived classes) to graphics primitives. The mapping procedure is as follows: all 0D, 1D, and 2D cells are converted into points, lines, and polygons/triangle strips and then mapped to the graphics system. The 2D faces of 3D cells are mapped only if they are used by only one cell, i.e., on the boundary of the data set.

Examples:
vtkDataSetMapper (examples)


Member Function Documentation

virtual const char* vtkDataSetMapper::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 vtkMapper.

vtkDataSet* vtkDataSetMapper::GetInput  
 

Get the input as a vtkDataSet. This method is overridden in the specialized mapper classes to return more specific data types.

Reimplemented from vtkMapper.

unsigned long vtkDataSetMapper::GetMTime   [virtual]
 

Get the mtime also considering the lookup table.

Reimplemented from vtkMapper.

virtual vtkPolyDataMapper* vtkDataSetMapper::GetPolyDataMapper   [virtual]
 

Get the internal poly data mapper used to map data set to graphics system.

virtual int vtkDataSetMapper::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 vtkMapper.

int vtkDataSetMapper::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 vtkMapper.

vtkDataSetMapper* vtkDataSetMapper::New   [static]
 

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

Reimplemented from vtkProcessObject.

void vtkDataSetMapper::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 vtkMapper.

void vtkDataSetMapper::ReleaseGraphicsResources vtkWindow   [virtual]
 

Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkMapper.

void vtkDataSetMapper::Render vtkRenderer   ren,
vtkActor   act
[virtual]
 

Method initiates the mapping process. Generally sent by the actor as each frame is rendered.

Implements vtkMapper.

vtkDataSetMapper* vtkDataSetMapper::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 vtkMapper.

void vtkDataSetMapper::SetInput vtkDataSet   input
 

Set the Input of this mapper.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:24:42 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002