Go to the documentation of this file.
12 #ifndef _SCL_SECURE_NO_WARNINGS
13 #define _SCL_SECURE_NO_WARNINGS
18 #include <OpenMesh/Core/IO/MeshIO.hh>
20 #define CGAL_USE_OM_POINTS
26 #include <CGAL/boost/graph/graph_traits_PolyMesh_ArrayKernelT.h>
27 #include <CGAL/boost/graph/properties_PolyMesh_ArrayKernelT.h>
36 typedef OpenMesh::PolyMesh_ArrayKernelT<>
Mesh;
38 typedef Geometry::Scalar Scalar;
40 std::ifstream in(filename);
44 std::cout <<
"failed";
48 auto pos_pm =
get(boost::vertex_point, m);
51 std::cout <<
"Done." << std::endl;
56 main(
int narg,
char **argv)
60 std::cout <<
"Usage: " << argv[0]
61 <<
" filename; filename being an off file." << std::endl;
Refer to Geometry_traits_documentation_dummy for further documentation on provided types and algorith...
void calculate_scaling(Graph &g, PointMap &pm, typename GeometryTraits::Scalar scale_x, typename GeometryTraits::Scalar scale_y, typename GeometryTraits::Scalar scale_z, const GeometryTraits >)
Scale a mesh.
FEVV::PCLPointCloudPointMap::value_type get(const FEVV::PCLPointCloudPointMap &pm, FEVV::PCLPointCloudPointMap::key_type key)
Specialization of get(point_map, key) for PCLPointCloud.
void test_calculate_scaling_open_mesh(char *filename)
Interfaces for plugins These interfaces will be used for different plugins.
void read_mesh(const std::string &filename, FEVV::CGALPointSet &g, PMapsContainer &pmaps, bool=false)
Load mesh from file.
FEVV::DataStructures::AIF::AIFMesh Mesh
This class represents an AIF structure. AIF structure can deal with both manifold and non-manifold su...
int main(int narg, char **argv)