Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkHierarchicalPolyDataMapper Class Reference

#include <vtkHierarchicalPolyDataMapper.h>

Inheritance diagram for vtkHierarchicalPolyDataMapper:

Inheritance graph
Collaboration diagram for vtkHierarchicalPolyDataMapper:

Collaboration graph
List of all members.

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 vtkHierarchicalDataSet built from polydata. If something other than vtkPolyData is encountered, an error message will be produced.

See also:
vtkHierarchicalPolyDataMapper (Examples)
vtkHierarchicalPolyDataMapper (Tests)

Definition at line 45 of file vtkHierarchicalPolyDataMapper.h.

Public Types

typedef vtkMapper Superclass

Public Member Functions

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

Static Public Member Functions

static vtkHierarchicalPolyDataMapperNew ()
static int IsTypeOf (const char *type)
static vtkHierarchicalPolyDataMapperSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkHierarchicalPolyDataMapper ()
 ~vtkHierarchicalPolyDataMapper ()
vtkExecutiveCreateDefaultExecutive ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
void BuildPolyDataMapper ()
void ComputeBounds ()

Protected Attributes

vtkTimeStamp BoundsMTime
vtkHierarchicalPolyDataMapperInternals * Internal
vtkTimeStamp InternalMappersBuildTime

Member Typedef Documentation

typedef vtkMapper vtkHierarchicalPolyDataMapper::Superclass

Reimplemented from vtkMapper.

Definition at line 50 of file vtkHierarchicalPolyDataMapper.h.

Constructor & Destructor Documentation

vtkHierarchicalPolyDataMapper::vtkHierarchicalPolyDataMapper  )  [protected]

vtkHierarchicalPolyDataMapper::~vtkHierarchicalPolyDataMapper  )  [protected]

Member Function Documentation

static vtkHierarchicalPolyDataMapper* vtkHierarchicalPolyDataMapper::New  )  [static]

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

Reimplemented from vtkAlgorithm.

virtual const char* vtkHierarchicalPolyDataMapper::GetClassName  )  [virtual]

Reimplemented from vtkMapper.

static int vtkHierarchicalPolyDataMapper::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkMapper.

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

Reimplemented from vtkMapper.

static vtkHierarchicalPolyDataMapper* vtkHierarchicalPolyDataMapper::SafeDownCast vtkObject o  )  [static]

Reimplemented from vtkMapper.

virtual void vtkHierarchicalPolyDataMapper::PrintSelf ostream &  os,
vtkIndent  indent

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 vtkHierarchicalPolyDataMapper::Render vtkRenderer ren,
vtkActor a

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

Implements vtkMapper.

double* vtkHierarchicalPolyDataMapper::GetBounds  )  [virtual]

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

Reimplemented from vtkMapper.

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

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

Reimplemented from vtkMapper.

Definition at line 60 of file vtkHierarchicalPolyDataMapper.h.

void vtkHierarchicalPolyDataMapper::ReleaseGraphicsResources vtkWindow  )  [virtual]

Release the underlying resources associated with this mapper

Reimplemented from vtkMapper.

vtkExecutive* vtkHierarchicalPolyDataMapper::CreateDefaultExecutive  )  [protected, virtual]

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 vtkHierarchicalPolyDataMapper::FillInputPortInformation int  port,
vtkInformation info
[protected, virtual]

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

Reimplemented from vtkAlgorithm.

void vtkHierarchicalPolyDataMapper::BuildPolyDataMapper  )  [protected]

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

void vtkHierarchicalPolyDataMapper::ComputeBounds  )  [protected]

Need to loop over the hierarchy to compute bounds

Member Data Documentation

vtkTimeStamp vtkHierarchicalPolyDataMapper::BoundsMTime [protected]

Time stamp for computation of bounds.

Definition at line 87 of file vtkHierarchicalPolyDataMapper.h.

vtkHierarchicalPolyDataMapperInternals* vtkHierarchicalPolyDataMapper::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 vtkHierarchicalPolyDataMapper.h.

vtkTimeStamp vtkHierarchicalPolyDataMapper::InternalMappersBuildTime [protected]

Time stamp for when we need to update the internal mappers

Definition at line 94 of file vtkHierarchicalPolyDataMapper.h.

The documentation for this class was generated from the following file:
Generated on Mon Jan 21 23:47:38 2008 for VTK by  doxygen 1.4.3-20050530