Go to the documentation of this file.
16 #include <CGAL/boost/graph/properties.h>
29 template<
typename VEF >
31 :
public boost::put_get_helper< unsigned int, AIF_index_pmap< VEF > >
34 typedef boost::readable_property_map_tag
category;
43 return static_cast< value_type >(vd->GetIndex());
81 boost::halfedge_index_t >
107 boost::vertex_index_t >::const_type
134 .GetPropertyMap< AIFVertex::ptr, Point >(
"v:point");
144 boost::face_index_t >::const_type
157 boost::edge_index_t >::const_type
169 namespace DataStructures {
173 template<
typename ValueT,
typename KeyT >
183 inline typename boost::property_traits<
typename boost::property_map<
185 boost::vertex_index_t >::const_type >::value_type
186 get(
const boost::vertex_index_t &prop,
188 const typename boost::graph_traits<
192 return get(pm_index, k);
199 get(
const boost::vertex_point_t &prop,
201 typename boost::graph_traits<
206 return get(pm_pos, k);
212 template<
typename ValueT,
typename KeyT >
224 template<
typename ValueT >
226 put(
const boost::vertex_index_t &prop,
228 const typename boost::graph_traits<
236 boost::vertex_index_t >::type Map;
237 Map pm =
get(prop, sm);
246 put(
const boost::vertex_point_t &,
248 const typename boost::graph_traits<
250 const typename boost::graph_traits<
261 inline typename boost::graph_traits<
269 typename boost::graph_traits<
272 auto pm =
boost::get(boost::vertex_point, sm);
boost::shared_ptr< self > ptr
This class represents a vertex used by AIFMesh objects. An AIFVertex natively saves relations with it...
AIF_index_pmap< boost::graph_traits< AIFMesh >::vertex_descriptor > const_type
ValueT & get(const typename FEVV::DataStructures::AIF::PropertyMap< ValueT > &pm, KeyT k)
Specialization of get(pmap, key) for AIF.
FEVV::DataStructures::AIF::PropertyMap< Point > type
AIF_index_pmap< boost::graph_traits< AIFMesh >::face_descriptor > const_type
AIF_index_pmap< boost::graph_traits< AIFMesh >::halfedge_descriptor > type
FEVV::DataStructures::AIF::PropertyMap< Point > const_type
AIF_index_pmap< boost::graph_traits< AIFMesh >::edge_descriptor > type
FEVV::DataStructures::AIF::AIFVertex AIFVertex
AIF_index_pmap< boost::graph_traits< AIFMesh >::halfedge_descriptor > const_type
Interfaces for plugins These interfaces will be used for different plugins.
boost::readable_property_map_tag category
AIF_index_pmap< boost::graph_traits< AIFMesh >::face_descriptor > type
boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_descriptor add_vertex(typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_property_type vp, FEVV::DataStructures::AIF::AIFMesh &sm)
boost::property_map< FEVV::DataStructures::AIF::AIFMesh, boost::vertex_index_t >::const_type get(const boost::vertex_index_t &, const FEVV::DataStructures::AIF::AIFMesh &)
Returns the vertex index property map of the mesh.
boost::graph_traits< MeshT >::vertex_descriptor vertex_descriptor
This class represents an AIF structure. AIF structure can deal with both manifold and non-manifold su...
AIF_index_pmap< boost::graph_traits< AIFMesh >::edge_descriptor > const_type
static vertex_descriptor add_vertex(ptr_mesh mesh)
value_type operator[](const key_type &vd) const
FEVV::DataStructures::AIF::AIFMesh AIFMesh
PropertyMap< T > * GetPropertyMap(const std::string &mapName)
void put(const typename FEVV::DataStructures::AIF::PropertyMap< ValueT > &pm, KeyT k, const ValueT &v)
Specialization of put(pmap, key, value) for AIF.
AIF_index_pmap< boost::graph_traits< AIFMesh >::vertex_descriptor > type