VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkCompositePolyDataMapper Class Reference

a class that renders hierarchical polygonal data More...

#include <vtkCompositePolyDataMapper.h>

Inheritance diagram for vtkCompositePolyDataMapper:
Inheritance graph
[legend]
Collaboration diagram for vtkCompositePolyDataMapper:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkCompositePolyDataMapperNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
void Render (vtkRenderer *ren, vtkActor *a)
void ReleaseGraphicsResources (vtkWindow *)
doubleGetBounds ()
void GetBounds (double bounds[6])

Static Public Member Functions

static vtkCompositePolyDataMapperNew ()
static int IsTypeOf (const char *type)
static vtkCompositePolyDataMapperSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkCompositePolyDataMapper ()
 ~vtkCompositePolyDataMapper ()
vtkExecutiveCreateDefaultExecutive ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
void BuildPolyDataMapper ()
virtual vtkPolyDataMapperMakeAMapper ()
void ComputeBounds ()

Protected Attributes

vtkTimeStamp BoundsMTime
vtkCompositePolyDataMapperInternals * Internal
vtkTimeStamp InternalMappersBuildTime

Detailed Description

a class that renders hierarchical polygonal data

This class uses a set of vtkPolyDataMappers to render input data which may be hierarchical. The input to this mapper may be either vtkPolyData or a vtkCompositeDataSet built from polydata. If something other than vtkPolyData is encountered, an error message will be produced.

See also:
vtkPolyDataMapper
Tests:
vtkCompositePolyDataMapper (Tests)

Definition at line 42 of file vtkCompositePolyDataMapper.h.


Member Typedef Documentation

Reimplemented from vtkMapper.

Reimplemented in vtkHierarchicalPolyDataMapper.

Definition at line 47 of file vtkCompositePolyDataMapper.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

Reimplemented in vtkHierarchicalPolyDataMapper.

static int vtkCompositePolyDataMapper::IsTypeOf ( const char *  name) [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 vtkHierarchicalPolyDataMapper.

virtual int vtkCompositePolyDataMapper::IsA ( const char *  name) [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 vtkHierarchicalPolyDataMapper.

Reimplemented from vtkMapper.

Reimplemented in vtkHierarchicalPolyDataMapper.

virtual vtkObjectBase* vtkCompositePolyDataMapper::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkMapper.

Reimplemented in vtkHierarchicalPolyDataMapper.

Reimplemented from vtkMapper.

Reimplemented in vtkHierarchicalPolyDataMapper.

virtual void vtkCompositePolyDataMapper::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.

Reimplemented in vtkHierarchicalPolyDataMapper.

void vtkCompositePolyDataMapper::Render ( vtkRenderer ren,
vtkActor a 
) [virtual]

Standard method for rendering a mapper. This method will be called by the actor.

Implements vtkMapper.

Standard vtkProp method to get 3D bounds of a 3D prop

Reimplemented from vtkMapper.

void vtkCompositePolyDataMapper::GetBounds ( double  bounds[6]) [inline, virtual]

Standard vtkProp method to get 3D bounds of a 3D prop

Reimplemented from vtkMapper.

Definition at line 57 of file vtkCompositePolyDataMapper.h.

Release the underlying resources associated with this mapper

Reimplemented from vtkMapper.

We need to override this method because the standard streaming demand driven pipeline is not what we want - we are expecting hierarchical data as input

Reimplemented from vtkAlgorithm.

virtual int vtkCompositePolyDataMapper::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Need to define the type of data handled by this mapper.

Reimplemented from vtkAlgorithm.

This is the build method for creating the internal polydata mapper that do the actual work

BuildPolyDataMapper uses this for each mapper. It is broken out so we can change types.

Need to loop over the hierarchy to compute bounds


Member Data Documentation

Time stamp for computation of bounds.

Definition at line 87 of file vtkCompositePolyDataMapper.h.

vtkCompositePolyDataMapperInternals* vtkCompositePolyDataMapper::Internal [protected]

These are the internal polydata mapper that do the rendering. We save then so that they can keep their display lists.

Definition at line 91 of file vtkCompositePolyDataMapper.h.

Time stamp for when we need to update the internal mappers

Definition at line 94 of file vtkCompositePolyDataMapper.h.


The documentation for this class was generated from the following file: