Class for reading Stanford PLY files.
More...
#include <EBGeometry_Parser.hpp>
|
using | Vec3 = EBGeometry::Vec3T< T > |
| Alias for vector type.
|
|
using | Vertex = EBGeometry::DCEL::VertexT< T > |
| Alias for vertex type.
|
|
using | Edge = EBGeometry::DCEL::EdgeT< T > |
| Alias for edge type.
|
|
using | Face = EBGeometry::DCEL::FaceT< T > |
| Alias for face type.
|
|
using | Mesh = EBGeometry::DCEL::MeshT< T > |
| Alias for mesh type.
|
|
using | EdgeIterator = EBGeometry::DCEL::EdgeIteratorT< T > |
| Alias for edge iterator type.
|
|
Class for reading Stanford PLY files.
- Note
- T is the precision used for storing the mesh.
◆ getEncoding()
|
inlinestaticprotectednoexcept |
Check if the input PLY file is an ASCII file or a binary.
- Parameters
-
- Returns
- Returns Encoding::ASCII or Encoding::Binary,
◆ read()
Static function which reads an ASCII .ply file and returns a DCEL mesh.
- Parameters
-
◆ readPLYSoupASCII()
static void Parser::PLY< T >::readPLYSoupASCII |
( |
std::vector< Vec3 > & |
a_vertices, |
|
|
std::vector< std::vector< size_t > > & |
a_faces, |
|
|
std::ifstream & |
a_fileStream |
|
) |
| |
|
inlinestaticprotectednoexcept |
Read an ASCII PLY file into a triangle soup.
- Parameters
-
[out] | a_vertices | Raw vertices |
[out] | a_faces | Raw polygon faces |
[in] | a_fileStream | File stream |
◆ readPLYSoupBinary()
static void Parser::PLY< T >::readPLYSoupBinary |
( |
std::vector< Vec3 > & |
a_vertices, |
|
|
std::vector< std::vector< size_t > > & |
a_faces, |
|
|
std::ifstream & |
a_fileStream |
|
) |
| |
|
inlinestaticprotectednoexcept |
Read a binary PLY file into a triangle soup.
- Parameters
-
[out] | a_vertices | Raw vertices |
[out] | a_faces | Raw polygon faces |
[in] | a_fileStream | File stream |
The documentation for this class was generated from the following file: