Geom Software - C++ Programming and Geometry Libraries
WOF Documentation pages v1.17
wof_api_io.h File Reference
#include <vector>
#include "Point3.h"
#include "Mesh.h"

Go to the source code of this file.

Namespace

 GEOM_WOF
 

Enumerations

enum  GEOM_WOF::FileType {
  GEOM_WOF::FT_STL , GEOM_WOF::FT_PLY , GEOM_WOF::FT_XYZ , GEOM_WOF::FT_BIN ,
  GEOM_WOF::FT_LIST , GEOM_WOF::FT_UNKNOWN
}
 Filetype. More...
 

Functions

FileType GEOM_WOF::getFileType (const std::string &filename)
 Get File Type. More...
 
bool GEOM_WOF::writePoints_ASCII (const char *filename, const std::vector< Point3 > &vPoints)
 Write points to an ASCII file. More...
 
bool GEOM_WOF::writePoints_BIN (const char *filename, std::vector< Point3 > &vPoints)
 Write points to a binary file. More...
 
bool GEOM_WOF::readPly (const char *filename, bool bReadPoints, std::vector< Point3 > &vPointsOut)
 Write points to a *.ply file. More...
 
bool GEOM_WOF::writePointsPly (const std::string &filename, std::vector< GEOM_WOF::Point3 > &vPoints, bool bASCII)
 
bool GEOM_WOF::readPoints_ASCII (const char *filename, std::vector< Point3 > &vPoints)
 Read points from an ASCII file. More...
 
bool GEOM_WOF::readPoints_BIN (const char *filename, std::vector< Point3 > &vPointsOut)
 Read points from a binary file. More...
 
bool GEOM_WOF::readSTL_ASCII (const char *filename, std::vector< Point3 > &vTriangleCorners)
 Read a mesh from ASCII STL. More...
 
bool GEOM_WOF::readPoints_auto (std::string &inFilename, std::vector< Point3 > &vPoints)
 Read points from a file (automatic detection) More...
 
bool GEOM_WOF::writePoints_auto (std::string &outFilename, std::vector< Point3 > &vPoints, bool bASCII)
 Write points to a file. More...
 
bool GEOM_WOF::writeMesh_auto (const std::string &filename, std::shared_ptr< Mesh > pMesh, bool bASCII)
 Write mesh to a file. More...