1 #ifndef _SUPER4PCS_IO_IO_H 2 #define _SUPER4PCS_IO_IO_H 4 #include "super4pcs/shared4pcs.h" 5 #include "super4pcs/utils/disablewarnings.h" 31 tripple(
int _a,
int _b,
int _c) : a(_a), b(_b), c(_c) {}
42 bool ReadObject(
const char *name,
43 std::vector<GlobalRegistration::Point3D> &v,
44 std::vector<Eigen::Matrix2f> &tex_coords,
45 std::vector<typename GlobalRegistration::Point3D::VectorType> &normals,
46 std::vector<tripple> &tris,
47 std::vector<std::string> &mtls);
48 bool WriteObject(
const char *name,
49 const std::vector<GlobalRegistration::Point3D> &v,
50 const std::vector<Eigen::Matrix2f> &tex_coords,
51 const std::vector<typename GlobalRegistration::Point3D::VectorType> &normals,
52 const std::vector<tripple> &tris,
53 const std::vector<std::string> &mtls);
55 bool WriteMatrix(
const std::string& name,
56 const Eigen::Ref<
const Eigen::Matrix<double, 4, 4> >& mat,
60 ReadPly(
const char *name,
61 std::vector<GlobalRegistration::Point3D> &v,
62 std::vector<typename GlobalRegistration::Point3D::VectorType> &normals);
76 ReadPtx(
const char *name,
77 std::vector<GlobalRegistration::Point3D> &v);
80 ReadObj(
const char *name,
81 std::vector<GlobalRegistration::Point3D> &v,
82 std::vector<Eigen::Matrix2f> &tex_coords,
83 std::vector<typename GlobalRegistration::Point3D::VectorType> &normals,
84 std::vector<tripple> &tris,
85 std::vector<std::string> &mtls);
88 WritePly(std::string name,
89 const std::vector<GlobalRegistration::Point3D> &v,
90 const std::vector<typename GlobalRegistration::Point3D::VectorType> &normals);
93 WriteObj(std::string name,
94 const std::vector<GlobalRegistration::Point3D> &v,
95 const std::vector<Eigen::Matrix2f> &tex_coords,
96 const std::vector<typename GlobalRegistration::Point3D::VectorType> &normals,
97 const std::vector<tripple> &tris,
const std::vector<std::string> &mtls);
107 formatPolyworksMatrix(
const Eigen::Ref<
const Eigen::Matrix<double, 4, 4> >& mat,
108 std::ofstream &sstr);
MATRIX_MODE
Definition: io.h:36
int t2
Definition: io.h:28
int t1
Definition: io.h:27
int n2
Definition: io.h:25
tripple(int _a, int _b, int _c)
Definition: io.h:31
int n1
Definition: io.h:24
tripple()
Definition: io.h:30
int n3
Definition: io.h:26
int t3
Definition: io.h:29