35 template <
typename Scalar,
typename Index>
37 const std::string off_file_name,
38 std::vector<std::vector<Scalar > > & V,
39 std::vector<std::vector<Index > > & F,
40 std::vector<std::vector<Scalar > > & N,
41 std::vector<std::vector<Scalar > > & C);
43 template <
typename DerivedV,
typename DerivedF>
45 const std::string str,
46 Eigen::PlainObjectBase<DerivedV>& V,
47 Eigen::PlainObjectBase<DerivedF>& F);
49 template <
typename DerivedV,
typename DerivedF>
51 const std::string str,
52 Eigen::PlainObjectBase<DerivedV>& V,
53 Eigen::PlainObjectBase<DerivedF>& F,
54 Eigen::PlainObjectBase<DerivedV>& N);
57 template <
typename Scalar,
typename Index>
60 std::vector<std::vector<Scalar > > & V,
61 std::vector<std::vector<Index > > & F,
62 std::vector<std::vector<Scalar > > & N,
63 std::vector<std::vector<Scalar > > & C);
67#ifndef IGL_STATIC_LIBRARY
68# include "readOFF.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
bool readOFF(const std::string off_file_name, std::vector< std::vector< Scalar > > &V, std::vector< std::vector< Index > > &F, std::vector< std::vector< Scalar > > &N, std::vector< std::vector< Scalar > > &C)
Read a mesh from an ascii OFF file, filling in vertex positions, normals and texture coordinates.