OpenVolumeMesh
 All Classes Functions Variables Typedefs Pages
OpenVolumeMesh::ResourceManager Class Reference
Inheritance diagram for OpenVolumeMesh::ResourceManager:
OpenVolumeMesh::TopologyKernel OpenVolumeMesh::HexahedralMeshTopologyKernel

Public Types

typedef std::vector
< BaseProperty * > 
Properties

Public Member Functions

void resize_vprops (unsigned int _nv)
 Change size of stored vertex properties.
void resize_eprops (unsigned int _ne)
 Change size of stored edge properties.
void resize_fprops (unsigned int _nf)
 Change size of stored face properties.
void resize_cprops (unsigned int _nc)
 Change size of stored cell properties.
void clear_vertex_props ()
void clear_edge_props ()
void clear_halfedge_props ()
void clear_face_props ()
void clear_halfface_props ()
void clear_cell_props ()
void clear_mesh_props ()
virtual unsigned int n_vertices () const =0
 Get number of vertices in mesh.
virtual unsigned int n_edges () const =0
 Get number of edges in mesh.
virtual unsigned int n_halfedges () const =0
 Get number of halfedges in mesh.
virtual unsigned int n_faces () const =0
 Get number of faces in mesh.
virtual unsigned int n_halffaces () const =0
 Get number of halffaces in mesh.
virtual unsigned int n_cells () const =0
 Get number of cells in mesh.
template<class T >
VertexPropertyT< T > request_vertex_property (const std::string &_name=std::string(), const T _def=T())
template<class T >
EdgePropertyT< T > request_edge_property (const std::string &_name=std::string(), const T _def=T())
template<class T >
HalfEdgePropertyT< T > request_halfedge_property (const std::string &_name=std::string(), const T _def=T())
template<class T >
FacePropertyT< T > request_face_property (const std::string &_name=std::string(), const T _def=T())
template<class T >
HalfFacePropertyT< T > request_halfface_property (const std::string &_name=std::string(), const T _def=T())
template<class T >
CellPropertyT< T > request_cell_property (const std::string &_name=std::string(), const T _def=T())
template<class T >
MeshPropertyT< T > request_mesh_property (const std::string &_name=std::string(), const T _def=T())
unsigned int n_vertex_props () const
unsigned int n_edge_props () const
unsigned int n_halfedge_props () const
unsigned int n_face_props () const
unsigned int n_halfface_props () const
unsigned int n_cell_props () const
unsigned int n_mesh_props () const
template<class T >
void set_persistent (VertexPropertyT< T > &_prop, bool _flag=true)
template<class T >
void set_persistent (EdgePropertyT< T > &_prop, bool _flag=true)
template<class T >
void set_persistent (HalfEdgePropertyT< T > &_prop, bool _flag=true)
template<class T >
void set_persistent (FacePropertyT< T > &_prop, bool _flag=true)
template<class T >
void set_persistent (HalfFacePropertyT< T > &_prop, bool _flag=true)
template<class T >
void set_persistent (CellPropertyT< T > &_prop, bool _flag=true)
template<class T >
void set_persistent (MeshPropertyT< T > &_prop, bool _flag=true)
Properties::const_iterator vertex_props_begin () const
Properties::const_iterator vertex_props_end () const
Properties::const_iterator edge_props_begin () const
Properties::const_iterator edge_props_end () const
Properties::const_iterator halfedge_props_begin () const
Properties::const_iterator halfedge_props_end () const
Properties::const_iterator face_props_begin () const
Properties::const_iterator face_props_end () const
Properties::const_iterator halfface_props_begin () const
Properties::const_iterator halfface_props_end () const
Properties::const_iterator cell_props_begin () const
Properties::const_iterator cell_props_end () const
Properties::const_iterator mesh_props_begin () const
Properties::const_iterator mesh_props_end () const
template<class FullPropT , class PropIterT >
bool property_exists (const PropIterT &_begin, const PropIterT &_end, const std::string &_name) const
template<class PropT >
bool vertex_property_exists (const std::string &_name) const
template<class PropT >
bool edge_property_exists (const std::string &_name) const
template<class PropT >
bool halfedge_property_exists (const std::string &_name) const
template<class PropT >
bool face_property_exists (const std::string &_name) const
template<class PropT >
bool halfface_property_exists (const std::string &_name) const
template<class PropT >
bool cell_property_exists (const std::string &_name) const
template<class PropT >
bool mesh_property_exists (const std::string &_name) const

Protected Member Functions

void vertex_deleted (const VertexHandle &_h)
void edge_deleted (const EdgeHandle &_h)
void face_deleted (const FaceHandle &_h)
void cell_deleted (const CellHandle &_h)
void delete_multiple_vertex_props (const std::vector< bool > &_tags)
void delete_multiple_edge_props (const std::vector< bool > &_tags)
void delete_multiple_face_props (const std::vector< bool > &_tags)
void delete_multiple_cell_props (const std::vector< bool > &_tags)

Friends

class PropertyPtr

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