vcg::vrt::Allocator< AllocateMeshType > Class Template Reference
[Vertexmesh]

#include <allocate.h>

List of all members.

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)

Detailed Description

template<class AllocateMeshType>
class vcg::vrt::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 41 of file vertexmesh/allocate.h.


Member Typedef Documentation

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

Definition at line 45 of file vertexmesh/allocate.h.

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

Definition at line 48 of file vertexmesh/allocate.h.

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

Definition at line 47 of file vertexmesh/allocate.h.

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

Definition at line 46 of file vertexmesh/allocate.h.


Member Function Documentation

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

Definition at line 97 of file vertexmesh/allocate.h.

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

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 80 of file vertexmesh/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:58 2013