#include <BaseKernel.hh>

Public Types | |
| typedef PropertyContainer::const_iterator | const_prop_iterator |
| typedef PropertyContainer::iterator | prop_iterator |
Public Member Functions | |
| size_t | _add_eprop (BaseProperty *_bp) |
| size_t | _add_fprop (BaseProperty *_bp) |
| size_t | _add_hprop (BaseProperty *_bp) |
| size_t | _add_mprop (BaseProperty *_bp) |
| size_t | _add_vprop (BaseProperty *_bp) |
| const BaseProperty & | _eprop (size_t _idx) const |
| BaseProperty & | _eprop (size_t _idx) |
| const BaseProperty & | _fprop (size_t _idx) const |
| BaseProperty & | _fprop (size_t _idx) |
| const BaseProperty * | _get_eprop (const std::string &_name) const |
| BaseProperty * | _get_eprop (const std::string &_name) |
| const BaseProperty * | _get_fprop (const std::string &_name) const |
| BaseProperty * | _get_fprop (const std::string &_name) |
| const BaseProperty * | _get_hprop (const std::string &_name) const |
| BaseProperty * | _get_hprop (const std::string &_name) |
| const BaseProperty * | _get_mprop (const std::string &_name) const |
| BaseProperty * | _get_mprop (const std::string &_name) |
| const BaseProperty * | _get_vprop (const std::string &_name) const |
| BaseProperty * | _get_vprop (const std::string &_name) |
| const BaseProperty & | _hprop (size_t _idx) const |
| BaseProperty & | _hprop (size_t _idx) |
| const BaseProperty & | _mprop (size_t _idx) const |
| BaseProperty & | _mprop (size_t _idx) |
| const BaseProperty & | _vprop (size_t _idx) const |
| BaseProperty & | _vprop (size_t _idx) |
| BaseKernel () | |
| void | eprop_stats (std::ostream &_ostr=std::clog) const |
| void | eprop_stats (std::string &_string) const |
| const_prop_iterator | eprops_begin () const |
| prop_iterator | eprops_begin () |
| const_prop_iterator | eprops_end () const |
| prop_iterator | eprops_end () |
| void | fprop_stats (std::ostream &_ostr=std::clog) const |
| void | fprop_stats (std::string &_string) const |
| const_prop_iterator | fprops_begin () const |
| prop_iterator | fprops_begin () |
| const_prop_iterator | fprops_end () const |
| prop_iterator | fprops_end () |
| void | hprop_stats (std::ostream &_ostr=std::clog) const |
| void | hprop_stats (std::string &_string) const |
| const_prop_iterator | hprops_begin () const |
| prop_iterator | hprops_begin () |
| const_prop_iterator | hprops_end () const |
| prop_iterator | hprops_end () |
| void | mprop_stats (std::ostream &_ostr=std::clog) const |
| void | mprop_stats (std::string &_string) const |
| const_prop_iterator | mprops_begin () const |
| prop_iterator | mprops_begin () |
| const_prop_iterator | mprops_end () const |
| prop_iterator | mprops_end () |
| virtual unsigned int | n_edges () const |
| size_t | n_eprops (void) const |
| virtual unsigned int | n_faces () const |
| size_t | n_fprops (void) const |
| virtual unsigned int | n_halfedges () const |
| size_t | n_hprops (void) const |
| size_t | n_mprops (void) const |
| virtual unsigned int | n_vertices () const |
| size_t | n_vprops (void) const |
| void | property_stats (std::ostream &_ostr=std::clog) const |
| void | vprop_stats (std::ostream &_ostr=std::clog) const |
| void | vprop_stats (std::string &_string) const |
| const_prop_iterator | vprops_begin () const |
| prop_iterator | vprops_begin () |
| const_prop_iterator | vprops_end () const |
| prop_iterator | vprops_end () |
| virtual | ~BaseKernel () |
Add a property to a mesh item | |
| template<class T > | |
| void | add_property (MPropHandleT< T > &_ph, const std::string &_name="<mprop>") |
| template<class T > | |
| void | add_property (FPropHandleT< T > &_ph, const std::string &_name="<fprop>") |
| template<class T > | |
| void | add_property (EPropHandleT< T > &_ph, const std::string &_name="<eprop>") |
| template<class T > | |
| void | add_property (HPropHandleT< T > &_ph, const std::string &_name="<hprop>") |
| template<class T > | |
| void | add_property (VPropHandleT< T > &_ph, const std::string &_name="<vprop>") |
Get property handle by name | |
| template<class T > | |
| bool | get_property_handle (MPropHandleT< T > &_ph, const std::string &_name) const |
| template<class T > | |
| bool | get_property_handle (FPropHandleT< T > &_ph, const std::string &_name) const |
| template<class T > | |
| bool | get_property_handle (EPropHandleT< T > &_ph, const std::string &_name) const |
| template<class T > | |
| bool | get_property_handle (HPropHandleT< T > &_ph, const std::string &_name) const |
| template<class T > | |
| bool | get_property_handle (VPropHandleT< T > &_ph, const std::string &_name) const |
Access a property | |
| template<class T > | |
| const PropertyT< T > & | mproperty (MPropHandleT< T > _ph) const |
| template<class T > | |
| PropertyT< T > & | mproperty (MPropHandleT< T > _ph) |
| template<class T > | |
| const PropertyT< T > & | property (FPropHandleT< T > _ph) const |
| template<class T > | |
| PropertyT< T > & | property (FPropHandleT< T > _ph) |
| template<class T > | |
| const PropertyT< T > & | property (EPropHandleT< T > _ph) const |
| template<class T > | |
| PropertyT< T > & | property (EPropHandleT< T > _ph) |
| template<class T > | |
| const PropertyT< T > & | property (HPropHandleT< T > _ph) const |
| template<class T > | |
| PropertyT< T > & | property (HPropHandleT< T > _ph) |
| template<class T > | |
| const PropertyT< T > & | property (VPropHandleT< T > _ph) const |
| template<class T > | |
| PropertyT< T > & | property (VPropHandleT< T > _ph) |
Access a property element using a handle to a mesh item | |
| template<class T > | |
| MPropHandleT< T >::const_reference | property (MPropHandleT< T > _ph) const |
| template<class T > | |
| MPropHandleT< T >::reference | property (MPropHandleT< T > _ph) |
| template<class T > | |
| FPropHandleT< T >::const_reference | property (FPropHandleT< T > _ph, FaceHandle _fh) const |
| template<class T > | |
| FPropHandleT< T >::reference | property (FPropHandleT< T > _ph, FaceHandle _fh) |
| template<class T > | |
| EPropHandleT< T >::const_reference | property (EPropHandleT< T > _ph, EdgeHandle _eh) const |
| template<class T > | |
| EPropHandleT< T >::reference | property (EPropHandleT< T > _ph, EdgeHandle _eh) |
| template<class T > | |
| HPropHandleT< T >::const_reference | property (HPropHandleT< T > _ph, HalfedgeHandle _hh) const |
| template<class T > | |
| HPropHandleT< T >::reference | property (HPropHandleT< T > _ph, HalfedgeHandle _hh) |
| template<class T > | |
| VPropHandleT< T >::const_reference | property (VPropHandleT< T > _ph, VertexHandle _vh) const |
| template<class T > | |
| VPropHandleT< T >::reference | property (VPropHandleT< T > _ph, VertexHandle _vh) |
Removing a property from a mesh tiem | |
| template<typename T > | |
| void | remove_property (MPropHandleT< T > &_ph) |
| template<typename T > | |
| void | remove_property (FPropHandleT< T > &_ph) |
| template<typename T > | |
| void | remove_property (EPropHandleT< T > &_ph) |
| template<typename T > | |
| void | remove_property (HPropHandleT< T > &_ph) |
| template<typename T > | |
| void | remove_property (VPropHandleT< T > &_ph) |
Protected Member Functions | |
| const BaseProperty & | _eprop (BaseHandle _h) const |
| BaseProperty & | _eprop (BaseHandle _h) |
| const BaseProperty & | _fprop (BaseHandle _h) const |
| BaseProperty & | _fprop (BaseHandle _h) |
| const BaseProperty & | _hprop (BaseHandle _h) const |
| BaseProperty & | _hprop (BaseHandle _h) |
| const BaseProperty & | _mprop (BaseHandle _h) const |
| BaseProperty & | _mprop (BaseHandle _h) |
| const BaseProperty & | _vprop (BaseHandle _h) const |
| BaseProperty & | _vprop (BaseHandle _h) |
| void | eprops_clear () |
| void | eprops_reserve (unsigned int _n) const |
| void | eprops_resize (unsigned int _n) const |
| void | eprops_swap (unsigned int _i0, unsigned int _i1) const |
| void | fprops_clear () |
| void | fprops_reserve (unsigned int _n) const |
| void | fprops_resize (unsigned int _n) const |
| void | fprops_swap (unsigned int _i0, unsigned int _i1) const |
| void | hprops_clear () |
| void | hprops_reserve (unsigned int _n) const |
| void | hprops_resize (unsigned int _n) const |
| void | hprops_swap (unsigned int _i0, unsigned int _i1) const |
| void | mprops_clear () |
| void | mprops_resize (unsigned int _n) const |
| void | vprops_clear () |
| void | vprops_reserve (unsigned int _n) const |
| void | vprops_resize (unsigned int _n) const |
| void | vprops_swap (unsigned int _i0, unsigned int _i1) const |
Private Attributes | |
| PropertyContainer | eprops_ |
| PropertyContainer | fprops_ |
| PropertyContainer | hprops_ |
| PropertyContainer | mprops_ |
| PropertyContainer | vprops_ |
This class provides the basic property management like adding/removing properties and access to properties. All operations provided by BaseKernel need at least a property handle (VPropHandleT, EPropHandleT, HPropHandleT, FPropHandleT, MPropHandleT). which keeps the data type of the property, too.
There are two types of properties:
The differentiation is only semantically, technically both are equally handled. Therefore the methods provided by the BaseKernel are applicable to both property types.
Definition at line 91 of file BaseKernel.hh.
Definition at line 570 of file BaseKernel.hh.
Definition at line 569 of file BaseKernel.hh.
| OpenMesh::BaseKernel::BaseKernel | ( | ) | [inline] |
Definition at line 95 of file BaseKernel.hh.
| virtual OpenMesh::BaseKernel::~BaseKernel | ( | ) | [inline, virtual] |
Definition at line 96 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::_add_eprop | ( | BaseProperty * | _bp | ) | [inline] |
Definition at line 469 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::_add_fprop | ( | BaseProperty * | _bp | ) | [inline] |
Definition at line 471 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::_add_hprop | ( | BaseProperty * | _bp | ) | [inline] |
Definition at line 470 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::_add_mprop | ( | BaseProperty * | _bp | ) | [inline] |
Definition at line 472 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::_add_vprop | ( | BaseProperty * | _bp | ) | [inline] |
Definition at line 468 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_eprop | ( | BaseHandle | _h | ) | const [inline, protected] |
Definition at line 489 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_eprop | ( | BaseHandle | _h | ) | [inline, protected] |
Definition at line 478 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_eprop | ( | size_t | _idx | ) | const [inline] |
Definition at line 459 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_eprop | ( | size_t | _idx | ) | [inline] |
Definition at line 452 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_fprop | ( | BaseHandle | _h | ) | const [inline, protected] |
Definition at line 493 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_fprop | ( | BaseHandle | _h | ) | [inline, protected] |
Definition at line 482 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_fprop | ( | size_t | _idx | ) | const [inline] |
Definition at line 463 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_fprop | ( | size_t | _idx | ) | [inline] |
Definition at line 454 of file BaseKernel.hh.
| const BaseProperty* OpenMesh::BaseKernel::_get_eprop | ( | const std::string & | _name | ) | const [inline] |
Definition at line 439 of file BaseKernel.hh.
| BaseProperty* OpenMesh::BaseKernel::_get_eprop | ( | const std::string & | _name | ) | [inline] |
Definition at line 424 of file BaseKernel.hh.
| const BaseProperty* OpenMesh::BaseKernel::_get_fprop | ( | const std::string & | _name | ) | const [inline] |
Definition at line 445 of file BaseKernel.hh.
| BaseProperty* OpenMesh::BaseKernel::_get_fprop | ( | const std::string & | _name | ) | [inline] |
Definition at line 430 of file BaseKernel.hh.
| const BaseProperty* OpenMesh::BaseKernel::_get_hprop | ( | const std::string & | _name | ) | const [inline] |
Definition at line 442 of file BaseKernel.hh.
| BaseProperty* OpenMesh::BaseKernel::_get_hprop | ( | const std::string & | _name | ) | [inline] |
Definition at line 427 of file BaseKernel.hh.
| const BaseProperty* OpenMesh::BaseKernel::_get_mprop | ( | const std::string & | _name | ) | const [inline] |
Definition at line 448 of file BaseKernel.hh.
| BaseProperty* OpenMesh::BaseKernel::_get_mprop | ( | const std::string & | _name | ) | [inline] |
Definition at line 433 of file BaseKernel.hh.
| const BaseProperty* OpenMesh::BaseKernel::_get_vprop | ( | const std::string & | _name | ) | const [inline] |
Definition at line 436 of file BaseKernel.hh.
| BaseProperty* OpenMesh::BaseKernel::_get_vprop | ( | const std::string & | _name | ) | [inline] |
Definition at line 421 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_hprop | ( | BaseHandle | _h | ) | const [inline, protected] |
Definition at line 491 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_hprop | ( | BaseHandle | _h | ) | [inline, protected] |
Definition at line 480 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_hprop | ( | size_t | _idx | ) | const [inline] |
Definition at line 461 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_hprop | ( | size_t | _idx | ) | [inline] |
Definition at line 453 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_mprop | ( | BaseHandle | _h | ) | const [inline, protected] |
Definition at line 495 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_mprop | ( | BaseHandle | _h | ) | [inline, protected] |
Definition at line 484 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_mprop | ( | size_t | _idx | ) | const [inline] |
Definition at line 465 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_mprop | ( | size_t | _idx | ) | [inline] |
Definition at line 455 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_vprop | ( | BaseHandle | _h | ) | const [inline, protected] |
Definition at line 487 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_vprop | ( | BaseHandle | _h | ) | [inline, protected] |
Definition at line 476 of file BaseKernel.hh.
| const BaseProperty& OpenMesh::BaseKernel::_vprop | ( | size_t | _idx | ) | const [inline] |
Definition at line 457 of file BaseKernel.hh.
| BaseProperty& OpenMesh::BaseKernel::_vprop | ( | size_t | _idx | ) | [inline] |
Definition at line 451 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::add_property | ( | MPropHandleT< T > & | _ph, | |
| const std::string & | _name = "<mprop>" | |||
| ) | [inline] |
Definition at line 159 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::add_property | ( | FPropHandleT< T > & | _ph, | |
| const std::string & | _name = "<fprop>" | |||
| ) | [inline] |
Definition at line 152 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::add_property | ( | EPropHandleT< T > & | _ph, | |
| const std::string & | _name = "<eprop>" | |||
| ) | [inline] |
Definition at line 145 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::add_property | ( | HPropHandleT< T > & | _ph, | |
| const std::string & | _name = "<hprop>" | |||
| ) | [inline] |
Definition at line 138 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::add_property | ( | VPropHandleT< T > & | _ph, | |
| const std::string & | _name = "<vprop>" | |||
| ) | [inline] |
Adds a property
Depending on the property handle type a vertex, (half-)edge, face or mesh property is added to the mesh. If the action fails the handle is invalid. On success the handle must be used to access the property data with property().
| _ph | A property handle defining the data type to bind to mesh. On success the handle is valid else invalid. | |
| _name | Optional name of property. Following restrictions apply to the name:
|
true on success else false. Definition at line 131 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::eprop_stats | ( | std::ostream & | _ostr = std::clog |
) | const |
| void OpenMesh::BaseKernel::eprop_stats | ( | std::string & | _string | ) | const |
| const_prop_iterator OpenMesh::BaseKernel::eprops_begin | ( | ) | const [inline] |
Definition at line 579 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::eprops_begin | ( | ) | [inline] |
Definition at line 577 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::eprops_clear | ( | ) | [inline, protected] |
Definition at line 530 of file BaseKernel.hh.
| const_prop_iterator OpenMesh::BaseKernel::eprops_end | ( | ) | const [inline] |
Definition at line 580 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::eprops_end | ( | ) | [inline] |
Definition at line 578 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::eprops_reserve | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 528 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::eprops_resize | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 529 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::eprops_swap | ( | unsigned int | _i0, | |
| unsigned int | _i1 | |||
| ) | const [inline, protected] |
Definition at line 533 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::fprop_stats | ( | std::ostream & | _ostr = std::clog |
) | const |
| void OpenMesh::BaseKernel::fprop_stats | ( | std::string & | _string | ) | const |
| const_prop_iterator OpenMesh::BaseKernel::fprops_begin | ( | ) | const [inline] |
Definition at line 589 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::fprops_begin | ( | ) | [inline] |
Definition at line 587 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::fprops_clear | ( | ) | [inline, protected] |
Definition at line 539 of file BaseKernel.hh.
| const_prop_iterator OpenMesh::BaseKernel::fprops_end | ( | ) | const [inline] |
Definition at line 590 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::fprops_end | ( | ) | [inline] |
Definition at line 588 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::fprops_reserve | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 537 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::fprops_resize | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 538 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::fprops_swap | ( | unsigned int | _i0, | |
| unsigned int | _i1 | |||
| ) | const [inline, protected] |
Definition at line 542 of file BaseKernel.hh.
| bool OpenMesh::BaseKernel::get_property_handle | ( | MPropHandleT< T > & | _ph, | |
| const std::string & | _name | |||
| ) | const [inline] |
Definition at line 264 of file BaseKernel.hh.
| bool OpenMesh::BaseKernel::get_property_handle | ( | FPropHandleT< T > & | _ph, | |
| const std::string & | _name | |||
| ) | const [inline] |
Definition at line 257 of file BaseKernel.hh.
| bool OpenMesh::BaseKernel::get_property_handle | ( | EPropHandleT< T > & | _ph, | |
| const std::string & | _name | |||
| ) | const [inline] |
Definition at line 250 of file BaseKernel.hh.
| bool OpenMesh::BaseKernel::get_property_handle | ( | HPropHandleT< T > & | _ph, | |
| const std::string & | _name | |||
| ) | const [inline] |
Definition at line 243 of file BaseKernel.hh.
| bool OpenMesh::BaseKernel::get_property_handle | ( | VPropHandleT< T > & | _ph, | |
| const std::string & | _name | |||
| ) | const [inline] |
Retrieves the handle to a named property by it's name.
| _ph | A property handle. On success the handle is valid else invalid. | |
| _name | Name of wanted property. |
true if such a named property is available, else false. Definition at line 236 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::hprop_stats | ( | std::ostream & | _ostr = std::clog |
) | const |
| void OpenMesh::BaseKernel::hprop_stats | ( | std::string & | _string | ) | const |
| const_prop_iterator OpenMesh::BaseKernel::hprops_begin | ( | ) | const [inline] |
Definition at line 584 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::hprops_begin | ( | ) | [inline] |
Definition at line 582 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::hprops_clear | ( | ) | [inline, protected] |
Definition at line 521 of file BaseKernel.hh.
| const_prop_iterator OpenMesh::BaseKernel::hprops_end | ( | ) | const [inline] |
Definition at line 585 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::hprops_end | ( | ) | [inline] |
Definition at line 583 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::hprops_reserve | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 519 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::hprops_resize | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 520 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::hprops_swap | ( | unsigned int | _i0, | |
| unsigned int | _i1 | |||
| ) | const [inline, protected] |
Definition at line 524 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::mprop_stats | ( | std::ostream & | _ostr = std::clog |
) | const |
| void OpenMesh::BaseKernel::mprop_stats | ( | std::string & | _string | ) | const |
| const PropertyT<T>& OpenMesh::BaseKernel::mproperty | ( | MPropHandleT< T > | _ph | ) | const [inline] |
Definition at line 327 of file BaseKernel.hh.
| PropertyT<T>& OpenMesh::BaseKernel::mproperty | ( | MPropHandleT< T > | _ph | ) | [inline] |
Definition at line 323 of file BaseKernel.hh.
| const_prop_iterator OpenMesh::BaseKernel::mprops_begin | ( | ) | const [inline] |
Definition at line 594 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::mprops_begin | ( | ) | [inline] |
Definition at line 592 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::mprops_clear | ( | ) | [inline, protected] |
Definition at line 547 of file BaseKernel.hh.
| const_prop_iterator OpenMesh::BaseKernel::mprops_end | ( | ) | const [inline] |
Definition at line 595 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::mprops_end | ( | ) | [inline] |
Definition at line 593 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::mprops_resize | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 546 of file BaseKernel.hh.
| virtual unsigned int OpenMesh::BaseKernel::n_edges | ( | ) | const [inline, virtual] |
Reimplemented in OpenMesh::ArrayKernel.
Definition at line 504 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::n_eprops | ( | void | ) | const [inline] |
Definition at line 413 of file BaseKernel.hh.
| virtual unsigned int OpenMesh::BaseKernel::n_faces | ( | ) | const [inline, virtual] |
Reimplemented in OpenMesh::ArrayKernel.
Definition at line 505 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::n_fprops | ( | void | ) | const [inline] |
Definition at line 417 of file BaseKernel.hh.
| virtual unsigned int OpenMesh::BaseKernel::n_halfedges | ( | ) | const [inline, virtual] |
Reimplemented in OpenMesh::ArrayKernel.
Definition at line 503 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::n_hprops | ( | void | ) | const [inline] |
Definition at line 415 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::n_mprops | ( | void | ) | const [inline] |
Definition at line 419 of file BaseKernel.hh.
| virtual unsigned int OpenMesh::BaseKernel::n_vertices | ( | ) | const [inline, virtual] |
Reimplemented in OpenMesh::ArrayKernel.
Definition at line 502 of file BaseKernel.hh.
| size_t OpenMesh::BaseKernel::n_vprops | ( | void | ) | const [inline] |
Definition at line 411 of file BaseKernel.hh.
| MPropHandleT<T>::const_reference OpenMesh::BaseKernel::property | ( | MPropHandleT< T > | _ph | ) | const [inline] |
Definition at line 401 of file BaseKernel.hh.
| MPropHandleT<T>::reference OpenMesh::BaseKernel::property | ( | MPropHandleT< T > | _ph | ) | [inline] |
Definition at line 395 of file BaseKernel.hh.
| FPropHandleT<T>::const_reference OpenMesh::BaseKernel::property | ( | FPropHandleT< T > | _ph, | |
| FaceHandle | _fh | |||
| ) | const [inline] |
Definition at line 388 of file BaseKernel.hh.
| FPropHandleT<T>::reference OpenMesh::BaseKernel::property | ( | FPropHandleT< T > | _ph, | |
| FaceHandle | _fh | |||
| ) | [inline] |
Definition at line 382 of file BaseKernel.hh.
| EPropHandleT<T>::const_reference OpenMesh::BaseKernel::property | ( | EPropHandleT< T > | _ph, | |
| EdgeHandle | _eh | |||
| ) | const [inline] |
Definition at line 375 of file BaseKernel.hh.
| EPropHandleT<T>::reference OpenMesh::BaseKernel::property | ( | EPropHandleT< T > | _ph, | |
| EdgeHandle | _eh | |||
| ) | [inline] |
Definition at line 369 of file BaseKernel.hh.
| HPropHandleT<T>::const_reference OpenMesh::BaseKernel::property | ( | HPropHandleT< T > | _ph, | |
| HalfedgeHandle | _hh | |||
| ) | const [inline] |
Definition at line 362 of file BaseKernel.hh.
| HPropHandleT<T>::reference OpenMesh::BaseKernel::property | ( | HPropHandleT< T > | _ph, | |
| HalfedgeHandle | _hh | |||
| ) | [inline] |
Definition at line 356 of file BaseKernel.hh.
| VPropHandleT<T>::const_reference OpenMesh::BaseKernel::property | ( | VPropHandleT< T > | _ph, | |
| VertexHandle | _vh | |||
| ) | const [inline] |
Definition at line 349 of file BaseKernel.hh.
| VPropHandleT<T>::reference OpenMesh::BaseKernel::property | ( | VPropHandleT< T > | _ph, | |
| VertexHandle | _vh | |||
| ) | [inline] |
Return value of property for an item
Definition at line 343 of file BaseKernel.hh.
| const PropertyT<T>& OpenMesh::BaseKernel::property | ( | FPropHandleT< T > | _ph | ) | const [inline] |
Definition at line 318 of file BaseKernel.hh.
| PropertyT<T>& OpenMesh::BaseKernel::property | ( | FPropHandleT< T > | _ph | ) | [inline] |
Definition at line 314 of file BaseKernel.hh.
| const PropertyT<T>& OpenMesh::BaseKernel::property | ( | EPropHandleT< T > | _ph | ) | const [inline] |
Definition at line 309 of file BaseKernel.hh.
| PropertyT<T>& OpenMesh::BaseKernel::property | ( | EPropHandleT< T > | _ph | ) | [inline] |
Definition at line 305 of file BaseKernel.hh.
| const PropertyT<T>& OpenMesh::BaseKernel::property | ( | HPropHandleT< T > | _ph | ) | const [inline] |
Definition at line 300 of file BaseKernel.hh.
| PropertyT<T>& OpenMesh::BaseKernel::property | ( | HPropHandleT< T > | _ph | ) | [inline] |
Definition at line 296 of file BaseKernel.hh.
| const PropertyT<T>& OpenMesh::BaseKernel::property | ( | VPropHandleT< T > | _ph | ) | const [inline] |
Definition at line 291 of file BaseKernel.hh.
| PropertyT<T>& OpenMesh::BaseKernel::property | ( | VPropHandleT< T > | _ph | ) | [inline] |
Access a property
This method returns a reference to property. The property handle must be valid! The result is unpredictable if the handle is invalid!
| _ph | A valid (!) property handle. |
Definition at line 287 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::property_stats | ( | std::ostream & | _ostr = std::clog |
) | const |
| void OpenMesh::BaseKernel::remove_property | ( | MPropHandleT< T > & | _ph | ) | [inline] |
Definition at line 213 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::remove_property | ( | FPropHandleT< T > & | _ph | ) | [inline] |
Definition at line 205 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::remove_property | ( | EPropHandleT< T > & | _ph | ) | [inline] |
Definition at line 197 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::remove_property | ( | HPropHandleT< T > & | _ph | ) | [inline] |
Definition at line 189 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::remove_property | ( | VPropHandleT< T > & | _ph | ) | [inline] |
Remove a property.
Removes the property represented by the handle from the apropriate mesh item.
| _ph | Property to be removed. The handle is invalid afterwords. |
Definition at line 181 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::vprop_stats | ( | std::ostream & | _ostr = std::clog |
) | const |
| void OpenMesh::BaseKernel::vprop_stats | ( | std::string & | _string | ) | const |
| const_prop_iterator OpenMesh::BaseKernel::vprops_begin | ( | ) | const [inline] |
Definition at line 574 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::vprops_begin | ( | ) | [inline] |
Definition at line 572 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::vprops_clear | ( | ) | [inline, protected] |
Definition at line 512 of file BaseKernel.hh.
| const_prop_iterator OpenMesh::BaseKernel::vprops_end | ( | ) | const [inline] |
Definition at line 575 of file BaseKernel.hh.
| prop_iterator OpenMesh::BaseKernel::vprops_end | ( | ) | [inline] |
Definition at line 573 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::vprops_reserve | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 510 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::vprops_resize | ( | unsigned int | _n | ) | const [inline, protected] |
Definition at line 511 of file BaseKernel.hh.
| void OpenMesh::BaseKernel::vprops_swap | ( | unsigned int | _i0, | |
| unsigned int | _i1 | |||
| ) | const [inline, protected] |
Definition at line 515 of file BaseKernel.hh.
Definition at line 601 of file BaseKernel.hh.
Definition at line 602 of file BaseKernel.hh.
Definition at line 600 of file BaseKernel.hh.
Definition at line 603 of file BaseKernel.hh.
Definition at line 599 of file BaseKernel.hh.