Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File 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)
virtual void RenderPiece (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 ()

Protected Attributes

int ListId

Detailed Description

a PolyDataMapper for the OpenGL library.

Date:
2001/10/11 13:38:18
Revision:
1.26

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

Events:
vtkCommand::StartEvent vtkCommand::EndEvent

Definition at line 71 of file vtkOpenGLPolyDataMapper.h.


Constructor & Destructor Documentation

vtkOpenGLPolyDataMapper::vtkOpenGLPolyDataMapper   [protected]
 

vtkOpenGLPolyDataMapper::~vtkOpenGLPolyDataMapper   [protected]
 


Member Function Documentation

vtkOpenGLPolyDataMapper* vtkOpenGLPolyDataMapper::New   [static]
 

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

Reimplemented from vtkPolyDataMapper.

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.

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.

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.

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.

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

Implement superclass render method.

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.

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

Draw method for OpenGL.

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.


Member Data Documentation

int vtkOpenGLPolyDataMapper::ListId [protected]
 

Definition at line 103 of file vtkOpenGLPolyDataMapper.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:37:33 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001