libigl v2.5.0
Loading...
Searching...
No Matches
readOFF.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include <string>
#include <vector>
#include <cstdio>
#include "readOFF.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Scalar , typename Index >
bool igl::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.
 
template<typename DerivedV , typename DerivedF >
bool igl::readOFF (const std::string str, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename DerivedV , typename DerivedF >
bool igl::readOFF (const std::string str, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedV > &N)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename Scalar , typename Index >
bool igl::readOFF (FILE *off_file, std::vector< std::vector< Scalar > > &V, std::vector< std::vector< Index > > &F, std::vector< std::vector< Scalar > > &N, std::vector< std::vector< Scalar > > &C)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.