#include <allocate.h>
Classes | |
class | PointerUpdater |
Public Types | |
typedef AllocateMeshType | MeshType |
typedef MeshType::VertexIterator | VertexIterator |
typedef MeshType::VertexPointer | VertexPointer |
typedef MeshType::VertexType | VertexType |
Static Public Member Functions | |
static VertexIterator | AddVertices (MeshType &m, int n) |
static VertexIterator | AddVertices (MeshType &m, int n, PointerUpdater< VertexPointer > &pu) |
Class to safely add vertexes and faces to a mesh updating all the involved pointers. It provides static memeber to add either vertex or faces to a edgemesh.
Definition at line 41 of file vertexmesh/allocate.h.
typedef AllocateMeshType vcg::vrt::Allocator< AllocateMeshType >::MeshType |
Definition at line 45 of file vertexmesh/allocate.h.
typedef MeshType::VertexIterator vcg::vrt::Allocator< AllocateMeshType >::VertexIterator |
Definition at line 48 of file vertexmesh/allocate.h.
typedef MeshType::VertexPointer vcg::vrt::Allocator< AllocateMeshType >::VertexPointer |
Definition at line 47 of file vertexmesh/allocate.h.
typedef MeshType::VertexType vcg::vrt::Allocator< AllocateMeshType >::VertexType |
Definition at line 46 of file vertexmesh/allocate.h.
static VertexIterator vcg::vrt::Allocator< AllocateMeshType >::AddVertices | ( | MeshType & | m, | |
int | n | |||
) | [inline, static] |
Definition at line 97 of file vertexmesh/allocate.h.
static VertexIterator vcg::vrt::Allocator< AllocateMeshType >::AddVertices | ( | MeshType & | m, | |
int | n, | |||
PointerUpdater< VertexPointer > & | pu | |||
) | [inline, static] |
Function to safely add n vertices to a mesh.
m | The mesh to be expanded | |
n | the number of vertexes to be added | |
pu | A PointerUpdater that stores the relocation that can be happened. |
Definition at line 80 of file vertexmesh/allocate.h.