113 bool readPly(
const char* filename,
bool bReadPoints, std::vector<Point3>& vPointsOut);
116 bool writePointsPly(
const std::string & filename,
117 std::vector<GEOM_WOF::Point3>& vPoints,
160 bool readSTL_ASCII(
const char* filename,std::vector<Point3>& vTriangleCorners);
217 bool writeMesh_auto(
const std::string& filename,std::shared_ptr<Mesh> pMesh,
bool bASCII);
bool writePoints_ASCII(const char *filename, const std::vector< Point3 > &vPoints)
Write points to an ASCII file.
bool readSTL_ASCII(const char *filename, std::vector< Point3 > &vTriangleCorners)
Read a mesh from ASCII STL.
bool writePoints_BIN(const char *filename, std::vector< Point3 > &vPoints)
Write points to a binary file.
FileType getFileType(const std::string &filename)
Get File Type.
bool readPoints_ASCII(const char *filename, std::vector< Point3 > &vPoints)
Read points from an ASCII file.
FileType
Filetype.
Definition: wof_api_io.h:39
bool readPoints_BIN(const char *filename, std::vector< Point3 > &vPointsOut)
Read points from a binary file.
bool writeMesh_auto(const std::string &filename, std::shared_ptr< Mesh > pMesh, bool bASCII)
Write mesh to a file.
bool readPoints_auto(std::string &inFilename, std::vector< Point3 > &vPoints)
Read points from a file (automatic detection)
bool writePoints_auto(std::string &outFilename, std::vector< Point3 > &vPoints, bool bASCII)
Write points to a file.
bool readPly(const char *filename, bool bReadPoints, std::vector< Point3 > &vPointsOut)
Write points to a *.ply file.
@ FT_UNKNOWN
FileType UNKNOWN for unknown extensions.
Definition: wof_api_io.h:45
@ FT_PLY
FileType PLY based on the filename extension [.ply].
Definition: wof_api_io.h:41
@ FT_BIN
FileType BIN based on the filename extension [.bin].
Definition: wof_api_io.h:43
@ FT_XYZ
FileType XYZ based on the filename extensions [.xyz|.txt|.asc].
Definition: wof_api_io.h:42
@ FT_LIST
FileType LIST based on the filename extension [.list].
Definition: wof_api_io.h:44
@ FT_STL
FileType STL based on the filename extension [.stl].
Definition: wof_api_io.h:40