170#include "EBGeometry_NamespaceFooter.hpp"
172#include "EBGeometry_VTKImplem.hpp"
Declaration of 2D and 3D point/vector classes with templated precision. Used with DCEL tools.
Class for storing VTK Polydata meshes.
Definition EBGeometry_VTK.hpp:24
std::string m_id
VTK object ID.
Definition EBGeometry_VTK.hpp:147
void setPointDataScalars(const std::string a_name, const std::vector< T > &a_data) noexcept
Set point data scalars.
std::map< std::string, std::vector< T > > m_pointDataScalars
Point data scalar arrays.
Definition EBGeometry_VTK.hpp:162
std::vector< std::vector< size_t > > & getFacets() noexcept
Get the face indices.
std::vector< Vec3T< T > > m_vertexCoordinates
Vertex coordinates.
Definition EBGeometry_VTK.hpp:152
std::shared_ptr< EBGeometry::DCEL::MeshT< T, Meta > > convertToDCEL() const noexcept
Turn the VTK mesh into a DCEL mesh.
std::vector< T > & getPointDataScalars(const std::string a_name) noexcept
Get the point data scalars.
std::string & getID() noexcept
Get the identifier for this object.
std::vector< Vec3T< T > > & getVertexCoordinates() noexcept
Get the vertex coordinates.
VTK() noexcept
Default constructor. Initializes empty member data holder.
std::vector< T > & getCellDataScalars(const std::string a_name) noexcept
Get the cell data scalars.
void setCellDataScalars(const std::string a_name, const std::vector< T > &a_data) noexcept
Set cell data scalars.
std::vector< std::vector< size_t > > m_facets
Faces – each entry in the outer vector contains the indices defining one face.
Definition EBGeometry_VTK.hpp:157
std::map< std::string, std::vector< T > > m_cellDataScalars
Cell data scalar arrays.
Definition EBGeometry_VTK.hpp:167
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