CGAL 5.1.1 - Planar Parameterization of Triangulated Surface Meshes
|
Parameterizer_3
is a concept of parameterization object for a given type of mesh, TriangleMesh
, which must be a model of the FaceGraph
concept.
Border parameterizers are also models of this concept but they only parameterize the border of a given mesh.
Creation
Construction and destruction are undefined.
CGAL::Surface_mesh_parameterization::Fixed_border_parameterizer_3<TriangleMesh, BorderParameterizer, SolverTraits>
CGAL::Surface_mesh_parameterization::ARAP_parameterizer_3<TriangleMesh, BorderParameterizer, SolverTraits>
CGAL::Surface_mesh_parameterization::Barycentric_mapping_parameterizer_3<TriangleMesh, BorderParameterizer, SolverTraits>
CGAL::Surface_mesh_parameterization::Discrete_authalic_parameterizer_3<TriangleMesh, BorderParameterizer, SolverTraits>
CGAL::Surface_mesh_parameterization::Discrete_conformal_map_parameterizer_3<TriangleMesh, BorderParameterizer, SolverTraits>
CGAL::Surface_mesh_parameterization::LSCM_parameterizer_3<TriangleMesh, BorderParameterizer, SolverTraits>
CGAL::Surface_mesh_parameterization::Mean_value_coordinates_parameterizer_3<TriangleMesh, BorderParameterizer, SolverTraits>
CGAL::Surface_mesh_parameterization::Orbifold_Tutte_parameterizer_3<SeamMesh, SolverTraits>
CGAL::Surface_mesh_parameterization::Circular_border_parameterizer_3<TriangleMesh>
CGAL::Surface_mesh_parameterization::Square_border_parameterizer_3<TriangleMesh>
CGAL::Surface_mesh_parameterization::Two_vertices_parameterizer_3<TriangleMesh>
Types | |
typedef unspecified_type | TriangleMesh |
A given polygon mesh type, TriangleMesh, which is a model of the FaceGraph concept. | |
typedef boost::graph_traits< TriangleMesh >::halfedge_descriptor | halfedge_descriptor |
Operations | |
template<typename VertexUVMap , typename VertexIndexMap , typename VertexParameterizedMap > | |
Error_code | parameterize (const TriangleMesh &mesh, halfedge_descriptor bhd, VertexUVMap uvmap, VertexIndexMap vimap, VertexParameterizedMap vpmap) |
Assign a 2D position (i.e. a (u, v) pair) on the shape to (some of) the vertices of the mesh. More... | |
Error_code Parameterizer_3::parameterize | ( | const TriangleMesh & | mesh, |
halfedge_descriptor | bhd, | ||
VertexUVMap | uvmap, | ||
VertexIndexMap | vimap, | ||
VertexParameterizedMap | vpmap | ||
) |
Assign a 2D position (i.e. a (u, v)
pair) on the shape to (some of) the vertices of the mesh.
Mark them as parameterized.
VertexUVmap | must be a model of ReadWritePropertyMap with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and Point_2 (type deduced from TriangleMesh using Kernel_traits ) as value type. |
VertexIndexMap | must be a model of ReadablePropertyMap with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and a unique integer as value type. |
VertexParameterizedMap | must be a model of ReadWritePropertyMap with boost::graph_traits<TriangleMesh>::vertex_descriptor as key type and a Boolean as value type. |
mesh | a triangulated surface. |
bhd | a halfedge descriptor on the boundary of mesh . |
uvmap | an instanciation of the class VertexUVmap . |
vimap | an instanciation of the class VertexIndexMap . |
vpmap | an instanciation of the class VertexParameterizedMap . |
mesh
must be a triangular mesh. vimap
must be initialized)