VTK
|
map vtkDataSet and derived classes to graphics primitives More...
#include <vtkDataSetMapper.h>
Public Types | |
typedef vtkMapper | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDataSetMapper * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Render (vtkRenderer *ren, vtkActor *act) |
void | ReleaseGraphicsResources (vtkWindow *) |
unsigned long | GetMTime () |
virtual vtkPolyDataMapper * | GetPolyDataMapper () |
void | SetInputData (vtkDataSet *input) |
vtkDataSet * | GetInput () |
Static Public Member Functions | |
static vtkDataSetMapper * | New () |
static int | IsTypeOf (const char *type) |
static vtkDataSetMapper * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDataSetMapper () | |
~vtkDataSetMapper () | |
virtual void | ReportReferences (vtkGarbageCollector *) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
Protected Attributes | |
vtkDataSetSurfaceFilter * | GeometryExtractor |
vtkPolyDataMapper * | PolyDataMapper |
map vtkDataSet and derived classes to graphics primitives
vtkDataSetMapper is a mapper to map data sets (i.e., vtkDataSet and all derived classes) to graphics primitives. The mapping procedure is as follows: all 0D, 1D, and 2D cells are converted into points, lines, and polygons/triangle strips and then mapped to the graphics system. The 2D faces of 3D cells are mapped only if they are used by only one cell, i.e., on the boundary of the data set.
Definition at line 41 of file vtkDataSetMapper.h.
Reimplemented from vtkMapper.
Definition at line 45 of file vtkDataSetMapper.h.
vtkDataSetMapper::vtkDataSetMapper | ( | ) | [protected] |
vtkDataSetMapper::~vtkDataSetMapper | ( | ) | [protected] |
static vtkDataSetMapper* vtkDataSetMapper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
static int vtkDataSetMapper::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.
virtual int vtkDataSetMapper::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.
static vtkDataSetMapper* vtkDataSetMapper::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkMapper.
virtual vtkObjectBase* vtkDataSetMapper::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkMapper.
vtkDataSetMapper* vtkDataSetMapper::NewInstance | ( | ) | const |
Reimplemented from vtkMapper.
void vtkDataSetMapper::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
void vtkDataSetMapper::Render | ( | vtkRenderer * | ren, |
vtkActor * | a | ||
) | [virtual] |
Method initiates the mapping process. Generally sent by the actor as each frame is rendered.
Implements vtkMapper.
virtual vtkPolyDataMapper* vtkDataSetMapper::GetPolyDataMapper | ( | ) | [virtual] |
Get the internal poly data mapper used to map data set to graphics system.
void vtkDataSetMapper::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkMapper.
unsigned long vtkDataSetMapper::GetMTime | ( | ) | [virtual] |
Get the mtime also considering the lookup table.
Reimplemented from vtkMapper.
void vtkDataSetMapper::SetInputData | ( | vtkDataSet * | input | ) |
Set the Input of this mapper.
Set the Input of this mapper.
Reimplemented from vtkMapper.
virtual void vtkDataSetMapper::ReportReferences | ( | vtkGarbageCollector * | ) | [protected, virtual] |
Reimplemented from vtkAlgorithm.
virtual int vtkDataSetMapper::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAlgorithm.
Definition at line 73 of file vtkDataSetMapper.h.
vtkPolyDataMapper* vtkDataSetMapper::PolyDataMapper [protected] |
Definition at line 74 of file vtkDataSetMapper.h.