#include <allocate.h>
Classes | |
| class | PointerUpdater |
Public Types | |
| typedef MeshType::EdgeIterator | EdgeIterator |
| typedef MeshType::EdgePointer | EdgePointer |
| typedef MeshType::EdgeType | EdgeType |
| typedef AllocateMeshType | MeshType |
| typedef MeshType::VertexIterator | VertexIterator |
| typedef MeshType::VertexPointer | VertexPointer |
| typedef MeshType::VertexType | VertexType |
Static Public Member Functions | |
| static EdgeIterator | AddEdges (MeshType &m, int n, PointerUpdater< EdgePointer > &pu) |
| static EdgeIterator | AddEdges (MeshType &m, int n) |
| 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 62 of file edgemesh/allocate.h.
| typedef MeshType::EdgeIterator vcg::edg::Allocator< AllocateMeshType >::EdgeIterator |
Definition at line 72 of file edgemesh/allocate.h.
| typedef MeshType::EdgePointer vcg::edg::Allocator< AllocateMeshType >::EdgePointer |
Definition at line 71 of file edgemesh/allocate.h.
| typedef MeshType::EdgeType vcg::edg::Allocator< AllocateMeshType >::EdgeType |
Definition at line 70 of file edgemesh/allocate.h.
| typedef AllocateMeshType vcg::edg::Allocator< AllocateMeshType >::MeshType |
Definition at line 66 of file edgemesh/allocate.h.
| typedef MeshType::VertexIterator vcg::edg::Allocator< AllocateMeshType >::VertexIterator |
Definition at line 69 of file edgemesh/allocate.h.
| typedef MeshType::VertexPointer vcg::edg::Allocator< AllocateMeshType >::VertexPointer |
Definition at line 68 of file edgemesh/allocate.h.
| typedef MeshType::VertexType vcg::edg::Allocator< AllocateMeshType >::VertexType |
Definition at line 67 of file edgemesh/allocate.h.
| static EdgeIterator vcg::edg::Allocator< AllocateMeshType >::AddEdges | ( | MeshType & | m, | |
| int | n, | |||
| PointerUpdater< EdgePointer > & | pu | |||
| ) | [inline, static] |
Function to add n faces to the mesh. NOTA: Aggiorna fn;
Definition at line 161 of file edgemesh/allocate.h.
| static EdgeIterator vcg::edg::Allocator< AllocateMeshType >::AddEdges | ( | MeshType & | m, | |
| int | n | |||
| ) | [inline, static] |
Function to add n faces to the mesh.
| n | Il numero di facce che si vuole aggiungere alla mesh |
Definition at line 153 of file edgemesh/allocate.h.
| static VertexIterator vcg::edg::Allocator< AllocateMeshType >::AddVertices | ( | MeshType & | m, | |
| int | n | |||
| ) | [inline, static] |
Definition at line 144 of file edgemesh/allocate.h.
| static VertexIterator vcg::edg::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 104 of file edgemesh/allocate.h.