IGS_MeshBase Class Reference

#include <basic/geometry/IGS/IGS_MeshBase.h>

Inherits IGS_Object.

Inherited by IGS_Mesh, and IGS_MeshTri.

Inheritance diagram for IGS_MeshBase:

Inheritance graph
[legend]
Collaboration diagram for IGS_MeshBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IGS_MeshBase ()
 IGS_MeshBase (const IGS_MeshBase &right)
virtual ~IGS_MeshBase ()
int AddNormal (const Vector4 &normal)
int AddVertexCoordinates (const Vector4 &vector)
const Vector4GetNormal (const int i) const
const int GetNumVertexes () const
const Vector4GetVertex (const int i) const

Protected Attributes

std::vector< Vector4m_Vertexes
std::vector< Vector4m_Normals

Detailed Description

Definition at line 31 of file IGS_MeshBase.h.


Constructor & Destructor Documentation

IGS_MeshBase::IGS_MeshBase  ) 
 

Definition at line 8 of file IGS_MeshBase.cpp.

IGS_MeshBase::IGS_MeshBase const IGS_MeshBase right  ) 
 

Definition at line 18 of file IGS_MeshBase.cpp.

IGS_MeshBase::~IGS_MeshBase  )  [virtual]
 

Definition at line 30 of file IGS_MeshBase.cpp.

References m_Normals, and m_Vertexes.


Member Function Documentation

int IGS_MeshBase::AddNormal const Vector4 normal  ) 
 

Definition at line 42 of file IGS_MeshBase.cpp.

References m_Normals.

Referenced by IGS_MeshTri::Prepare(), and IGS_Mesh::Prepare().

int IGS_MeshBase::AddVertexCoordinates const Vector4 vector  ) 
 

Definition at line 53 of file IGS_MeshBase.cpp.

References m_Vertexes, and Vector4::Magnitude().

Here is the call graph for this function:

const Vector4 & IGS_MeshBase::GetNormal const int  i  )  const
 

Definition at line 65 of file IGS_MeshBase.cpp.

References m_Normals.

Referenced by IGS_Mesh::Render().

const int IGS_MeshBase::GetNumVertexes  )  const
 

Definition at line 75 of file IGS_MeshBase.cpp.

References m_Vertexes.

Referenced by Mesh::Mesh().

const Vector4 & IGS_MeshBase::GetVertex const int  i  )  const
 

Definition at line 85 of file IGS_MeshBase.cpp.

References m_Vertexes.

Referenced by IGS_Mesh::ComputeNormalForFacet(), IGS_MeshTri::ComputeNormalForTriangle(), IGS_Mesh::GetBoundingBox(), and Mesh::Mesh().


Member Data Documentation

std::vector< Vector4 > IGS_MeshBase::m_Normals [protected]
 

Definition at line 48 of file IGS_MeshBase.h.

Referenced by AddNormal(), GetNormal(), IGS_MeshTri::Render(), IGS_Mesh::Render(), and ~IGS_MeshBase().

std::vector< Vector4 > IGS_MeshBase::m_Vertexes [protected]
 

Definition at line 47 of file IGS_MeshBase.h.

Referenced by AddVertexCoordinates(), IGS_Mesh::ComputeNormalForFacet(), IGS_Mesh::GetBoundingBox(), GetNumVertexes(), GetVertex(), IGS_MeshTri::Render(), and ~IGS_MeshBase().


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