vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType > Class Template Reference

#include <allocate.h>

List of all members.

Public Member Functions

void Clear ()
bool NeedUpdate ()
void Update (SimplexPointerType &vp)

Public Attributes

SimplexPointerType newBase
SimplexPointerType newEnd
SimplexPointerType oldBase
SimplexPointerType oldEnd
bool preventUpdateFlag

Detailed Description

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

This class is used when allocating new vertexes and faces to update the pointers that can be changed when resizing the involved vectors of vertex or faces. It can also be used to prevent any update of the various mesh fields (e.g. in case you are building all the connections by hand as in a importer);

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


Member Function Documentation

template<class AllocateMeshType >
template<class SimplexPointerType>
void vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType >::Clear (  )  [inline]

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

template<class AllocateMeshType >
template<class SimplexPointerType>
bool vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType >::NeedUpdate (  )  [inline]

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

template<class AllocateMeshType >
template<class SimplexPointerType>
void vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType >::Update ( SimplexPointerType &  vp  )  [inline]

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


Member Data Documentation

template<class AllocateMeshType >
template<class SimplexPointerType>
SimplexPointerType vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType >::newBase

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

template<class AllocateMeshType >
template<class SimplexPointerType>
SimplexPointerType vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType >::newEnd

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

template<class AllocateMeshType >
template<class SimplexPointerType>
SimplexPointerType vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType >::oldBase

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

template<class AllocateMeshType >
template<class SimplexPointerType>
SimplexPointerType vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType >::oldEnd

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

template<class AllocateMeshType >
template<class SimplexPointerType>
bool vcg::edg::Allocator< AllocateMeshType >::PointerUpdater< SimplexPointerType >::preventUpdateFlag

Definition at line 94 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