vcg::edg::Allocator< AllocateMeshType > Class Template Reference
[Edgemesh]

#include <allocate.h>

List of all members.

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)

Detailed Description

template<class AllocateMeshType>
class vcg::edg::Allocator< AllocateMeshType >

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.


Member Typedef Documentation

template<class AllocateMeshType >
typedef MeshType::EdgeIterator vcg::edg::Allocator< AllocateMeshType >::EdgeIterator

Definition at line 72 of file edgemesh/allocate.h.

template<class AllocateMeshType >
typedef MeshType::EdgePointer vcg::edg::Allocator< AllocateMeshType >::EdgePointer

Definition at line 71 of file edgemesh/allocate.h.

template<class AllocateMeshType >
typedef MeshType::EdgeType vcg::edg::Allocator< AllocateMeshType >::EdgeType

Definition at line 70 of file edgemesh/allocate.h.

template<class AllocateMeshType >
typedef AllocateMeshType vcg::edg::Allocator< AllocateMeshType >::MeshType

Definition at line 66 of file edgemesh/allocate.h.

template<class AllocateMeshType >
typedef MeshType::VertexIterator vcg::edg::Allocator< AllocateMeshType >::VertexIterator

Definition at line 69 of file edgemesh/allocate.h.

template<class AllocateMeshType >
typedef MeshType::VertexPointer vcg::edg::Allocator< AllocateMeshType >::VertexPointer

Definition at line 68 of file edgemesh/allocate.h.

template<class AllocateMeshType >
typedef MeshType::VertexType vcg::edg::Allocator< AllocateMeshType >::VertexType

Definition at line 67 of file edgemesh/allocate.h.


Member Function Documentation

template<class AllocateMeshType >
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.

template<class AllocateMeshType >
static EdgeIterator vcg::edg::Allocator< AllocateMeshType >::AddEdges ( MeshType m,
int  n 
) [inline, static]

Function to add n faces to the mesh.

Parameters:
n Il numero di facce che si vuole aggiungere alla mesh

Definition at line 153 of file edgemesh/allocate.h.

template<class AllocateMeshType >
static VertexIterator vcg::edg::Allocator< AllocateMeshType >::AddVertices ( MeshType m,
int  n 
) [inline, static]

Definition at line 144 of file edgemesh/allocate.h.

template<class AllocateMeshType >
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.

Parameters:
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.


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:09 2013