Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - 3D - Half Edge Mesh - HEMeshBodyC
 

  PUBLIC
HEMeshBodyC::HEMeshBodyC(void)
HEMeshBodyC::HEMeshBodyC(const TriMeshC &)
HEMeshBodyC::~HEMeshBodyC(void)
HEMeshBodyC::InsertVertex(const Vector3dC &,const Vector3dC &)
HEMeshBodyC::InsertVertex(const VertexC &)
HEMeshBodyC::InsertVertexOnEdge(HEMeshEdgeC)
HEMeshBodyC::InsertFace(const SArray1dC &,HashC,HEMeshEdgeC> &)
HEMeshBodyC::NoFaces(void) const
HEMeshBodyC::NoVertices(void) const
HEMeshBodyC::TriMesh(void) const
HEMeshBodyC::CheckMesh(bool) const
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   HEMeshBodyC   
 
Half Edge Mesh Body
 
include "Ravl/3D/HEMesh.hh"
Created:24/4/2002 
Source file:Ravl/3D/Mesh/HEMesh.hh
User Level:Develop
Library:Ravl3D
In Scope:Ravl3DN

Parent Classes: Variables:
IntrDListC faces;
List of faces in the mesh.

IntrDListC vertices;
List of vertices.

Methods:
HEMeshBodyC()
Default constructor.
Creates an empty mesh.

HEMeshBodyC(const TriMeshC & mesh)
Construct from a TriMesh

~HEMeshBodyC()
Destructor.

HEMeshVertexC InsertVertex(const Vector3dC & position,const Vector3dC & norm)
Insert a new vertex into the mesh.

HEMeshVertexC InsertVertex(const VertexC & vert)
Insert a new vertex into the mesh.

HEMeshVertexC InsertVertexOnEdge(HEMeshEdgeC edge)
Insert a vertex on an edge.

HEMeshFaceC InsertFace(const SArray1dC<HEMeshVertexC> & vertices,HashC<Tuple2C<HEMeshVertexC,HEMeshVertexC>,HEMeshEdgeC> & edgeTab)
Insert face defined by vertices.

UIntT NoFaces() const
Get the number of faces.

UIntT NoVertices() const
Get the number of vertices.

TriMeshC TriMesh() const
Build a TriMesh from this mesh.

bool CheckMesh(bool canBeOpen = false) const
Check mesh structure is consistant.
Returns false if an inconsistancy is found.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Created: 24/4/2002, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002