vtkOpenGLPolyDataMapper Class Reference

#include <vtkOpenGLPolyDataMapper.h>

Inheritance diagram for vtkOpenGLPolyDataMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkOpenGLPolyDataMapper:

Collaboration graph
[legend]

List of all members.


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

Definition at line 40 of file vtkOpenGLPolyDataMapper.h.


Public Types

typedef vtkPolyDataMapper Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 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

Member Typedef Documentation

Reimplemented from vtkPolyDataMapper.

Definition at line 44 of file vtkOpenGLPolyDataMapper.h.


Constructor & Destructor Documentation

vtkOpenGLPolyDataMapper::vtkOpenGLPolyDataMapper (  )  [protected]

vtkOpenGLPolyDataMapper::~vtkOpenGLPolyDataMapper (  )  [protected]


Member Function Documentation

static vtkOpenGLPolyDataMapper* vtkOpenGLPolyDataMapper::New (  )  [static]

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

Reimplemented from vtkPolyDataMapper.

virtual const char* vtkOpenGLPolyDataMapper::GetClassName (  )  [virtual]

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataMapper.

static vtkOpenGLPolyDataMapper* vtkOpenGLPolyDataMapper::SafeDownCast ( vtkObject o  )  [static]

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.

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

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 104 of file vtkOpenGLPolyDataMapper.h.

Definition at line 105 of file vtkOpenGLPolyDataMapper.h.

Definition at line 106 of file vtkOpenGLPolyDataMapper.h.


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

Generated on Sat Dec 27 13:39:29 2008 for VTK by  doxygen 1.5.6