VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkOpenGLGlyph3DMapper Class Reference

vtkOpenGLGlyph3D on the GPU. More...

#include <vtkOpenGLGlyph3DMapper.h>

Inheritance diagram for vtkOpenGLGlyph3DMapper:
Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLGlyph3DMapper:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkGlyph3DMapper Superclass
typedef vtkGlyph3DMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkOpenGLGlyph3DMapperNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Render (vtkRenderer *ren, vtkActor *a)
virtual void ReleaseGraphicsResources (vtkWindow *window)
virtual int IsA (const char *type)
vtkOpenGLGlyph3DMapperNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Render (vtkRenderer *ren, vtkActor *a)
virtual void ReleaseGraphicsResources (vtkWindow *window)

Static Public Member Functions

static vtkOpenGLGlyph3DMapperNew ()
static int IsTypeOf (const char *type)
static vtkOpenGLGlyph3DMapperSafeDownCast (vtkObjectBase *o)
static vtkOpenGLGlyph3DMapperNew ()
static int IsTypeOf (const char *type)
static vtkOpenGLGlyph3DMapperSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkOpenGLGlyph3DMapper ()
 ~vtkOpenGLGlyph3DMapper ()
virtual void ReportReferences (vtkGarbageCollector *)
void CopyInformationToSubMapper (vtkPainterPolyDataMapper *)
void ReleaseList ()
virtual void UpdatePainterInformation ()
virtual vtkObjectBaseNewInstanceInternal () const
 vtkOpenGLGlyph3DMapper ()
 ~vtkOpenGLGlyph3DMapper ()
virtual void Render (vtkRenderer *, vtkActor *, vtkDataSet *)
void CopyInformationToSubMapper (vtkOpenGLGlyph3DHelper *)
void SetupColorMapper ()
virtual void RebuildStructures (vtkOpenGLGlyph3DMapperSubArray *entry, vtkIdType numPts, vtkActor *actor, vtkDataSet *dataset, vtkBitArray *maskArray, bool selecting_points)

Protected Attributes

vtkOpenGLGlyph3DMapperArray * SourceMappers
vtkWeakPointer< vtkWindowLastWindow
unsigned int DisplayListId
vtkScalarsToColorsPainterScalarsToColorsPainter
vtkInformationPainterInformation
vtkTimeStamp PainterUpdateTime
vtkMapperColorMapper
vtkOpenGLGlyph3DMapperArray * GlyphValues

Detailed Description

vtkOpenGLGlyph3D on the GPU.

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.

See also:
vtkOpenGLGlyph3D

Definition at line 39 of file vtkOpenGLGlyph3DMapper.h.


Member Typedef Documentation

Reimplemented from vtkGlyph3DMapper.

Definition at line 43 of file vtkOpenGLGlyph3DMapper.h.

Reimplemented from vtkGlyph3DMapper.

Definition at line 42 of file vtkOpenGLGlyph3DMapper.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

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.

Reimplemented from vtkGlyph3DMapper.

virtual vtkObjectBase* vtkOpenGLGlyph3DMapper::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkGlyph3DMapper.

Reimplemented from vtkGlyph3DMapper.

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::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.

virtual void vtkOpenGLGlyph3DMapper::ReportReferences ( vtkGarbageCollector ) [protected, virtual]

Take part in garbage collection.

Reimplemented from vtkAlgorithm.

Send mapper ivars to sub-mapper.

Precondition:
mapper_exists: mapper!=0

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.

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

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.

Reimplemented from vtkGlyph3DMapper.

virtual vtkObjectBase* vtkOpenGLGlyph3DMapper::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkGlyph3DMapper.

Reimplemented from vtkGlyph3DMapper.

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::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.

virtual void vtkOpenGLGlyph3DMapper::Render ( vtkRenderer ,
vtkActor ,
vtkDataSet  
) [protected, virtual]

Render setup

Send mapper ivars to sub-mapper.

Precondition:
mapper_exists: mapper != 0
virtual void vtkOpenGLGlyph3DMapper::RebuildStructures ( vtkOpenGLGlyph3DMapperSubArray *  entry,
vtkIdType  numPts,
vtkActor actor,
vtkDataSet dataset,
vtkBitArray maskArray,
bool  selecting_points 
) [protected, virtual]

Build data structures associated with


Member Data Documentation

vtkOpenGLGlyph3DMapperArray* vtkOpenGLGlyph3DMapper::SourceMappers [protected]

Definition at line 74 of file vtkOpenGLGlyph3DMapper.h.

Reimplemented from vtkAbstractMapper.

Definition at line 76 of file vtkOpenGLGlyph3DMapper.h.

Definition at line 78 of file vtkOpenGLGlyph3DMapper.h.

Definition at line 80 of file vtkOpenGLGlyph3DMapper.h.

Definition at line 81 of file vtkOpenGLGlyph3DMapper.h.

Definition at line 82 of file vtkOpenGLGlyph3DMapper.h.

Definition at line 67 of file vtkOpenGLGlyph3DMapper.h.

vtkOpenGLGlyph3DMapperArray* vtkOpenGLGlyph3DMapper::GlyphValues [protected]

Definition at line 71 of file vtkOpenGLGlyph3DMapper.h.


The documentation for this class was generated from the following files: