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

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedV , typename DerivedF , typename DerivedE , typename DerivedN , typename DerivedUV , typename DerivedVD , typename DerivedFD , typename DerivedED >
bool igl::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, if available also read additional properties associated with vertex,faces and edges and file comments.
 
template<typename DerivedV , typename DerivedF , typename DerivedE , typename DerivedN , typename DerivedUV , typename DerivedVD , typename DerivedFD , typename DerivedED >
bool igl::readPLY (const std::string &ply_file, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedE > &E, Eigen::PlainObjectBase< DerivedN > &N, Eigen::PlainObjectBase< DerivedUV > &UV, Eigen::PlainObjectBase< DerivedVD > &VD, std::vector< std::string > &VDheader, Eigen::PlainObjectBase< DerivedFD > &FD, std::vector< std::string > &FDheader, Eigen::PlainObjectBase< DerivedED > &ED, std::vector< std::string > &EDheader, std::vector< std::string > &comments)
 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 , typename DerivedN , typename DerivedUV , typename DerivedVD >
bool igl::readPLY (const std::string &filename, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedN > &N, Eigen::PlainObjectBase< DerivedUV > &UV, Eigen::PlainObjectBase< DerivedVD > &VD, std::vector< std::string > &Vheader)
 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 , typename DerivedE , typename DerivedN , typename DerivedUV >
bool igl::readPLY (const std::string &filename, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedE > &E, Eigen::PlainObjectBase< DerivedN > &N, Eigen::PlainObjectBase< DerivedUV > &UV)
 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::readPLY (const std::string &filename, 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 , typename DerivedE >
bool igl::readPLY (const std::string &filename, Eigen::PlainObjectBase< DerivedV > &V, Eigen::PlainObjectBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedE > &E)
 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::readPLY (FILE *fp, 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.