Go to the documentation of this file.
28 template<
typename Iterator,
30 typename GeometryTraits >
34 PropertyMap &prop_map,
35 const GeometryTraits >)
37 for(Iterator it = begin; it != end; ++it)
39 auto vec =
get(prop_map, *it);
40 auto vec_normalized = gt.normalize(vec);
41 put(prop_map, *it, vec_normalized);
52 template<
typename HalfedgeGraph,
53 typename PropertyMap >
56 PropertyMap &prop_map)
72 template<
typename HalfedgeGraph,
73 typename PropertyMap >
76 PropertyMap &prop_map)
92 template<
typename HalfedgeGraph,
93 typename PropertyMap >
96 PropertyMap &prop_map)
112 template<
typename HalfedgeGraph,
113 typename PropertyMap >
116 PropertyMap &prop_map)
std::pair< typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_iterator, typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::vertex_iterator > vertices(const FEVV::DataStructures::AIF::AIFMesh &sm)
Returns the iterator range of the vertices of the mesh.
void normalize_vector_map_vertices(const HalfedgeGraph &g, PropertyMap &prop_map)
Normalize each vector of the vertex property map.
void normalize_vector_map_faces(const HalfedgeGraph &g, PropertyMap &prop_map)
Normalize each vector of the face property map.
std::pair< typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::edge_iterator, typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::edge_iterator > edges(const FEVV::DataStructures::AIF::AIFMesh &sm)
Returns the iterator range of the edges of the mesh.
void normalize_vector_map_halfedges(const HalfedgeGraph &g, PropertyMap &prop_map)
Normalize each vector of the halfedge property map.
FEVV::PCLPointCloudPointMap::value_type get(const FEVV::PCLPointCloudPointMap &pm, FEVV::PCLPointCloudPointMap::key_type key)
Specialization of get(point_map, key) for PCLPointCloud.
Interfaces for plugins These interfaces will be used for different plugins.
std::pair< typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::face_iterator, typename boost::graph_traits< FEVV::DataStructures::AIF::AIFMesh >::face_iterator > faces(const FEVV::DataStructures::AIF::AIFMesh &sm)
Returns an iterator range over all faces of the mesh.
void normalize_vector_map(const Iterator &begin, const Iterator &end, PropertyMap &prop_map, const GeometryTraits >)
Normalize each vector of a property map, one by one. Generic implementation.
void normalize_vector_map_edges(const HalfedgeGraph &g, PropertyMap &prop_map)
Normalize each vector of the edge property map.
void put(FEVV::PCLPointCloudPointMap &pm, FEVV::PCLPointCloudPointMap::key_type key, const FEVV::PCLPointCloudPointMap::value_type &value)
Specialization of put(point_map, key, value) for PCLPointCloud.