#include <vtkOpenGLGlyph3DMapper.h>
Do the same job than vtkGlyph3D but on the GPU. For this reason, it is a mapper not a vtkPolyDataAlgorithm. Also, some methods of vtkOpenGLGlyph3D don't make sense in vtkOpenGLGlyph3DMapper: GeneratePointIds, old-style SetSource, PointIdsName, IsPointVisible.
Definition at line 38 of file vtkOpenGLGlyph3DMapper.h.
Public Types | |
typedef vtkGlyph3DMapper | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | Render (vtkRenderer *ren, vtkActor *a) |
virtual void | ReleaseGraphicsResources (vtkWindow *window) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkOpenGLGlyph3DMapper * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLGlyph3DMapper * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkOpenGLGlyph3DMapper () | |
~vtkOpenGLGlyph3DMapper () | |
virtual void | ReportReferences (vtkGarbageCollector *collector) |
void | CopyInformationToSubMapper (vtkPainterPolyDataMapper *mapper) |
void | ReleaseList () |
virtual void | UpdatePainterInformation () |
Protected Attributes | |
vtkOpenGLGlyph3DMapperArray * | SourceMappers |
vtkWeakPointer< vtkWindow > | LastWindow |
unsigned int | DisplayListId |
vtkScalarsToColorsPainter * | ScalarsToColorsPainter |
vtkInformation * | PainterInformation |
vtkTimeStamp | PainterUpdateTime |
vtkOpenGLGlyph3DMapper::vtkOpenGLGlyph3DMapper | ( | ) | [protected] |
vtkOpenGLGlyph3DMapper::~vtkOpenGLGlyph3DMapper | ( | ) | [protected] |
static vtkOpenGLGlyph3DMapper* vtkOpenGLGlyph3DMapper::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkGlyph3DMapper.
virtual const char* vtkOpenGLGlyph3DMapper::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkGlyph3DMapper.
static int vtkOpenGLGlyph3DMapper::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 vtkGlyph3DMapper.
virtual int vtkOpenGLGlyph3DMapper::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 vtkGlyph3DMapper.
static vtkOpenGLGlyph3DMapper* vtkOpenGLGlyph3DMapper::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkGlyph3DMapper.
virtual void vtkOpenGLGlyph3DMapper::Render | ( | vtkRenderer * | ren, | |
vtkActor * | a | |||
) | [virtual] |
Method initiates the mapping process. Generally sent by the actor as each frame is rendered. Its behavior depends on the value of SelectMode.
Reimplemented from vtkGlyph3DMapper.
virtual void vtkOpenGLGlyph3DMapper::ReleaseGraphicsResources | ( | vtkWindow * | window | ) | [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.
void vtkOpenGLGlyph3DMapper::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 vtkGlyph3DMapper.
virtual void vtkOpenGLGlyph3DMapper::ReportReferences | ( | vtkGarbageCollector * | collector | ) | [protected, virtual] |
Take part in garbage collection.
Reimplemented from vtkAlgorithm.
void vtkOpenGLGlyph3DMapper::CopyInformationToSubMapper | ( | vtkPainterPolyDataMapper * | mapper | ) | [protected] |
Send mapper ivars to sub-mapper.
void vtkOpenGLGlyph3DMapper::ReleaseList | ( | ) | [protected] |
Release display list used for matrices and color.
virtual void vtkOpenGLGlyph3DMapper::UpdatePainterInformation | ( | ) | [protected, virtual] |
Called when the PainterInformation becomes obsolete. It is called before the Render is initiated on the Painter.
vtkOpenGLGlyph3DMapperArray* vtkOpenGLGlyph3DMapper::SourceMappers [protected] |
Definition at line 74 of file vtkOpenGLGlyph3DMapper.h.
vtkWeakPointer<vtkWindow> vtkOpenGLGlyph3DMapper::LastWindow [protected] |
unsigned int vtkOpenGLGlyph3DMapper::DisplayListId [protected] |
Definition at line 78 of file vtkOpenGLGlyph3DMapper.h.
Definition at line 80 of file vtkOpenGLGlyph3DMapper.h.
vtkInformation* vtkOpenGLGlyph3DMapper::PainterInformation [protected] |
Definition at line 81 of file vtkOpenGLGlyph3DMapper.h.
Definition at line 82 of file vtkOpenGLGlyph3DMapper.h.