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

#include <allocate.h>

List of all members.

Public Member Functions

void Clear ()
bool NeedUpdate ()
 PointerUpdater (void)
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::tri::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 123 of file trimesh/allocate.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

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

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

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

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

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

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


Member Data Documentation

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

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

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

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

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

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

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

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

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

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