Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

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 Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void Render (vtkRenderer *ren, vtkActor *a)
void ReleaseGraphicsResources (vtkWindow *)
virtual void Draw (vtkRenderer *ren, vtkActor *a)
GLenum GetLmcolorMode (vtkProperty *prop)

Static Public Methods

vtkOpenGLPolyDataMapper * New ()
int IsTypeOf (const char *type)
vtkOpenGLPolyDataMapper * SafeDownCast (vtkObject *o)

Protected Methods

 vtkOpenGLPolyDataMapper ()
 ~vtkOpenGLPolyDataMapper ()
 vtkOpenGLPolyDataMapper (const vtkOpenGLPolyDataMapper &)
void operator= (const vtkOpenGLPolyDataMapper &)

Protected Attributes

int ListId
vtkTimerLogTimer

Detailed Description

a PolyDataMapper for the OpenGL library.

Date:
2000/12/10 20:08:45
Revision:
1.19

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


Member Function Documentation

virtual void vtkOpenGLPolyDataMapper::Draw vtkRenderer   ren,
vtkActor   a
[virtual]
 

Draw method for OpenGL.

virtual const char* vtkOpenGLPolyDataMapper::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataMapper.

GLenum vtkOpenGLPolyDataMapper::GetLmcolorMode vtkProperty   prop
 

Get the lmcolor property, this is a pretty important little function. It determines how vertex colors will be handled in gl. When a PolyDataMapper has vertex colors it will use this method to determine what lmcolor mode to set.

virtual int vtkOpenGLPolyDataMapper::IsA const char *    type [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.

int vtkOpenGLPolyDataMapper::IsTypeOf const char *    type [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.

vtkOpenGLPolyDataMapper* vtkOpenGLPolyDataMapper::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from 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.

void vtkOpenGLPolyDataMapper::Render vtkRenderer   ren,
vtkActor   a
[virtual]
 

Implement superclass render method.

Reimplemented from vtkPolyDataMapper.

vtkOpenGLPolyDataMapper* vtkOpenGLPolyDataMapper::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataMapper.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:30:09 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002