8#ifndef IGL_READ_TRIANGLE_MESH_H 
    9#define IGL_READ_TRIANGLE_MESH_H 
   32  template <
typename DerivedV, 
typename DerivedF>
 
   34    const std::string str,
 
   35    Eigen::PlainObjectBase<DerivedV>& V,
 
   36    Eigen::PlainObjectBase<DerivedF>& F);
 
   39  template <
typename Scalar, 
typename Index>
 
   41    const std::string str,
 
   42    std::vector<std::vector<Scalar> > & V,
 
   43    std::vector<std::vector<Index> > & F);
 
   49  template <
typename DerivedV, 
typename DerivedF>
 
   51    const std::string str,
 
   52    Eigen::PlainObjectBase<DerivedV>& V,
 
   53    Eigen::PlainObjectBase<DerivedF>& F,
 
   61  template <
typename DerivedV, 
typename DerivedF>
 
   63    const std::string & ext,
 
   65    Eigen::PlainObjectBase<DerivedV>& V,
 
   66    Eigen::PlainObjectBase<DerivedF>& F);
 
   69#ifndef IGL_STATIC_LIBRARY 
   70#  include "read_triangle_mesh.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
bool read_triangle_mesh(const std::string str, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F)
Read mesh from an ascii file with automatic detection of file format among: mesh, msh obj,...