EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
EBGeometry_Parser.hpp File Reference

Declaration of utilities for reading files into EBGeometry data structures. More...

#include <cstddef>
#include <string>
#include <vector>
#include "EBGeometry_BoundingVolumes.hpp"
#include "EBGeometry_DCEL_Mesh.hpp"
#include "EBGeometry_MeshDistanceFunctions.hpp"
#include "EBGeometry_ParseError.hpp"
#include "EBGeometry_PolygonSoup.hpp"
#include "EBGeometry_Pool.hpp"
#include "EBGeometry_Triangle.hpp"
#include "EBGeometry_TriangleAoSoA.hpp"
#include "EBGeometry_TriangleSoA.hpp"
#include "EBGeometry_ParserImplem.hpp"
Include dependency graph for EBGeometry_Parser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  EBGeometry
 Namespace containing all of EBGeometry's functionality.
 
namespace  EBGeometry::Parser
 Namespace which encapsulates possible file parsers for building EBGeometry data structures.
 

Enumerations

enum class  EBGeometry::Parser::Encoding { EBGeometry::Parser::ASCII , EBGeometry::Parser::Binary , EBGeometry::Parser::Unknown }
 Simple enum for separating ASCII and binary files. More...
 
enum class  EBGeometry::Parser::FileType {
  EBGeometry::Parser::STL , EBGeometry::Parser::PLY , EBGeometry::Parser::VTK , EBGeometry::Parser::OBJ ,
  EBGeometry::Parser::Unsupported
}
 Various supported file types. More...
 

Functions

template<typename T >
PolygonSoup< T > EBGeometry::Parser::readPLY (const std::string &a_filename)
 Read a Stanford PLY file, ASCII or binary.
 
template<typename T >
std::vector< PolygonSoup< T > > EBGeometry::Parser::readPLY (const std::vector< std::string > &a_filenames)
 Read several Stanford PLY files.
 
template<typename T >
PolygonSoup< T > EBGeometry::Parser::readSTL (const std::string &a_filename)
 Read an STL file, ASCII or binary.
 
template<typename T >
std::vector< PolygonSoup< T > > EBGeometry::Parser::readSTL (const std::vector< std::string > &a_filenames)
 Read several STL files.
 
template<typename T >
PolygonSoup< T > EBGeometry::Parser::readOBJ (const std::string &a_filename)
 Read a Wavefront OBJ file.
 
template<typename T >
std::vector< PolygonSoup< T > > EBGeometry::Parser::readOBJ (const std::vector< std::string > &a_filenames)
 Read several Wavefront OBJ files.
 
template<typename T >
PolygonSoup< T > EBGeometry::Parser::readVTK (const std::string &a_filename)
 Read a legacy VTK POLYDATA file, ASCII or binary.
 
template<typename T >
std::vector< PolygonSoup< T > > EBGeometry::Parser::readVTK (const std::vector< std::string > &a_filenames)
 Read several legacy VTK POLYDATA files.
 

Detailed Description

Declaration of utilities for reading files into EBGeometry data structures.

Author
Robert Marskar