vcg::tri::Allocator< AllocateMeshType > Class Template Reference

#include <allocate.h>

List of all members.

Classes

struct  NameTypeBound
struct  NameTypeBound_Base
class  PointerUpdater

Public Types

typedef std::set
< PointerToAttribute >
::const_iterator 
AttrConstIterator
typedef std::set
< PointerToAttribute >
::iterator 
AttrIterator
typedef std::map< std::string,
NameTypeBound_Base * >
::iterator 
BindersIterator
typedef std::map< std::string,
NameTypeBound_Base * >
::const_iterator 
CBindersIterator
typedef MeshType::EdgeContainer EdgeContainer
typedef MeshType::EdgeIterator EdgeIterator
typedef MeshType::EdgePointer EdgePointer
typedef MeshType::EdgeType EdgeType
typedef MeshType::FaceContainer FaceContainer
typedef MeshType::FaceIterator FaceIterator
typedef MeshType::FacePointer FacePointer
typedef MeshType::FaceType FaceType
typedef MeshType::HEdgeContainer HEdgeContainer
typedef MeshType::HEdgeIterator HEdgeIterator
typedef MeshType::HEdgePointer HEdgePointer
typedef MeshType::HEdgeType HEdgeType
typedef AllocateMeshType MeshType
typedef std::map< std::string,
NameTypeBound_Base * > 
NameTypeScope
typedef std::set
< PointerToAttribute >
::iterator 
PAIte
typedef
MeshType::PointerToAttribute 
PointerToAttribute
typedef std::pair< std::string,
NameTypeBound_Base * > 
TypeBound
typedef MeshType::VertContainer VertContainer
typedef MeshType::VertexIterator VertexIterator
typedef MeshType::VertexPointer VertexPointer
typedef MeshType::VertexType VertexType

Static Public Member Functions

static EdgeIterator AddEdges (MeshType &m, int n, std::vector< EdgePointer * > &local_vec)
static EdgeIterator AddEdges (MeshType &m, int n)
static EdgeIterator AddEdges (MeshType &m, int n, PointerUpdater< EdgePointer > &pu)
static FaceIterator AddFaces (MeshType &m, int n, PointerUpdater< FacePointer > &pu)
static FaceIterator AddFaces (MeshType &m, int n, std::vector< FacePointer * > &local_vec)
static FaceIterator AddFaces (MeshType &m, int n)
static HEdgeIterator AddHEdges (MeshType &m, int n, std::vector< HEdgePointer * > &local_vec)
static HEdgeIterator AddHEdges (MeshType &m, int n)
static HEdgeIterator AddHEdges (MeshType &m, int n, PointerUpdater< HEdgePointer > &pu)
template<class TYPE >
static void AddNameTypeBound (NameTypeScope &binders, std::string name)
static void AddPerEdgeAttribute (const NameTypeScope &binders, MeshType &m, std::string name)
template<class ATTR_TYPE >
static MeshType::template
PerVertexAttributeHandle
< ATTR_TYPE > 
AddPerEdgeAttribute (MeshType &m)
template<class ATTR_TYPE >
static MeshType::template
PerEdgeAttributeHandle
< ATTR_TYPE > 
AddPerEdgeAttribute (MeshType &m, std::string name)
static void AddPerFaceAttribute (const NameTypeScope &binders, MeshType &m, std::string name)
template<class ATTR_TYPE >
static MeshType::template
PerFaceAttributeHandle
< ATTR_TYPE > 
AddPerFaceAttribute (MeshType &m)
template<class ATTR_TYPE >
static MeshType::template
PerFaceAttributeHandle
< ATTR_TYPE > 
AddPerFaceAttribute (MeshType &m, std::string name)
static void AddPerMeshAttribute (const NameTypeScope &binders, MeshType &m, std::string name)
template<class ATTR_TYPE >
static MeshType::template
PerMeshAttributeHandle
< ATTR_TYPE > 
AddPerMeshAttribute (MeshType &m, std::string name)
static void AddPerVertexAttribute (const NameTypeScope &binders, MeshType &m, std::string name)
template<class ATTR_TYPE >
static MeshType::template
PerVertexAttributeHandle
< ATTR_TYPE > 
AddPerVertexAttribute (MeshType &m)
template<class ATTR_TYPE >
static MeshType::template
PerVertexAttributeHandle
< ATTR_TYPE > 
AddPerVertexAttribute (MeshType &m, std::string name)
static VertexIterator AddVertices (MeshType &m, int n, std::vector< VertexPointer * > &local_vec)
static VertexIterator AddVertices (MeshType &m, int n)
static VertexIterator AddVertices (MeshType &m, int n, PointerUpdater< VertexPointer > &pu)
static bool CheckNameIsBound (const NameTypeScope &binders, std::string name)
static void CompactFaceVector (MeshType &m)
static void CompactVertexVector (MeshType &m)
static void DeleteEdge (MeshType &m, EdgeType &e)
static void DeleteFace (MeshType &m, FaceType &f)
static void DeleteHEdge (MeshType &m, HEdgeType &h)
static void DeletePerEdgeAttribute (MeshType &m, std::string name)
template<class ATTR_TYPE >
static void DeletePerEdgeAttribute (MeshType &m, typename MeshType::template PerEdgeAttributeHandle< ATTR_TYPE > &h)
static void DeletePerFaceAttribute (MeshType &m, std::string name)
template<class ATTR_TYPE >
static void DeletePerFaceAttribute (MeshType &m, typename MeshType::template PerFaceAttributeHandle< ATTR_TYPE > &h)
static void DeletePerMeshAttribute (MeshType &m, std::string name)
template<class ATTR_TYPE >
static void DeletePerMeshAttribute (MeshType &m, typename MeshType::template PerMeshAttributeHandle< ATTR_TYPE > &h)
static void DeletePerVertexAttribute (MeshType &m, std::string name)
template<class ATTR_TYPE >
static void DeletePerVertexAttribute (MeshType &m, typename MeshType::template PerVertexAttributeHandle< ATTR_TYPE > &h)
static void DeleteVertex (MeshType &m, VertexType &v)
template<class ATTR_TYPE >
static void FixPaddedPerFaceAttribute (MeshType &m, PointerToAttribute &pa)
template<class ATTR_TYPE >
static void FixPaddedPerMeshAttribute (MeshType &m, PointerToAttribute &pa)
template<class ATTR_TYPE >
static void FixPaddedPerVertexAttribute (MeshType &m, PointerToAttribute &pa)
template<class ATTR_TYPE >
static void GetAllPerEdgeAttribute (const MeshType &m, std::vector< std::string > &all)
template<class ATTR_TYPE >
static void GetAllPerFaceAttribute (const MeshType &m, std::vector< std::string > &all)
template<class ATTR_TYPE >
static void GetAllPerMeshAttribute (const MeshType &m, std::vector< std::string > &all)
template<class ATTR_TYPE >
static void GetAllPerVertexAttribute (const MeshType &m, std::vector< std::string > &all)
template<class ATTR_TYPE >
static MeshType::template
PerEdgeAttributeHandle
< ATTR_TYPE > 
GetPerEdgeAttribute (const MeshType &m, const std::string &name)
template<class ATTR_TYPE >
static MeshType::template
PerFaceAttributeHandle
< ATTR_TYPE > 
GetPerFaceAttribute (MeshType &m, const std::string &name)
template<class ATTR_TYPE >
static MeshType::template
PerMeshAttributeHandle
< ATTR_TYPE > 
GetPerMeshAttribute (MeshType &m, const std::string &name)
template<class ATTR_TYPE >
static MeshType::template
PerVertexAttributeHandle
< ATTR_TYPE > 
GetPerVertexAttribute (MeshType &m, const std::string &name)
template<class ATTR_TYPE >
static bool IsValidHandle (MeshType &m, const typename MeshType::template PerMeshAttributeHandle< ATTR_TYPE > &a)
 Per Mesh Attributes.
template<class ATTR_TYPE >
static bool IsValidHandle (MeshType &m, const typename MeshType::template PerFaceAttributeHandle< ATTR_TYPE > &a)
 Per Face Attributes.
template<class ATTR_TYPE >
static bool IsValidHandle (MeshType &m, const typename MeshType::template PerEdgeAttributeHandle< ATTR_TYPE > &a)
 Per Edge Attributes.
template<class ATTR_TYPE >
static bool IsValidHandle (MeshType &m, const typename MeshType::template PerVertexAttributeHandle< ATTR_TYPE > &a)
 Per Vertex Attributes.
template<typename TYPE >
static std::vector< std::string > NamesWithType (const NameTypeScope &binders)
static void PermutateVertexVector (MeshType &m, std::vector< size_t > &newVertIndex)
static void RemoveTypeBound (NameTypeScope &binders, std::string name)

Detailed Description

template<class AllocateMeshType>
class vcg::tri::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 trimesh.

Definition at line 86 of file trimesh/allocate.h.


Member Typedef Documentation

template<class AllocateMeshType>
typedef std::set<PointerToAttribute>::const_iterator vcg::tri::Allocator< AllocateMeshType >::AttrConstIterator

Definition at line 114 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef std::set<PointerToAttribute>::iterator vcg::tri::Allocator< AllocateMeshType >::AttrIterator

Definition at line 113 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef std::map<std::string,NameTypeBound_Base*>::iterator vcg::tri::Allocator< AllocateMeshType >::BindersIterator

Definition at line 1212 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef std::map<std::string,NameTypeBound_Base*>::const_iterator vcg::tri::Allocator< AllocateMeshType >::CBindersIterator

Definition at line 1213 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::EdgeContainer vcg::tri::Allocator< AllocateMeshType >::EdgeContainer

Definition at line 99 of file trimesh/allocate.h.

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

Definition at line 98 of file trimesh/allocate.h.

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

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

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

Definition at line 96 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::FaceContainer vcg::tri::Allocator< AllocateMeshType >::FaceContainer

Definition at line 104 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::FaceIterator vcg::tri::Allocator< AllocateMeshType >::FaceIterator

Definition at line 103 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::FacePointer vcg::tri::Allocator< AllocateMeshType >::FacePointer

Definition at line 102 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::FaceType vcg::tri::Allocator< AllocateMeshType >::FaceType

Definition at line 101 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::HEdgeContainer vcg::tri::Allocator< AllocateMeshType >::HEdgeContainer

Definition at line 109 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::HEdgeIterator vcg::tri::Allocator< AllocateMeshType >::HEdgeIterator

Definition at line 108 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::HEdgePointer vcg::tri::Allocator< AllocateMeshType >::HEdgePointer

Definition at line 107 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::HEdgeType vcg::tri::Allocator< AllocateMeshType >::HEdgeType

Definition at line 106 of file trimesh/allocate.h.

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

Definition at line 90 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef std::map<std::string,NameTypeBound_Base*> vcg::tri::Allocator< AllocateMeshType >::NameTypeScope

Definition at line 1215 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef std::set<PointerToAttribute >::iterator vcg::tri::Allocator< AllocateMeshType >::PAIte

Definition at line 115 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::PointerToAttribute vcg::tri::Allocator< AllocateMeshType >::PointerToAttribute

Definition at line 112 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef std::pair<std::string,NameTypeBound_Base*> vcg::tri::Allocator< AllocateMeshType >::TypeBound

Definition at line 1214 of file trimesh/allocate.h.

template<class AllocateMeshType>
typedef MeshType::VertContainer vcg::tri::Allocator< AllocateMeshType >::VertContainer

Definition at line 94 of file trimesh/allocate.h.

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

Definition at line 93 of file trimesh/allocate.h.

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

Definition at line 92 of file trimesh/allocate.h.

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

Definition at line 91 of file trimesh/allocate.h.


Member Function Documentation

template<class AllocateMeshType>
static EdgeIterator vcg::tri::Allocator< AllocateMeshType >::AddEdges ( MeshType m,
int  n,
std::vector< EdgePointer * > &  local_vec 
) [inline, static]

Function to add n vertices to the mesh. Second Wrapper, with a vector of vertex pointers to be updated.

Definition at line 303 of file trimesh/allocate.h.

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

Function to add n vertices to the mesh. First wrapper, with no parameters

Definition at line 294 of file trimesh/allocate.h.

template<class AllocateMeshType>
static EdgeIterator vcg::tri::Allocator< AllocateMeshType >::AddEdges ( MeshType m,
int  n,
PointerUpdater< EdgePointer > &  pu 
) [inline, static]

Function to add n edges 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.

Parameters:
n number of edges to be added
local_var vector of pointers to pointers to edges to be updated. return an iterator to the first element added

Definition at line 237 of file trimesh/allocate.h.

template<class AllocateMeshType>
static FaceIterator vcg::tri::Allocator< AllocateMeshType >::AddFaces ( MeshType m,
int  n,
PointerUpdater< FacePointer > &  pu 
) [inline, static]

Function to add n faces to the mesh. This is the only full featured function that is able to manage correctly all the internal pointers of the mesh (ff and vf relations). NOTE: THIS FUNCTION ALSO UPDATE FN

Definition at line 444 of file trimesh/allocate.h.

template<class AllocateMeshType>
static FaceIterator vcg::tri::Allocator< AllocateMeshType >::AddFaces ( MeshType m,
int  n,
std::vector< FacePointer * > &  local_vec 
) [inline, static]

Function to add n faces to the mesh. Second Wrapper, with a vector of face pointer to be updated.

Definition at line 429 of file trimesh/allocate.h.

template<class AllocateMeshType>
static FaceIterator vcg::tri::Allocator< AllocateMeshType >::AddFaces ( MeshType m,
int  n 
) [inline, static]

Function to add n faces to the mesh. First wrapper, with no parameters

Definition at line 420 of file trimesh/allocate.h.

template<class AllocateMeshType>
static HEdgeIterator vcg::tri::Allocator< AllocateMeshType >::AddHEdges ( MeshType m,
int  n,
std::vector< HEdgePointer * > &  local_vec 
) [inline, static]

Function to add n vertices to the mesh. Second Wrapper, with a vector of vertex pointers to be updated.

Definition at line 405 of file trimesh/allocate.h.

template<class AllocateMeshType>
static HEdgeIterator vcg::tri::Allocator< AllocateMeshType >::AddHEdges ( MeshType m,
int  n 
) [inline, static]

Function to add n vertices to the mesh. First wrapper, with no parameters

Definition at line 396 of file trimesh/allocate.h.

template<class AllocateMeshType>
static HEdgeIterator vcg::tri::Allocator< AllocateMeshType >::AddHEdges ( MeshType m,
int  n,
PointerUpdater< HEdgePointer > &  pu 
) [inline, static]

Function to add n edges 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.

Parameters:
n number of edges to be added
local_var vector of pointers to pointers to edges to be updated. return an iterator to the first element added

Definition at line 323 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::AddNameTypeBound ( NameTypeScope binders,
std::string  name 
) [inline, static]

Definition at line 1239 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::AddPerEdgeAttribute ( const NameTypeScope binders,
MeshType m,
std::string  name 
) [inline, static]

Definition at line 1272 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerVertexAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::AddPerEdgeAttribute ( MeshType m  )  [inline, static]

Definition at line 880 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerEdgeAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::AddPerEdgeAttribute ( MeshType m,
std::string  name 
) [inline, static]

Definition at line 860 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::AddPerFaceAttribute ( const NameTypeScope binders,
MeshType m,
std::string  name 
) [inline, static]

Definition at line 1278 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerFaceAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::AddPerFaceAttribute ( MeshType m  )  [inline, static]

Definition at line 965 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerFaceAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::AddPerFaceAttribute ( MeshType m,
std::string  name 
) [inline, static]

Definition at line 945 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::AddPerMeshAttribute ( const NameTypeScope binders,
MeshType m,
std::string  name 
) [inline, static]

Definition at line 1284 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerMeshAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::AddPerMeshAttribute ( MeshType m,
std::string  name 
) [inline, static]

Definition at line 1037 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::AddPerVertexAttribute ( const NameTypeScope binders,
MeshType m,
std::string  name 
) [inline, static]

Definition at line 1266 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerVertexAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::AddPerVertexAttribute ( MeshType m  )  [inline, static]

Definition at line 783 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerVertexAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::AddPerVertexAttribute ( MeshType m,
std::string  name 
) [inline, static]

Definition at line 762 of file trimesh/allocate.h.

template<class AllocateMeshType>
static VertexIterator vcg::tri::Allocator< AllocateMeshType >::AddVertices ( MeshType m,
int  n,
std::vector< VertexPointer * > &  local_vec 
) [inline, static]

Function to add n vertices to the mesh. Second Wrapper, with a vector of vertex pointers to be updated.

Definition at line 218 of file trimesh/allocate.h.

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

Function to add n vertices to the mesh. First wrapper, with no parameters

Definition at line 209 of file trimesh/allocate.h.

template<class AllocateMeshType>
static VertexIterator vcg::tri::Allocator< AllocateMeshType >::AddVertices ( MeshType m,
int  n,
PointerUpdater< VertexPointer > &  pu 
) [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.

Parameters:
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 152 of file trimesh/allocate.h.

template<class AllocateMeshType>
static bool vcg::tri::Allocator< AllocateMeshType >::CheckNameIsBound ( const NameTypeScope binders,
std::string  name 
) [inline, static]

Definition at line 1236 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::CompactFaceVector ( MeshType m  )  [inline, static]

Definition at line 657 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::CompactVertexVector ( MeshType m  )  [inline, static]

Definition at line 628 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::DeleteEdge ( MeshType m,
EdgeType e 
) [inline, static]

Function to delete an edge from the mesh. NOTE: THIS FUNCTION ALSO UPDATE en

Definition at line 555 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::DeleteFace ( MeshType m,
FaceType f 
) [inline, static]

Function to delete a face from the mesh. NOTE: THIS FUNCTION ALSO UPDATE FN

Definition at line 535 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::DeleteHEdge ( MeshType m,
HEdgeType h 
) [inline, static]

Function to delete a hedge from the mesh. NOTE: THIS FUNCTION ALSO UPDATE en

Definition at line 565 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::DeletePerEdgeAttribute ( MeshType m,
std::string  name 
) [inline, static]

Definition at line 923 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::DeletePerEdgeAttribute ( MeshType m,
typename MeshType::template PerEdgeAttributeHandle< ATTR_TYPE > &  h 
) [inline, static]

Definition at line 912 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::DeletePerFaceAttribute ( MeshType m,
std::string  name 
) [inline, static]

Definition at line 1015 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::DeletePerFaceAttribute ( MeshType m,
typename MeshType::template PerFaceAttributeHandle< ATTR_TYPE > &  h 
) [inline, static]

Definition at line 1004 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::DeletePerMeshAttribute ( MeshType m,
std::string  name 
) [inline, static]

Definition at line 1102 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::DeletePerMeshAttribute ( MeshType m,
typename MeshType::template PerMeshAttributeHandle< ATTR_TYPE > &  h 
) [inline, static]

Definition at line 1091 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::DeletePerVertexAttribute ( MeshType m,
std::string  name 
) [inline, static]

Definition at line 836 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::DeletePerVertexAttribute ( MeshType m,
typename MeshType::template PerVertexAttributeHandle< ATTR_TYPE > &  h 
) [inline, static]

Definition at line 825 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::DeleteVertex ( MeshType m,
VertexType v 
) [inline, static]

Function to delete a vertex from the mesh. NOTE: THIS FUNCTION ALSO UPDATE vn

Definition at line 545 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::FixPaddedPerFaceAttribute ( MeshType m,
PointerToAttribute pa 
) [inline, static]

Definition at line 1142 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::FixPaddedPerMeshAttribute ( MeshType m,
PointerToAttribute pa 
) [inline, static]

Definition at line 1172 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::FixPaddedPerVertexAttribute ( MeshType m,
PointerToAttribute pa 
) [inline, static]

Definition at line 1113 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::GetAllPerEdgeAttribute ( const MeshType m,
std::vector< std::string > &  all 
) [inline, static]

Definition at line 902 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::GetAllPerFaceAttribute ( const MeshType m,
std::vector< std::string > &  all 
) [inline, static]

Definition at line 994 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::GetAllPerMeshAttribute ( const MeshType m,
std::vector< std::string > &  all 
) [inline, static]

Definition at line 1081 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static void vcg::tri::Allocator< AllocateMeshType >::GetAllPerVertexAttribute ( const MeshType m,
std::vector< std::string > &  all 
) [inline, static]

Definition at line 815 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerEdgeAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::GetPerEdgeAttribute ( const MeshType m,
const std::string &  name 
) [inline, static]

Definition at line 887 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerFaceAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::GetPerFaceAttribute ( MeshType m,
const std::string &  name 
) [inline, static]

Definition at line 972 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerMeshAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::GetPerMeshAttribute ( MeshType m,
const std::string &  name 
) [inline, static]

Definition at line 1057 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static MeshType::template PerVertexAttributeHandle<ATTR_TYPE> vcg::tri::Allocator< AllocateMeshType >::GetPerVertexAttribute ( MeshType m,
const std::string &  name 
) [inline, static]

Definition at line 790 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static bool vcg::tri::Allocator< AllocateMeshType >::IsValidHandle ( MeshType m,
const typename MeshType::template PerMeshAttributeHandle< ATTR_TYPE > &  a 
) [inline, static]

Per Mesh Attributes.

Definition at line 1027 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static bool vcg::tri::Allocator< AllocateMeshType >::IsValidHandle ( MeshType m,
const typename MeshType::template PerFaceAttributeHandle< ATTR_TYPE > &  a 
) [inline, static]

Per Face Attributes.

Definition at line 935 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static bool vcg::tri::Allocator< AllocateMeshType >::IsValidHandle ( MeshType m,
const typename MeshType::template PerEdgeAttributeHandle< ATTR_TYPE > &  a 
) [inline, static]

Per Edge Attributes.

Definition at line 850 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<class ATTR_TYPE >
static bool vcg::tri::Allocator< AllocateMeshType >::IsValidHandle ( MeshType m,
const typename MeshType::template PerVertexAttributeHandle< ATTR_TYPE > &  a 
) [inline, static]

Per Vertex Attributes.

Definition at line 752 of file trimesh/allocate.h.

template<class AllocateMeshType>
template<typename TYPE >
static std::vector<std::string> vcg::tri::Allocator< AllocateMeshType >::NamesWithType ( const NameTypeScope binders  )  [inline, static]

Definition at line 1257 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::PermutateVertexVector ( MeshType m,
std::vector< size_t > &  newVertIndex 
) [inline, static]

Definition at line 581 of file trimesh/allocate.h.

template<class AllocateMeshType>
static void vcg::tri::Allocator< AllocateMeshType >::RemoveTypeBound ( NameTypeScope binders,
std::string  name 
) [inline, static]

Definition at line 1250 of file trimesh/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:28 2013