Overture
Version 25
|
#include <plyFileInterface.h>
Public Member Functions | |
PlyFileInterface () | |
~PlyFileInterface () | |
int | openFile (const aString &fname, PlyFileReadWriteFlag readWrite=READ_PLY_FILE) |
void | closeFile () |
void | readFile (intArray &elems, intArray &tags, realArray &xyz, int &nnode00, int &nelem00, int &ddim00, int &rdim00) |
void | writeFile () |
Public Attributes | |
PlyFile * | ply |
PlyFileType | fileType |
int | rdim |
int | ddim |
int | nnode |
int | nelem |
int | nemax |
PlyFileInterface::PlyFileInterface | ( | ) |
References ASCII_PLY_FILE.
PlyFileInterface::~PlyFileInterface | ( | ) |
void PlyFileInterface::closeFile | ( | ) |
References ply_close().
Referenced by DataFormats::readPly().
int PlyFileInterface::openFile | ( | const aString & | fname, |
PlyFileReadWriteFlag | readWrite = READ_PLY_FILE |
||
) |
References ASCII_PLY_FILE, BE_BINARY_PLY_FILE, equal_strings(), LE_BINARY_PLY_FILE, NULL, ply_get_element_description(), ply_open_for_reading(), READ_PLY_FILE, and WRITE_PLY_FILE.
Referenced by DataFormats::readPly().
void PlyFileInterface::readFile | ( | intArray & | elems, |
intArray & | tags, | ||
realArray & | xyz, | ||
int & | nnode00, | ||
int & | nelem00, | ||
int & | ddim00, | ||
int & | rdim00 | ||
) |
References equal_strings(), PlyFace::intensity, PlyFace::nverts, PLY_FLOAT, ply_get_comments(), ply_get_element(), ply_get_element_description(), ply_get_obj_info(), ply_get_property(), PLY_INT, PLY_UCHAR, PlyFace::verts, PlyVertex::x, x, PlyVertex::y, and PlyVertex::z.
Referenced by DataFormats::readPly().
void PlyFileInterface::writeFile | ( | ) |
int PlyFileInterface::ddim |
PlyFileType PlyFileInterface::fileType |
int PlyFileInterface::nelem |
int PlyFileInterface::nemax |
int PlyFileInterface::nnode |
PlyFile* PlyFileInterface::ply |
int PlyFileInterface::rdim |