169#include "EBGeometry_NamespaceFooter.hpp"
171#include "EBGeometry_PLYImplem.hpp"
Declaration of 2D and 3D point/vector classes with templated precision. Used with DCEL tools.
Class for storing Stanford PLY meshes.
Definition EBGeometry_PLY.hpp:23
void setVertexProperties(const std::string a_property, const std::vector< T > &a_data) noexcept
Set vertex properties.
std::map< std::string, std::vector< T > > m_vertexProperties
Vertex properties.
Definition EBGeometry_PLY.hpp:161
std::vector< std::vector< size_t > > m_facets
Faces – each entry in the outer vector contains the indices defining one face.
Definition EBGeometry_PLY.hpp:156
void setFaceProperties(const std::string a_property, const std::vector< T > &a_data) noexcept
Set face properties.
std::vector< Vec3T< T > > m_vertexCoordinates
Vertex coordinates.
Definition EBGeometry_PLY.hpp:151
std::shared_ptr< EBGeometry::DCEL::MeshT< T, Meta > > convertToDCEL() const noexcept
Turn the PLY mesh into a DCEL mesh.
std::vector< T > & getFaceProperties(const std::string a_property) noexcept
Get the face properties.
std::vector< T > & getVertexProperties(const std::string a_property) noexcept
Get the vertex properties.
std::string & getID() noexcept
Get the identifier for this object.
std::vector< std::vector< size_t > > & getFacets() noexcept
Get the face indices.
std::string m_id
PLY object ID.
Definition EBGeometry_PLY.hpp:146
std::vector< Vec3T< T > > & getVertexCoordinates() noexcept
Get the vertex coordinates.
PLY() noexcept
Default constructor. Initializes empty member data holder.
std::map< std::string, std::vector< T > > m_faceProperties
Face properties.
Definition EBGeometry_PLY.hpp:166
Three-dimensional vector class with arithmetic operators.
Definition EBGeometry_Vec.hpp:218
Namespace containing various double-connected edge list (DCEL) functionality.
Name space for all of EBGeometry.
Definition EBGeometry.hpp:23