45 std::istream & ply_stream,
46 Eigen::PlainObjectBase<DerivedV> & V,
47 Eigen::PlainObjectBase<DerivedF> & F,
48 Eigen::PlainObjectBase<DerivedF> & E,
49 Eigen::PlainObjectBase<DerivedN> & N,
50 Eigen::PlainObjectBase<DerivedUV> & UV,
51 Eigen::PlainObjectBase<DerivedVD> & VD,
52 std::vector<std::string> & Vheader,
53 Eigen::PlainObjectBase<DerivedFD> & FD,
54 std::vector<std::string> & Fheader,
55 Eigen::PlainObjectBase<DerivedED> & ED,
56 std::vector<std::string> & Eheader,
57 std::vector<std::string> & comments
72 const std::string& ply_file,
73 Eigen::PlainObjectBase<DerivedV> & V,
74 Eigen::PlainObjectBase<DerivedF> & F,
75 Eigen::PlainObjectBase<DerivedE> & E,
76 Eigen::PlainObjectBase<DerivedN> & N,
77 Eigen::PlainObjectBase<DerivedUV> & UV,
78 Eigen::PlainObjectBase<DerivedVD> & VD,
79 std::vector<std::string> & VDheader,
80 Eigen::PlainObjectBase<DerivedFD> & FD,
81 std::vector<std::string> & FDheader,
82 Eigen::PlainObjectBase<DerivedED> & ED,
83 std::vector<std::string> & EDheader,
84 std::vector<std::string> & comments
95 const std::string & filename,
96 Eigen::PlainObjectBase<DerivedV> & V,
97 Eigen::PlainObjectBase<DerivedF> & F,
98 Eigen::PlainObjectBase<DerivedN> & N,
99 Eigen::PlainObjectBase<DerivedUV> & UV,
100 Eigen::PlainObjectBase<DerivedVD> & VD,
101 std::vector<std::string> & Vheader
112 const std::string & filename,
113 Eigen::PlainObjectBase<DerivedV> & V,
114 Eigen::PlainObjectBase<DerivedF> & F,
115 Eigen::PlainObjectBase<DerivedE> & E,
116 Eigen::PlainObjectBase<DerivedN> & N,
117 Eigen::PlainObjectBase<DerivedUV> & UV
125 const std::string & filename,
126 Eigen::PlainObjectBase<DerivedV> & V,
127 Eigen::PlainObjectBase<DerivedF> & F
136 const std::string & filename,
137 Eigen::PlainObjectBase<DerivedV> & V,
138 Eigen::PlainObjectBase<DerivedF> & F,
139 Eigen::PlainObjectBase<DerivedE> & E
149 Eigen::PlainObjectBase<DerivedV> & V,
150 Eigen::PlainObjectBase<DerivedF> & F
154#ifndef IGL_STATIC_LIBRARY
155# include "readPLY.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
bool readPLY(std::istream &ply_stream, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedF > &E, Eigen::PlainObjectBase< DerivedN > &N, Eigen::PlainObjectBase< DerivedUV > &UV, Eigen::PlainObjectBase< DerivedVD > &VD, std::vector< std::string > &Vheader, Eigen::PlainObjectBase< DerivedFD > &FD, std::vector< std::string > &Fheader, Eigen::PlainObjectBase< DerivedED > &ED, std::vector< std::string > &Eheader, std::vector< std::string > &comments)
Read triangular mesh from ply file, filling in vertex positions, normals and texture coordinates,...