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

vtkPolyDataMapper Class Reference

map vtkPolyData to graphics primitives. More...

#include <vtkPolyDataMapper.h>

Inheritance diagram for vtkPolyDataMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkPolyDataMapper:

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)
virtual void Render (vtkRenderer *, vtkActor *)
void SetInput (vtkPolyData *in)
vtkPolyDataGetInput ()
void Update ()
virtual void SetPiece (int)
virtual int GetPiece ()
virtual void SetNumberOfPieces (int)
virtual int GetNumberOfPieces ()
virtual void SetGhostLevel (int)
virtual int GetGhostLevel ()

Static Public Methods

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

Protected Methods

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

Protected Attributes

int Piece
int NumberOfPieces
int GhostLevel

Detailed Description

map vtkPolyData to graphics primitives.

Date:
2000/12/10 20:08:47
Revision:
1.20

vtkPolyDataMapper is a class that maps polygonal data (i.e., vtkPolyData) to graphics primitives. vtkPolyDataMapper serves as a superclass for device-specific poly data mappers, that actually do the mapping to the rendering/graphics hardware/software.

Examples:
vtkPolyDataMapper (examples)


Member Function Documentation

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

Reimplemented in vtkMesaPolyDataMapper.

vtkPolyData* vtkPolyDataMapper::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.

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

Reimplemented in vtkMesaPolyDataMapper.

int vtkPolyDataMapper::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.

Reimplemented in vtkMesaPolyDataMapper.

vtkPolyDataMapper* vtkPolyDataMapper::New   [static]
 

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

Reimplemented from vtkProcessObject.

Reimplemented in vtkMesaPolyDataMapper.

void vtkPolyDataMapper::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.

virtual void vtkPolyDataMapper::Render vtkRenderer  ,
vtkActor  
[inline, virtual]
 

Implement required Render method. Just a dummy routine here.

Implements vtkMapper.

Reimplemented in vtkMesaPolyDataMapper.

vtkPolyDataMapper* vtkPolyDataMapper::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.

Reimplemented in vtkMesaPolyDataMapper.

virtual void vtkPolyDataMapper::SetGhostLevel int    [virtual]
 

Set the number of ghost cells to return.

void vtkPolyDataMapper::SetInput vtkPolyData   in
 

Specify the input data to map.

virtual void vtkPolyDataMapper::SetPiece int    [virtual]
 

If you want only a part of the data, specify by setting the piece.

void vtkPolyDataMapper::Update   [virtual]
 

Update that sets the update piece first.

Reimplemented from vtkMapper.


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