A a container for properties.
More...
|
typedef Properties::iterator | iterator |
|
typedef Properties::const_iterator | const_iterator |
|
|
size_t | _add (BaseProperty *_bp) |
|
BaseProperty & | _property (size_t _idx) |
|
const BaseProperty & | _property (size_t _idx) const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
A a container for properties.
Definition at line 67 of file MeshNode2T.cc.
void ACG::SceneGraph::OpenMesh::PropertyContainer::reserve |
( |
size_t |
_n | ) |
const |
|
inline |
Reserves space for _n
elements in all property vectors.
Definition at line 249 of file MeshNode2T.cc.
void ACG::SceneGraph::OpenMesh::PropertyContainer::resize |
( |
size_t |
_n | ) |
const |
|
inline |
Resizes all property vectors to the specified size.
Definition at line 256 of file MeshNode2T.cc.
void ACG::SceneGraph::OpenMesh::PropertyContainer::resize_if_smaller |
( |
size_t |
_n | ) |
const |
|
inline |
Same as
- See also
- resize() but ignores property vectors that have a size larger than
_n
.
Use this method instead of
- See also
- resize() if you plan to frequently reduce and enlarge the property container and you don't want to waste time reallocating the property vectors every time.
Definition at line 268 of file MeshNode2T.cc.
void ACG::SceneGraph::OpenMesh::PropertyContainer::swap |
( |
size_t |
_i0, |
|
|
size_t |
_i1 |
|
) |
| const |
|
inline |
Swaps the items with index _i0
and index _i1
in all property vectors.
Definition at line 276 of file MeshNode2T.cc.
The documentation for this class was generated from the following file: