GL_Mesh Class Reference

#include <basic/opengl/GL_Mesh.h>

Inherits Mesh, and OpenGLInterface.

Inheritance diagram for GL_Mesh:

Inheritance graph
[legend]
Collaboration diagram for GL_Mesh:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 GL_Mesh (FrameManager *frameManager)
 GL_Mesh (const GL_Mesh &right)
 GL_Mesh (const IGS_MeshTri &right)
virtual ~GL_Mesh ()
virtual EntityClone () const
void ComputeNormals () const

Protected Member Functions

virtual bool DrawExplicit () const

Protected Attributes

std::vector< Vector4normals

Detailed Description

Definition at line 39 of file GL_Mesh.h.


Constructor & Destructor Documentation

GL_Mesh::GL_Mesh FrameManager frameManager  ) 
 

Definition at line 33 of file GL_Mesh.cpp.

Referenced by Clone().

GL_Mesh::GL_Mesh const GL_Mesh right  ) 
 

Definition at line 38 of file GL_Mesh.cpp.

GL_Mesh::GL_Mesh const IGS_MeshTri right  ) 
 

Definition at line 48 of file GL_Mesh.cpp.

References ComputeNormals().

Here is the call graph for this function:

GL_Mesh::~GL_Mesh  )  [virtual]
 

Definition at line 56 of file GL_Mesh.cpp.

References OpenGLInterface::displayListNumber.


Member Function Documentation

Entity * GL_Mesh::Clone  )  const [virtual]
 

Reimplemented from Mesh.

Definition at line 71 of file GL_Mesh.cpp.

References GL_Mesh().

Here is the call graph for this function:

void GL_Mesh::ComputeNormals  )  const
 

Definition at line 78 of file GL_Mesh.cpp.

References Mesh::facets, Vector4::Normalize(), normals, and Mesh::vertexes.

Referenced by DrawExplicit(), and GL_Mesh().

Here is the call graph for this function:

bool GL_Mesh::DrawExplicit  )  const [protected, virtual]
 

Implements OpenGLInterface.

Definition at line 110 of file GL_Mesh.cpp.

References ComputeNormals(), Mesh::facets, normals, and Mesh::Validate().

Here is the call graph for this function:


Member Data Documentation

std::vector<Vector4> GL_Mesh::normals [mutable, protected]
 

Definition at line 82 of file GL_Mesh.h.

Referenced by ComputeNormals(), and DrawExplicit().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 21:47:41 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO