#include <allocate.h>
Classes | |
struct | InsertedVT |
Public Types | |
typedef TM_TYPE::const_TetraIterator | const_TetraIterator |
The type of constant face iterator. | |
typedef TM_TYPE::const_VertexIterator | const_VertexIterator |
The type of constant vertex iterator. | |
typedef TM_TYPE::TetraIterator | TetraIterator |
The type of tetra iterator. | |
typedef TM_TYPE | TetraMeshType |
The tetramesh type. | |
typedef TM_TYPE::TetraType | TetraType |
The tetrahedron type. | |
typedef TM_TYPE::VertexIterator | VertexIterator |
The type of vertex iterator. | |
typedef TM_TYPE::VertexType | VertexType |
The vertex type. | |
Static Public Member Functions | |
static TetraIterator | AddTetra (TetraMeshType &m, int n) |
static VertexIterator | AddVertices (TetraMeshType &m, int n) |
static VertexIterator | AddVertices (TetraMeshType &m, int n, vector< VertexType ** > &local_var) |
template<class STL_CONT > | |
static void | SubSetT (STL_CONT &subSet, TetraMeshType &m) |
Class Allocate. This is class for Allocate new vertices or tetrahedron on the mesh.
TM_TYPE | (Template Parameter) Specifies the type of the tetrahedral mesh. |
Definition at line 64 of file tetramesh/allocate.h.
typedef TM_TYPE::const_TetraIterator vcg::tetra::Allocator< TM_TYPE >::const_TetraIterator |
The type of constant face iterator.
Definition at line 89 of file tetramesh/allocate.h.
typedef TM_TYPE::const_VertexIterator vcg::tetra::Allocator< TM_TYPE >::const_VertexIterator |
The type of constant vertex iterator.
Definition at line 86 of file tetramesh/allocate.h.
typedef TM_TYPE::TetraIterator vcg::tetra::Allocator< TM_TYPE >::TetraIterator |
The type of tetra iterator.
Definition at line 83 of file tetramesh/allocate.h.
typedef TM_TYPE vcg::tetra::Allocator< TM_TYPE >::TetraMeshType |
The tetramesh type.
Definition at line 70 of file tetramesh/allocate.h.
typedef TM_TYPE::TetraType vcg::tetra::Allocator< TM_TYPE >::TetraType |
The tetrahedron type.
Definition at line 77 of file tetramesh/allocate.h.
typedef TM_TYPE::VertexIterator vcg::tetra::Allocator< TM_TYPE >::VertexIterator |
The type of vertex iterator.
Definition at line 80 of file tetramesh/allocate.h.
typedef TM_TYPE::VertexType vcg::tetra::Allocator< TM_TYPE >::VertexType |
The vertex type.
Definition at line 74 of file tetramesh/allocate.h.
static TetraIterator vcg::tetra::Allocator< TM_TYPE >::AddTetra | ( | TetraMeshType & | m, | |
int | n | |||
) | [inline, static] |
Function to add n tetrafedron to the mesh.
n | number of vertices we want to add. |
Definition at line 183 of file tetramesh/allocate.h.
static VertexIterator vcg::tetra::Allocator< TM_TYPE >::AddVertices | ( | TetraMeshType & | m, | |
int | n | |||
) | [inline, static] |
Function to add n vertices to the mesh.
n | Il numero di vertici che si vuole aggiungere alla mesh. |
Definition at line 153 of file tetramesh/allocate.h.
static VertexIterator vcg::tetra::Allocator< TM_TYPE >::AddVertices | ( | TetraMeshType & | m, | |
int | n, | |||
vector< VertexType ** > & | local_var | |||
) | [inline, static] |
Function to add n vertices to the mesh. The second parameter hold a vector of pointers to pointer to elements of the mesh that should be updated after a possible vector realloc.
n | Il numero di vertici che si vuole aggiungere alla mesh. | |
local_var | Vettore di variabili locali che rappresentano puntatori a vertici. restituisce l'iteratore al primo elemento aggiunto. |
Definition at line 102 of file tetramesh/allocate.h.
static void vcg::tetra::Allocator< TM_TYPE >::SubSetT | ( | STL_CONT & | subSet, | |
TetraMeshType & | m | |||
) | [inline, static] |
Crate a copy of the mesh with tetrahedron that are into the templated container
ST_CONT | (Template Parameter) Specifies the type of the container of tetrahedron. | |
subSet | Container of tetrahedron. | |
m | destination mesh. |
Definition at line 201 of file tetramesh/allocate.h.