Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
OpenMesh::BaseKernel Class Reference

#include <libs_required/OpenMesh/src/OpenMesh/Core/Mesh/BaseKernel.hh>

Inheritance diagram for OpenMesh::BaseKernel:
OpenMesh::ArrayKernel OpenMesh::Kernel_OSG::PropertyKernel< IsTriMesh > OpenMesh::Kernel_OSG::PropertyKernel< MeshItems::Face::IsTriangle > OpenMesh::PolyConnectivity OpenMesh::Kernel_OSG::AttribKernelT< MeshItems > OpenMesh::TriConnectivity

Public Types

typedef PropertyContainer::iterator prop_iterator
 
typedef
PropertyContainer::const_iterator 
const_prop_iterator
 

Public Member Functions

template<class T >
void copy_property (VPropHandleT< T > &_ph, VertexHandle _vh_from, VertexHandle _vh_to)
 
template<class T >
void copy_property (HPropHandleT< T > _ph, HalfedgeHandle _hh_from, HalfedgeHandle _hh_to)
 
template<class T >
void copy_property (EPropHandleT< T > _ph, EdgeHandle _eh_from, EdgeHandle _eh_to)
 
template<class T >
void copy_property (FPropHandleT< T > _ph, FaceHandle _fh_from, FaceHandle _fh_to)
 
void copy_all_properties (VertexHandle _vh_from, VertexHandle _vh_to, bool _copyBuildIn=false)
 
void copy_all_properties (HalfedgeHandle _hh_from, HalfedgeHandle _hh_to, bool _copyBuildIn=false)
 
void copy_all_properties (EdgeHandle _eh_from, EdgeHandle _eh_to, bool _copyBuildIn=false)
 
void copy_all_properties (FaceHandle _fh_from, FaceHandle _fh_to, bool _copyBuildIn=false)
 
size_t n_vprops (void) const
 
size_t n_eprops (void) const
 
size_t n_hprops (void) const
 
size_t n_fprops (void) const
 
size_t n_mprops (void) const
 
BaseProperty_get_vprop (const std::string &_name)
 
BaseProperty_get_eprop (const std::string &_name)
 
BaseProperty_get_hprop (const std::string &_name)
 
BaseProperty_get_fprop (const std::string &_name)
 
BaseProperty_get_mprop (const std::string &_name)
 
const BaseProperty_get_vprop (const std::string &_name) const
 
const BaseProperty_get_eprop (const std::string &_name) const
 
const BaseProperty_get_hprop (const std::string &_name) const
 
const BaseProperty_get_fprop (const std::string &_name) const
 
const BaseProperty_get_mprop (const std::string &_name) const
 
BaseProperty_vprop (size_t _idx)
 
BaseProperty_eprop (size_t _idx)
 
BaseProperty_hprop (size_t _idx)
 
BaseProperty_fprop (size_t _idx)
 
BaseProperty_mprop (size_t _idx)
 
const BaseProperty_vprop (size_t _idx) const
 
const BaseProperty_eprop (size_t _idx) const
 
const BaseProperty_hprop (size_t _idx) const
 
const BaseProperty_fprop (size_t _idx) const
 
const BaseProperty_mprop (size_t _idx) const
 
size_t _add_vprop (BaseProperty *_bp)
 
size_t _add_eprop (BaseProperty *_bp)
 
size_t _add_hprop (BaseProperty *_bp)
 
size_t _add_fprop (BaseProperty *_bp)
 
size_t _add_mprop (BaseProperty *_bp)
 
virtual size_t n_vertices () const
 
virtual size_t n_halfedges () const
 
virtual size_t n_edges () const
 
virtual size_t n_faces () const
 
void property_stats (std::ostream &_ostr=std::clog) const
 
void vprop_stats (std::string &_string) const
 
void hprop_stats (std::string &_string) const
 
void eprop_stats (std::string &_string) const
 
void fprop_stats (std::string &_string) const
 
void mprop_stats (std::string &_string) const
 
void vprop_stats (std::ostream &_ostr=std::clog) const
 
void hprop_stats (std::ostream &_ostr=std::clog) const
 
void eprop_stats (std::ostream &_ostr=std::clog) const
 
void fprop_stats (std::ostream &_ostr=std::clog) const
 
void mprop_stats (std::ostream &_ostr=std::clog) const
 
prop_iterator vprops_begin ()
 
prop_iterator vprops_end ()
 
const_prop_iterator vprops_begin () const
 
const_prop_iterator vprops_end () const
 
prop_iterator eprops_begin ()
 
prop_iterator eprops_end ()
 
const_prop_iterator eprops_begin () const
 
const_prop_iterator eprops_end () const
 
prop_iterator hprops_begin ()
 
prop_iterator hprops_end ()
 
const_prop_iterator hprops_begin () const
 
const_prop_iterator hprops_end () const
 
prop_iterator fprops_begin ()
 
prop_iterator fprops_end ()
 
const_prop_iterator fprops_begin () const
 
const_prop_iterator fprops_end () const
 
prop_iterator mprops_begin ()
 
prop_iterator mprops_end ()
 
const_prop_iterator mprops_begin () const
 
const_prop_iterator mprops_end () const
 
Add a property to a mesh item
template<class T >
void add_property (VPropHandleT< T > &_ph, const std::string &_name="<vprop>")
 
template<class T >
void add_property (HPropHandleT< T > &_ph, const std::string &_name="<hprop>")
 
template<class T >
void add_property (EPropHandleT< T > &_ph, const std::string &_name="<eprop>")
 
template<class T >
void add_property (FPropHandleT< T > &_ph, const std::string &_name="<fprop>")
 
template<class T >
void add_property (MPropHandleT< T > &_ph, const std::string &_name="<mprop>")
 
Removing a property from a mesh tiem
template<typename T >
void remove_property (VPropHandleT< T > &_ph)
 
template<typename T >
void remove_property (HPropHandleT< T > &_ph)
 
template<typename T >
void remove_property (EPropHandleT< T > &_ph)
 
template<typename T >
void remove_property (FPropHandleT< T > &_ph)
 
template<typename T >
void remove_property (MPropHandleT< T > &_ph)
 
Get property handle by name
template<class T >
bool get_property_handle (VPropHandleT< 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 (EPropHandleT< 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 (MPropHandleT< T > &_ph, const std::string &_name) const
 
Access a property
template<class T >
PropertyT< T > & property (VPropHandleT< T > _ph)
 
template<class T >
const PropertyT< T > & property (VPropHandleT< T > _ph) const
 
template<class T >
PropertyT< T > & property (HPropHandleT< T > _ph)
 
template<class T >
const PropertyT< T > & property (HPropHandleT< T > _ph) const
 
template<class T >
PropertyT< T > & property (EPropHandleT< T > _ph)
 
template<class T >
const PropertyT< T > & property (EPropHandleT< T > _ph) const
 
template<class T >
PropertyT< T > & property (FPropHandleT< T > _ph)
 
template<class T >
const PropertyT< T > & property (FPropHandleT< T > _ph) const
 
template<class T >
PropertyT< T > & mproperty (MPropHandleT< T > _ph)
 
template<class T >
const PropertyT< T > & mproperty (MPropHandleT< T > _ph) const
 
Access a property element using a handle to a mesh item
template<class T >
VPropHandleT< T >::reference property (VPropHandleT< T > _ph, VertexHandle _vh)
 
template<class T >
VPropHandleT< T >::const_reference property (VPropHandleT< T > _ph, VertexHandle _vh) const
 
template<class T >
HPropHandleT< T >::reference property (HPropHandleT< T > _ph, HalfedgeHandle _hh)
 
template<class T >
HPropHandleT< T >::const_reference property (HPropHandleT< T > _ph, HalfedgeHandle _hh) const
 
template<class T >
EPropHandleT< T >::reference property (EPropHandleT< T > _ph, EdgeHandle _eh)
 
template<class T >
EPropHandleT< T >::const_reference property (EPropHandleT< T > _ph, EdgeHandle _eh) const
 
template<class T >
FPropHandleT< T >::reference property (FPropHandleT< T > _ph, FaceHandle _fh)
 
template<class T >
FPropHandleT< T >::const_reference property (FPropHandleT< T > _ph, FaceHandle _fh) const
 
template<class T >
MPropHandleT< T >::reference property (MPropHandleT< T > _ph)
 
template<class T >
MPropHandleT< T >::const_reference property (MPropHandleT< T > _ph) const
 

Protected Member Functions

BaseProperty_vprop (BaseHandle _h)
 
BaseProperty_eprop (BaseHandle _h)
 
BaseProperty_hprop (BaseHandle _h)
 
BaseProperty_fprop (BaseHandle _h)
 
BaseProperty_mprop (BaseHandle _h)
 
const BaseProperty_vprop (BaseHandle _h) const
 
const BaseProperty_eprop (BaseHandle _h) const
 
const BaseProperty_hprop (BaseHandle _h) const
 
const BaseProperty_fprop (BaseHandle _h) const
 
const BaseProperty_mprop (BaseHandle _h) const
 
void vprops_reserve (size_t _n) const
 
void vprops_resize (size_t _n) const
 
void vprops_clear ()
 
void vprops_swap (unsigned int _i0, unsigned int _i1) const
 
void hprops_reserve (size_t _n) const
 
void hprops_resize (size_t _n) const
 
void hprops_clear ()
 
void hprops_swap (unsigned int _i0, unsigned int _i1) const
 
void eprops_reserve (size_t _n) const
 
void eprops_resize (size_t _n) const
 
void eprops_clear ()
 
void eprops_swap (unsigned int _i0, unsigned int _i1) const
 
void fprops_reserve (size_t _n) const
 
void fprops_resize (size_t _n) const
 
void fprops_clear ()
 
void fprops_swap (unsigned int _i0, unsigned int _i1) const
 
void mprops_resize (size_t _n) const
 
void mprops_clear ()
 

Private Attributes

PropertyContainer vprops_
 
PropertyContainer hprops_
 
PropertyContainer eprops_
 
PropertyContainer fprops_
 
PropertyContainer mprops_
 

Detailed Description

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:

  1. Standard properties - mesh data (e.g. vertex normal or face color)
  2. Custom properties - user defined data

The differentiation is only semantically, technically both are equally handled. Therefore the methods provided by the BaseKernel are applicable to both property types.

Attention
Since the class PolyMeshT derives from a kernel, hence all public elements of BaseKernel are usable.

Definition at line 91 of file BaseKernel.hh.

Member Function Documentation

template<class T >
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().

Parameters
_phA property handle defining the data type to bind to mesh. On success the handle is valid else invalid.
_nameOptional name of property. Following restrictions apply to the name:
  1. Maximum length of name is 256 characters
  2. The prefixes matching "^[vhefm]:" are reserved for internal usage.
  3. The expression "^<.*>$" is reserved for internal usage.

Definition at line 130 of file BaseKernel.hh.

template<class T >
void OpenMesh::BaseKernel::add_property ( HPropHandleT< T > &  _ph,
const std::string &  _name = "<hprop>" 
)
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().

Parameters
_phA property handle defining the data type to bind to mesh. On success the handle is valid else invalid.
_nameOptional name of property. Following restrictions apply to the name:
  1. Maximum length of name is 256 characters
  2. The prefixes matching "^[vhefm]:" are reserved for internal usage.
  3. The expression "^<.*>$" is reserved for internal usage.

Definition at line 137 of file BaseKernel.hh.

template<class T >
void OpenMesh::BaseKernel::add_property ( EPropHandleT< T > &  _ph,
const std::string &  _name = "<eprop>" 
)
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().

Parameters
_phA property handle defining the data type to bind to mesh. On success the handle is valid else invalid.
_nameOptional name of property. Following restrictions apply to the name:
  1. Maximum length of name is 256 characters
  2. The prefixes matching "^[vhefm]:" are reserved for internal usage.
  3. The expression "^<.*>$" is reserved for internal usage.

Definition at line 144 of file BaseKernel.hh.

template<class T >
void OpenMesh::BaseKernel::add_property ( FPropHandleT< T > &  _ph,
const std::string &  _name = "<fprop>" 
)
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().

Parameters
_phA property handle defining the data type to bind to mesh. On success the handle is valid else invalid.
_nameOptional name of property. Following restrictions apply to the name:
  1. Maximum length of name is 256 characters
  2. The prefixes matching "^[vhefm]:" are reserved for internal usage.
  3. The expression "^<.*>$" is reserved for internal usage.

Definition at line 151 of file BaseKernel.hh.

template<class T >
void OpenMesh::BaseKernel::add_property ( MPropHandleT< T > &  _ph,
const std::string &  _name = "<mprop>" 
)
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().

Parameters
_phA property handle defining the data type to bind to mesh. On success the handle is valid else invalid.
_nameOptional name of property. Following restrictions apply to the name:
  1. Maximum length of name is 256 characters
  2. The prefixes matching "^[vhefm]:" are reserved for internal usage.
  3. The expression "^<.*>$" is reserved for internal usage.

Definition at line 158 of file BaseKernel.hh.

void OpenMesh::BaseKernel::copy_all_properties ( VertexHandle  _vh_from,
VertexHandle  _vh_to,
bool  _copyBuildIn = false 
)
inline

Copies all properties from one mesh element to another (of the same type)

Parameters
_vh_fromA vertex handle - source
_vh_toA vertex handle - target
_copyBuildInShould the internal properties (position, normal, texture coordinate,..) be copied?

Definition at line 468 of file BaseKernel.hh.

void OpenMesh::BaseKernel::copy_all_properties ( HalfedgeHandle  _hh_from,
HalfedgeHandle  _hh_to,
bool  _copyBuildIn = false 
)
inline

Copies all properties from one mesh element to another (of the same type)

Parameters
_hh_fromA halfedge handle - source
_hh_toA halfedge handle - target
_copyBuildInShould the internal properties (position, normal, texture coordinate,..) be copied?

Definition at line 487 of file BaseKernel.hh.

void OpenMesh::BaseKernel::copy_all_properties ( EdgeHandle  _eh_from,
EdgeHandle  _eh_to,
bool  _copyBuildIn = false 
)
inline

Copies all properties from one mesh element to another (of the same type)

Parameters
_eh_fromAn edge handle - source
_eh_toAn edge handle - target
_copyBuildInShould the internal properties (position, normal, texture coordinate,..) be copied?

Definition at line 506 of file BaseKernel.hh.

void OpenMesh::BaseKernel::copy_all_properties ( FaceHandle  _fh_from,
FaceHandle  _fh_to,
bool  _copyBuildIn = false 
)
inline

Copies all properties from one mesh element to another (of the same type)

Parameters
_fh_fromA face handle - source
_fh_toA face handle - target
_copyBuildInShould the internal properties (position, normal, texture coordinate,..) be copied?

Definition at line 525 of file BaseKernel.hh.

template<class T >
void OpenMesh::BaseKernel::copy_property ( VPropHandleT< T > &  _ph,
VertexHandle  _vh_from,
VertexHandle  _vh_to 
)
inline

Copies a single property from one mesh element to another (of the same type)

Parameters
_phA vertex property handle
_vh_fromFrom vertex handle
_vh_toTo vertex handle

Definition at line 416 of file BaseKernel.hh.

template<class T >
void OpenMesh::BaseKernel::copy_property ( HPropHandleT< T >  _ph,
HalfedgeHandle  _hh_from,
HalfedgeHandle  _hh_to 
)
inline

Copies a single property from one mesh element to another (of the same type)

Parameters
_phA halfedge property handle
_hh_fromFrom halfedge handle
_hh_toTo halfedge handle

Definition at line 428 of file BaseKernel.hh.

template<class T >
void OpenMesh::BaseKernel::copy_property ( EPropHandleT< T >  _ph,
EdgeHandle  _eh_from,
EdgeHandle  _eh_to 
)
inline

Copies a single property from one mesh element to another (of the same type)

Parameters
_phAn edge property handle
_eh_fromFrom edge handle
_eh_toTo edge handle

Definition at line 440 of file BaseKernel.hh.

template<class T >
void OpenMesh::BaseKernel::copy_property ( FPropHandleT< T >  _ph,
FaceHandle  _fh_from,
FaceHandle  _fh_to 
)
inline

Copies a single property from one mesh element to another (of the same type)

Parameters
_phA face property handle
_fh_fromFrom face handle
_fh_toTo face handle

Definition at line 452 of file BaseKernel.hh.

template<class T >
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.

Parameters
_phA property handle. On success the handle is valid else invalid.
_nameName of wanted property.
Returns
true if such a named property is available, else false.

Definition at line 235 of file BaseKernel.hh.

template<class T >
bool OpenMesh::BaseKernel::get_property_handle ( HPropHandleT< T > &  _ph,
const std::string &  _name 
) const
inline

Retrieves the handle to a named property by it's name.

Parameters
_phA property handle. On success the handle is valid else invalid.
_nameName of wanted property.
Returns
true if such a named property is available, else false.

Definition at line 242 of file BaseKernel.hh.

template<class T >
bool OpenMesh::BaseKernel::get_property_handle ( EPropHandleT< T > &  _ph,
const std::string &  _name 
) const
inline

Retrieves the handle to a named property by it's name.

Parameters
_phA property handle. On success the handle is valid else invalid.
_nameName of wanted property.
Returns
true if such a named property is available, else false.

Definition at line 249 of file BaseKernel.hh.

template<class T >
bool OpenMesh::BaseKernel::get_property_handle ( FPropHandleT< T > &  _ph,
const std::string &  _name 
) const
inline

Retrieves the handle to a named property by it's name.

Parameters
_phA property handle. On success the handle is valid else invalid.
_nameName of wanted property.
Returns
true if such a named property is available, else false.

Definition at line 256 of file BaseKernel.hh.

template<class T >
bool OpenMesh::BaseKernel::get_property_handle ( MPropHandleT< T > &  _ph,
const std::string &  _name 
) const
inline

Retrieves the handle to a named property by it's name.

Parameters
_phA property handle. On success the handle is valid else invalid.
_nameName of wanted property.
Returns
true if such a named property is available, else false.

Definition at line 263 of file BaseKernel.hh.

template<class T >
PropertyT<T>& OpenMesh::BaseKernel::mproperty ( MPropHandleT< 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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 322 of file BaseKernel.hh.

template<class T >
const PropertyT<T>& OpenMesh::BaseKernel::mproperty ( MPropHandleT< T >  _ph) const
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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 326 of file BaseKernel.hh.

template<class T >
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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 286 of file BaseKernel.hh.

template<class T >
const PropertyT<T>& OpenMesh::BaseKernel::property ( VPropHandleT< T >  _ph) const
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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 290 of file BaseKernel.hh.

template<class T >
PropertyT<T>& OpenMesh::BaseKernel::property ( HPropHandleT< 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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 295 of file BaseKernel.hh.

template<class T >
const PropertyT<T>& OpenMesh::BaseKernel::property ( HPropHandleT< T >  _ph) const
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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 299 of file BaseKernel.hh.

template<class T >
PropertyT<T>& OpenMesh::BaseKernel::property ( EPropHandleT< 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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 304 of file BaseKernel.hh.

template<class T >
const PropertyT<T>& OpenMesh::BaseKernel::property ( EPropHandleT< T >  _ph) const
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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 308 of file BaseKernel.hh.

template<class T >
PropertyT<T>& OpenMesh::BaseKernel::property ( FPropHandleT< 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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 313 of file BaseKernel.hh.

template<class T >
const PropertyT<T>& OpenMesh::BaseKernel::property ( FPropHandleT< T >  _ph) const
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!

Parameters
_phA valid (!) property handle.
Returns
The wanted property if the handle is valid.

Definition at line 317 of file BaseKernel.hh.

template<class T >
VPropHandleT<T>::reference OpenMesh::BaseKernel::property ( VPropHandleT< T >  _ph,
VertexHandle  _vh 
)
inline

Return value of property for an item

Definition at line 342 of file BaseKernel.hh.

template<class T >
VPropHandleT<T>::const_reference OpenMesh::BaseKernel::property ( VPropHandleT< T >  _ph,
VertexHandle  _vh 
) const
inline

Return value of property for an item

Definition at line 348 of file BaseKernel.hh.

template<class T >
HPropHandleT<T>::reference OpenMesh::BaseKernel::property ( HPropHandleT< T >  _ph,
HalfedgeHandle  _hh 
)
inline

Return value of property for an item

Definition at line 355 of file BaseKernel.hh.

template<class T >
HPropHandleT<T>::const_reference OpenMesh::BaseKernel::property ( HPropHandleT< T >  _ph,
HalfedgeHandle  _hh 
) const
inline

Return value of property for an item

Definition at line 361 of file BaseKernel.hh.

template<class T >
EPropHandleT<T>::reference OpenMesh::BaseKernel::property ( EPropHandleT< T >  _ph,
EdgeHandle  _eh 
)
inline

Return value of property for an item

Definition at line 368 of file BaseKernel.hh.

template<class T >
EPropHandleT<T>::const_reference OpenMesh::BaseKernel::property ( EPropHandleT< T >  _ph,
EdgeHandle  _eh 
) const
inline

Return value of property for an item

Definition at line 374 of file BaseKernel.hh.

template<class T >
FPropHandleT<T>::reference OpenMesh::BaseKernel::property ( FPropHandleT< T >  _ph,
FaceHandle  _fh 
)
inline

Return value of property for an item

Definition at line 381 of file BaseKernel.hh.

template<class T >
FPropHandleT<T>::const_reference OpenMesh::BaseKernel::property ( FPropHandleT< T >  _ph,
FaceHandle  _fh 
) const
inline

Return value of property for an item

Definition at line 387 of file BaseKernel.hh.

template<class T >
MPropHandleT<T>::reference OpenMesh::BaseKernel::property ( MPropHandleT< T >  _ph)
inline

Return value of property for an item

Definition at line 394 of file BaseKernel.hh.

template<class T >
MPropHandleT<T>::const_reference OpenMesh::BaseKernel::property ( MPropHandleT< T >  _ph) const
inline

Return value of property for an item

Definition at line 400 of file BaseKernel.hh.

template<typename T >
void OpenMesh::BaseKernel::remove_property ( VPropHandleT< T > &  _ph)
inline

Remove a property.

Removes the property represented by the handle from the apropriate mesh item.

Parameters
_phProperty to be removed. The handle is invalid afterwords.

Definition at line 180 of file BaseKernel.hh.

template<typename T >
void OpenMesh::BaseKernel::remove_property ( HPropHandleT< T > &  _ph)
inline

Remove a property.

Removes the property represented by the handle from the apropriate mesh item.

Parameters
_phProperty to be removed. The handle is invalid afterwords.

Definition at line 188 of file BaseKernel.hh.

template<typename T >
void OpenMesh::BaseKernel::remove_property ( EPropHandleT< T > &  _ph)
inline

Remove a property.

Removes the property represented by the handle from the apropriate mesh item.

Parameters
_phProperty to be removed. The handle is invalid afterwords.

Definition at line 196 of file BaseKernel.hh.

template<typename T >
void OpenMesh::BaseKernel::remove_property ( FPropHandleT< T > &  _ph)
inline

Remove a property.

Removes the property represented by the handle from the apropriate mesh item.

Parameters
_phProperty to be removed. The handle is invalid afterwords.

Definition at line 204 of file BaseKernel.hh.

template<typename T >
void OpenMesh::BaseKernel::remove_property ( MPropHandleT< T > &  _ph)
inline

Remove a property.

Removes the property represented by the handle from the apropriate mesh item.

Parameters
_phProperty to be removed. The handle is invalid afterwords.

Definition at line 212 of file BaseKernel.hh.


The documentation for this class was generated from the following files: