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

a PolyDataMapper for the OpenGL library More...

#include <vtkOpenGLPolyDataMapper.h>

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

List of all members.

Public Types

typedef vtkPolyDataMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkOpenGLPolyDataMapperNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void RenderPiece (vtkRenderer *ren, vtkActor *a)
void ReleaseGraphicsResources (vtkWindow *)
virtual int Draw (vtkRenderer *ren, vtkActor *a)

Static Public Member Functions

static vtkOpenGLPolyDataMapperNew ()
static int IsTypeOf (const char *type)
static vtkOpenGLPolyDataMapperSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkOpenGLPolyDataMapper ()
 ~vtkOpenGLPolyDataMapper ()
void DrawPoints (int idx, vtkPoints *p, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkIdType &cellNum, int &noAbort, vtkCellArray *ca, vtkRenderer *ren)
void DrawLines (int idx, vtkPoints *p, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkIdType &cellNum, int &noAbort, vtkCellArray *ca, vtkRenderer *ren)
void DrawPolygons (int idx, vtkPoints *p, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkIdType &cellNum, int &noAbort, GLenum rep, vtkCellArray *ca, vtkRenderer *ren)
void DrawTStrips (int idx, vtkPoints *p, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkIdType &cellNum, int &noAbort, GLenum rep, vtkCellArray *ca, vtkRenderer *ren)

Protected Attributes

vtkIdType TotalCells
int ListId
vtkOpenGLTextureInternalColorTexture

Detailed Description

a PolyDataMapper for the OpenGL library

vtkOpenGLPolyDataMapper is a subclass of vtkPolyDataMapper. vtkOpenGLPolyDataMapper is a geometric PolyDataMapper for the OpenGL rendering library.

Events:
vtkCommand::StartEvent vtkCommand::EndEvent
Tests:
vtkOpenGLPolyDataMapper (Tests)

Definition at line 44 of file vtkOpenGLPolyDataMapper.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataMapper.

Definition at line 48 of file vtkOpenGLPolyDataMapper.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 vtkPolyDataMapper.

static int vtkOpenGLPolyDataMapper::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 vtkPolyDataMapper.

virtual int vtkOpenGLPolyDataMapper::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 vtkPolyDataMapper.

Reimplemented from vtkPolyDataMapper.

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

Reimplemented from vtkPolyDataMapper.

Reimplemented from vtkPolyDataMapper.

virtual void vtkOpenGLPolyDataMapper::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 vtkPolyDataMapper.

virtual void vtkOpenGLPolyDataMapper::RenderPiece ( vtkRenderer ren,
vtkActor a 
) [virtual]

Implement superclass render method.

Implements vtkPolyDataMapper.

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 int vtkOpenGLPolyDataMapper::Draw ( vtkRenderer ren,
vtkActor a 
) [virtual]

Draw method for OpenGL.

void vtkOpenGLPolyDataMapper::DrawPoints ( int  idx,
vtkPoints p,
vtkDataArray n,
vtkUnsignedCharArray c,
vtkDataArray t,
vtkIdType cellNum,
int noAbort,
vtkCellArray ca,
vtkRenderer ren 
) [protected]
void vtkOpenGLPolyDataMapper::DrawLines ( int  idx,
vtkPoints p,
vtkDataArray n,
vtkUnsignedCharArray c,
vtkDataArray t,
vtkIdType cellNum,
int noAbort,
vtkCellArray ca,
vtkRenderer ren 
) [protected]
void vtkOpenGLPolyDataMapper::DrawPolygons ( int  idx,
vtkPoints p,
vtkDataArray n,
vtkUnsignedCharArray c,
vtkDataArray t,
vtkIdType cellNum,
int noAbort,
GLenum  rep,
vtkCellArray ca,
vtkRenderer ren 
) [protected]
void vtkOpenGLPolyDataMapper::DrawTStrips ( int  idx,
vtkPoints p,
vtkDataArray n,
vtkUnsignedCharArray c,
vtkDataArray t,
vtkIdType cellNum,
int noAbort,
GLenum  rep,
vtkCellArray ca,
vtkRenderer ren 
) [protected]

Member Data Documentation

Definition at line 108 of file vtkOpenGLPolyDataMapper.h.

Definition at line 109 of file vtkOpenGLPolyDataMapper.h.

Definition at line 110 of file vtkOpenGLPolyDataMapper.h.


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