#include <vtkHierarchicalPolyDataMapper.h>
Inheritance diagram for vtkHierarchicalPolyDataMapper:
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.
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 | Render (vtkRenderer *ren, vtkActor *a) |
void | ReleaseGraphicsResources (vtkWindow *) |
double * | GetBounds () |
void | GetBounds (double bounds[6]) |
Static Public Member Functions | |
static vtkHierarchicalPolyDataMapper * | New () |
static int | IsTypeOf (const char *type) |
static vtkHierarchicalPolyDataMapper * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkHierarchicalPolyDataMapper () | |
~vtkHierarchicalPolyDataMapper () | |
vtkExecutive * | CreateDefaultExecutive () |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
void | BuildPolyDataMapper () |
void | ComputeBounds () |
Protected Attributes | |
vtkTimeStamp | BoundsMTime |
vtkHierarchicalPolyDataMapperInternals * | Internal |
vtkTimeStamp | InternalMappersBuildTime |
vtkHierarchicalPolyDataMapper::vtkHierarchicalPolyDataMapper | ( | ) | [protected] |
vtkHierarchicalPolyDataMapper::~vtkHierarchicalPolyDataMapper | ( | ) | [protected] |
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 | |||
) | [virtual] |
void vtkHierarchicalPolyDataMapper::Render | ( | vtkRenderer * | ren, | |
vtkActor * | a | |||
) | [virtual] |
Standard method for rendering a mapper. This method will be called by the actor.
Implements vtkMapper.
double* vtkHierarchicalPolyDataMapper::GetBounds | ( | ) | [virtual] |
void vtkHierarchicalPolyDataMapper::GetBounds | ( | double | bounds[6] | ) | [inline, virtual] |
Standard vtkProp method to get 3D bounds of a 3D prop
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
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.
Time stamp for when we need to update the internal mappers
Definition at line 94 of file vtkHierarchicalPolyDataMapper.h.