vcg::vrt::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::vrt::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 56 of file vertexmesh/allocate.h.


Member Function Documentation

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

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

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

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

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

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


Member Data Documentation

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

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

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

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

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

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

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

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

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

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