112 setlocale (LC_ALL,
"C");
150 ModelPtr read(
string filename,
bool readColor,
bool readConfidence =
true,
151 bool readIntensity =
true,
bool readNormals =
true,
152 bool readFaces =
true,
bool readPanoramaCoords =
true );
A class for input and output to ply files.
void save(string filename)
Save PLY with previously specified data.
ModelPtr read(string filename, bool readColor, bool readConfidence=true, bool readIntensity=true, bool readNormals=true, bool readFaces=true, bool readPanoramaCoords=true)
Read specified PLY file.
void save(ModelPtr model, string filename)
Interface specification for low-level io. All read elements are stored in linear arrays.
static int readColorCb(p_ply_argument argument)
Callback for read color information.
static int readPanoramaCoordCB(p_ply_argument argument)
Callback for read panorama coords.
static int readFaceCb(p_ply_argument argument)
Callback for read faces.
Base interface for all I/O related classes.
static int readVertexCb(p_ply_argument argument)
Callback for read vertices.
std::shared_ptr< Model > ModelPtr