Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
tesseract_collision::VHACD::TMMesh Class Reference

triangular manifold mesh data structure. More...

#include <vhacdManifoldMesh.h>

Collaboration diagram for tesseract_collision::VHACD::TMMesh:
Collaboration graph
[legend]

Public Member Functions

size_t GetNVertices () const
 Returns the number of vertices> More...
 
size_t GetNEdges () const
 Returns the number of edges. More...
 
size_t GetNTriangles () const
 Returns the number of triangles. More...
 
const CircularList< TMMVertex > & GetVertices () const
 Returns the vertices circular list. More...
 
const CircularList< TMMEdge > & GetEdges () const
 Returns the edges circular list. More...
 
const CircularList< TMMTriangle > & GetTriangles () const
 Returns the triangles circular list. More...
 
CircularList< TMMVertex > & GetVertices ()
 Returns the vertices circular list. More...
 
CircularList< TMMEdge > & GetEdges ()
 Returns the edges circular list. More...
 
CircularList< TMMTriangle > & GetTriangles ()
 Returns the triangles circular list. More...
 
CircularListElement< TMMVertex > * AddVertex ()
 Add vertex to the mesh. More...
 
CircularListElement< TMMEdge > * AddEdge ()
 Add vertex to the mesh. More...
 
CircularListElement< TMMTriangle > * AddTriangle ()
 Add vertex to the mesh. More...
 
void Print ()
 Print mesh information. More...
 
void GetIFS (Vec3< double > *const points, Vec3< int32_t > *const triangles)
 
void Clear ()
 
void Copy (TMMesh &mesh)
 
bool CheckConsistancy ()
 
bool Normalize ()
 
bool Denormalize ()
 
 TMMesh ()
 Constructor. More...
 
virtual ~TMMesh (void)
 Destructor. More...
 

Private Member Functions

 TMMesh (const TMMesh &rhs)
 

Private Attributes

CircularList< TMMVertexm_vertices
 
CircularList< TMMEdgem_edges
 
CircularList< TMMTrianglem_triangles
 

Friends

class ICHull
 

Detailed Description

triangular manifold mesh data structure.

Constructor & Destructor Documentation

◆ TMMesh() [1/2]

tesseract_collision::VHACD::TMMesh::TMMesh ( )

Constructor.

◆ ~TMMesh()

tesseract_collision::VHACD::TMMesh::~TMMesh ( void  )
virtual

Destructor.

◆ TMMesh() [2/2]

tesseract_collision::VHACD::TMMesh::TMMesh ( const TMMesh rhs)
private

Member Function Documentation

◆ AddEdge()

CircularListElement< TMMEdge > * tesseract_collision::VHACD::TMMesh::AddEdge ( )
inline

Add vertex to the mesh.

◆ AddTriangle()

CircularListElement< TMMTriangle > * tesseract_collision::VHACD::TMMesh::AddTriangle ( )
inline

Add vertex to the mesh.

◆ AddVertex()

CircularListElement< TMMVertex > * tesseract_collision::VHACD::TMMesh::AddVertex ( )
inline

Add vertex to the mesh.

◆ CheckConsistancy()

bool tesseract_collision::VHACD::TMMesh::CheckConsistancy ( )

◆ Clear()

void tesseract_collision::VHACD::TMMesh::Clear ( )

◆ Copy()

void tesseract_collision::VHACD::TMMesh::Copy ( TMMesh mesh)

◆ Denormalize()

bool tesseract_collision::VHACD::TMMesh::Denormalize ( )

◆ GetEdges() [1/2]

CircularList< TMMEdge > & tesseract_collision::VHACD::TMMesh::GetEdges ( )
inline

Returns the edges circular list.

◆ GetEdges() [2/2]

const CircularList< TMMEdge > & tesseract_collision::VHACD::TMMesh::GetEdges ( ) const
inline

Returns the edges circular list.

◆ GetIFS()

void tesseract_collision::VHACD::TMMesh::GetIFS ( Vec3< double > *const  points,
Vec3< int32_t > *const  triangles 
)

◆ GetNEdges()

size_t tesseract_collision::VHACD::TMMesh::GetNEdges ( ) const
inline

Returns the number of edges.

◆ GetNTriangles()

size_t tesseract_collision::VHACD::TMMesh::GetNTriangles ( ) const
inline

Returns the number of triangles.

◆ GetNVertices()

size_t tesseract_collision::VHACD::TMMesh::GetNVertices ( ) const
inline

Returns the number of vertices>

◆ GetTriangles() [1/2]

CircularList< TMMTriangle > & tesseract_collision::VHACD::TMMesh::GetTriangles ( )
inline

Returns the triangles circular list.

◆ GetTriangles() [2/2]

const CircularList< TMMTriangle > & tesseract_collision::VHACD::TMMesh::GetTriangles ( ) const
inline

Returns the triangles circular list.

◆ GetVertices() [1/2]

CircularList< TMMVertex > & tesseract_collision::VHACD::TMMesh::GetVertices ( )
inline

Returns the vertices circular list.

◆ GetVertices() [2/2]

const CircularList< TMMVertex > & tesseract_collision::VHACD::TMMesh::GetVertices ( ) const
inline

Returns the vertices circular list.

◆ Normalize()

bool tesseract_collision::VHACD::TMMesh::Normalize ( )

◆ Print()

void tesseract_collision::VHACD::TMMesh::Print ( )

Print mesh information.

Friends And Related Function Documentation

◆ ICHull

friend class ICHull
friend

Member Data Documentation

◆ m_edges

CircularList<TMMEdge> tesseract_collision::VHACD::TMMesh::m_edges
private

◆ m_triangles

CircularList<TMMTriangle> tesseract_collision::VHACD::TMMesh::m_triangles
private

◆ m_vertices

CircularList<TMMVertex> tesseract_collision::VHACD::TMMesh::m_vertices
private

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