VTK
|
a class that renders hierarchical polygonal data More...
#include <vtkCompositePolyDataMapper.h>
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.
Definition at line 42 of file vtkCompositePolyDataMapper.h.
Reimplemented from vtkMapper.
Reimplemented in vtkHierarchicalPolyDataMapper.
Definition at line 47 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.
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 | ( | vtkObjectBase * | o | ) | [static] |
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.
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 57 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
virtual vtkPolyDataMapper* vtkCompositePolyDataMapper::MakeAMapper | ( | ) | [protected, virtual] |
BuildPolyDataMapper uses this for each mapper. It is broken out so we can change types.
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 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.