#include <vtkCompositePolyDataMapper.h>
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.
Definition at line 41 of file vtkCompositePolyDataMapper.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 | Render (vtkRenderer *ren, vtkActor *a) |
void | ReleaseGraphicsResources (vtkWindow *) |
double * | GetBounds () |
void | GetBounds (double bounds[6]) |
Static Public Member Functions | |
static vtkCompositePolyDataMapper * | New () |
static int | IsTypeOf (const char *type) |
static vtkCompositePolyDataMapper * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkCompositePolyDataMapper () | |
~vtkCompositePolyDataMapper () | |
vtkExecutive * | CreateDefaultExecutive () |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
void | BuildPolyDataMapper () |
void | ComputeBounds () |
Protected Attributes | |
vtkTimeStamp | BoundsMTime |
vtkCompositePolyDataMapperInternals * | Internal |
vtkTimeStamp | InternalMappersBuildTime |
Reimplemented from vtkMapper.
Reimplemented in vtkHierarchicalPolyDataMapper.
Definition at line 46 of file vtkCompositePolyDataMapper.h.
vtkCompositePolyDataMapper::vtkCompositePolyDataMapper | ( | ) | [protected] |
vtkCompositePolyDataMapper::~vtkCompositePolyDataMapper | ( | ) | [protected] |
static vtkCompositePolyDataMapper* vtkCompositePolyDataMapper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkHierarchicalPolyDataMapper.
virtual const char* vtkCompositePolyDataMapper::GetClassName | ( | ) | [virtual] |
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.
static vtkCompositePolyDataMapper* vtkCompositePolyDataMapper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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.
double* vtkCompositePolyDataMapper::GetBounds | ( | ) | [virtual] |
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 56 of file vtkCompositePolyDataMapper.h.
void vtkCompositePolyDataMapper::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release the underlying resources associated with this mapper
Reimplemented from vtkMapper.
vtkExecutive* vtkCompositePolyDataMapper::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 vtkCompositePolyDataMapper::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [protected, virtual] |
Need to define the type of data handled by this mapper.
Reimplemented from vtkAlgorithm.
void vtkCompositePolyDataMapper::BuildPolyDataMapper | ( | ) | [protected] |
This is the build method for creating the internal polydata mapper that do the actual work
void vtkCompositePolyDataMapper::ComputeBounds | ( | ) | [protected] |
Need to loop over the hierarchy to compute bounds
vtkTimeStamp vtkCompositePolyDataMapper::BoundsMTime [protected] |
Time stamp for computation of bounds.
Definition at line 83 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 87 of file vtkCompositePolyDataMapper.h.
Time stamp for when we need to update the internal mappers
Definition at line 90 of file vtkCompositePolyDataMapper.h.