vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT > Class Template Reference
[Tetramesh]

#include <base.h>

List of all members.

Public Types

Tetramesh Type Definitions

typedef
STL_TETRA_CONT::const_iterator 
const_TetraIterator
 The type of constant face iterator.
typedef const VertexTypeconst_TetraPointer
 The type of the constant tetrahedron pointer.
typedef
STL_VERT_CONT::const_iterator 
const_VertexIterator
 The type of constant vertex iterator.
typedef const VertexTypeconst_VertexPointer
 The type of the constant vertex pointer.
typedef VertexType::ScalarType ScalarType
typedef STL_TETRA_CONT TetraContainer
 The tethaedhron container.
typedef STL_TETRA_CONT::iterator TetraIterator
 The type of tetra iterator.
typedef Tetramesh
< STL_VERT_CONT,
STL_TETRA_CONT > 
TetraMeshType
 The mesh type.
typedef TetraTypeTetraPointer
 The tetra pointer type.
typedef STL_TETRA_CONT::value_type TetraType
 The tetrahedron type.
typedef STL_VERT_CONT VertexContainer
 The vertex container.
typedef STL_VERT_CONT::iterator VertexIterator
 The type of vertex iterator.
typedef VertexTypeVertexPointer
 The vertex pointer type.
typedef STL_VERT_CONT::value_type VertexType
 The vertex type.

Public Member Functions

void Clear ()
void InitVertexIMark ()
 Initialize the imark-system of the vertices.
int MemUsed () const
 Tetramesh (VertexContainer v, TetraContainer t)
 Tetramesh ()
 Default constructor.

Public Attributes

Box3< ScalarTypebbox
 Boundingbox della mesh.
int en
 Real number of edges.
int IMark
 temporary mark for decimation
STL_TETRA_CONT tetra
 Set of tetrahedron.
int tn
 Real number of tetrahedron.
STL_VERT_CONT vert
 Set of vertices.
int vn
 Real number of vertices.



int GetMark ()
 return the current mark
void InitIMark ()
 Initialize the mark of all vertices.
void Mark (VertexType *v)
 Mark the vertex with current value.
int & SimplexNumber ()
void UnMarkAll ()
 Increase the current mark.
int & VertexNumber ()
static bool HasPerTetraMark ()
static bool HasPerTetraNormal ()
static bool HasPerTetraQuality ()
static bool HasPerVertexColor ()
static bool HasPerVertexMark ()
static bool HasPerVertexNormal ()
 Reflection functions that speak about vertex and face properties.
static bool HasPerVertexQuality ()
static bool HasPerVertexTexCoord ()
static bool HasTopology ()
static bool HasTTTopology ()
static bool HasVTTopology ()

Detailed Description

template<class STL_VERT_CONT, class STL_TETRA_CONT>
class vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >

Class TetraMesh. This is class for definition of a mesh.

Parameters:
STL_VERT_CONT (Template Parameter) Specifies the type of the vertices container any the vertex type.
STL_FACE_CONT (Template Parameter) Specifies the type of the faces container any the face type.

Definition at line 94 of file complex/tetramesh/base.h.


Member Typedef Documentation

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_TETRA_CONT::const_iterator vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::const_TetraIterator

The type of constant face iterator.

Definition at line 126 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef const VertexType* vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::const_TetraPointer

The type of the constant tetrahedron pointer.

Definition at line 138 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_VERT_CONT::const_iterator vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::const_VertexIterator

The type of constant vertex iterator.

Definition at line 123 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef const VertexType* vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::const_VertexPointer

The type of the constant vertex pointer.

Definition at line 135 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef VertexType::ScalarType vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::ScalarType

Definition at line 140 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_TETRA_CONT vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::TetraContainer

The tethaedhron container.

Definition at line 108 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_TETRA_CONT::iterator vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::TetraIterator

The type of tetra iterator.

Definition at line 120 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef Tetramesh<STL_VERT_CONT,STL_TETRA_CONT> vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::TetraMeshType

The mesh type.

Definition at line 102 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef TetraType* vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::TetraPointer

The tetra pointer type.

Definition at line 132 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_TETRA_CONT::value_type vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::TetraType

The tetrahedron type.

Definition at line 114 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_VERT_CONT vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::VertexContainer

The vertex container.

Definition at line 105 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_VERT_CONT::iterator vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::VertexIterator

The type of vertex iterator.

Definition at line 117 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef VertexType* vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::VertexPointer

The vertex pointer type.

Definition at line 129 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
typedef STL_VERT_CONT::value_type vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::VertexType

The vertex type.

Definition at line 111 of file complex/tetramesh/base.h.


Constructor & Destructor Documentation

template<class STL_VERT_CONT, class STL_TETRA_CONT>
vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::Tetramesh (  )  [inline]

Default constructor.

Functions

Definition at line 174 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::Tetramesh ( VertexContainer  v,
TetraContainer  t 
) [inline]

Definition at line 179 of file complex/tetramesh/base.h.


Member Function Documentation

template<class STL_VERT_CONT, class STL_TETRA_CONT>
void vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::Clear (  )  [inline]

Definition at line 192 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
int vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::GetMark (  )  [inline]

return the current mark

Definition at line 248 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasPerTetraMark (  )  [inline, static]

Definition at line 221 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasPerTetraNormal (  )  [inline, static]

Definition at line 220 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasPerTetraQuality (  )  [inline, static]

Definition at line 222 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasPerVertexColor (  )  [inline, static]

Definition at line 215 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasPerVertexMark (  )  [inline, static]

Definition at line 216 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasPerVertexNormal (  )  [inline, static]

Reflection functions that speak about vertex and face properties.

used to retrieve informations

Definition at line 214 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasPerVertexQuality (  )  [inline, static]

Definition at line 217 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasPerVertexTexCoord (  )  [inline, static]

Definition at line 218 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasTopology (  )  [inline, static]

Definition at line 226 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasTTTopology (  )  [inline, static]

Definition at line 224 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
static bool vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::HasVTTopology (  )  [inline, static]

Definition at line 225 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
void vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::InitIMark (  )  [inline]

Initialize the mark of all vertices.

Definition at line 254 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
void vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::InitVertexIMark (  )  [inline]

Initialize the imark-system of the vertices.

Definition at line 200 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
void vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::Mark ( VertexType v  )  [inline]

Mark the vertex with current value.

Definition at line 242 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
int vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::MemUsed (  )  const [inline]

Definition at line 187 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
int& vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::SimplexNumber (  )  [inline]

Definition at line 228 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
void vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::UnMarkAll (  )  [inline]

Increase the current mark.

used for handle the temporany mark of a tetrahedron used in decimation

Definition at line 236 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
int& vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::VertexNumber (  )  [inline]

Definition at line 229 of file complex/tetramesh/base.h.


Member Data Documentation

template<class STL_VERT_CONT, class STL_TETRA_CONT>
Box3<ScalarType> vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::bbox

Boundingbox della mesh.

Definition at line 166 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
int vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::en

Real number of edges.

Definition at line 163 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
int vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::IMark

temporary mark for decimation

Attributes of a tetrahedral mesh

Definition at line 148 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
STL_TETRA_CONT vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::tetra

Set of tetrahedron.

Definition at line 157 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
int vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::tn

Real number of tetrahedron.

Definition at line 160 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
STL_VERT_CONT vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::vert

Set of vertices.

Definition at line 151 of file complex/tetramesh/base.h.

template<class STL_VERT_CONT, class STL_TETRA_CONT>
int vcg::tetra::Tetramesh< STL_VERT_CONT, STL_TETRA_CONT >::vn

Real number of vertices.

Definition at line 154 of file complex/tetramesh/base.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:27 2013