Wildmeshing Toolkit
|
#include <ParaviewWriter.hpp>
Classes | |
class | ParaviewInternalWriter |
Public Member Functions | |
ParaviewWriter (const std::filesystem::path &filename, const std::string &vertices_name, const Mesh &mesh, bool write_points=true, bool write_edges=true, bool write_faces=true, bool write_tetrahedra=true) | |
bool | write (const int dim) override |
void | write_top_simplex_type (const PrimitiveType) override |
void | write_absolute_id (const std::vector< int64_t > &id) override |
void | write_capacities (const std::vector< int64_t > &capacities) override |
void | write (const std::string &name, const int64_t type, const int64_t stride, const std::vector< char > &val, const char default_val) override |
void | write (const std::string &name, const int64_t type, const int64_t stride, const std::vector< int64_t > &val, const int64_t default_val) override |
void | write (const std::string &name, const int64_t type, const int64_t stride, const std::vector< double > &val, const double default_val) override |
void | write (const std::string &name, const int64_t type, const int64_t stride, const std::vector< Rational > &val, const Rational &default_val) override |
Public Member Functions inherited from wmtk::MeshWriter | |
virtual | ~MeshWriter () |
Private Member Functions | |
void | write_internal (const std::string &name, const int64_t type, const int64_t stride, const std::vector< double > &val) |
Private Attributes | |
std::array< ParaviewInternalWriter, 4 > | m_writers |
std::array< bool, 4 > | m_enabled |
std::string | m_vertices_name |
bool | m_write |
Additional Inherited Members | |
Protected Attributes inherited from wmtk::MeshWriter | |
int64_t | m_mm_level = 0 |
Definition at line 16 of file ParaviewWriter.hpp.
wmtk::io::ParaviewWriter::ParaviewWriter | ( | const std::filesystem::path & | filename, |
const std::string & | vertices_name, | ||
const Mesh & | mesh, | ||
bool | write_points = true , |
||
bool | write_edges = true , |
||
bool | write_faces = true , |
||
bool | write_tetrahedra = true |
||
) |
Definition at line 69 of file ParaviewWriter.cpp.
References wmtk::Edge, wmtk::Mesh::get_all(), wmtk::Mesh::id(), m_enabled, m_writers, wmtk::Mesh::switch_tuple(), wmtk::Triangle, and wmtk::Vertex.
|
inlineoverridevirtual |
Implements wmtk::MeshWriter.
Definition at line 59 of file ParaviewWriter.hpp.
References m_enabled.
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 155 of file ParaviewWriter.cpp.
References write_internal().
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 145 of file ParaviewWriter.cpp.
References write_internal().
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 131 of file ParaviewWriter.cpp.
References write_internal().
|
overridevirtual |
Implements wmtk::MeshWriter.
Definition at line 170 of file ParaviewWriter.cpp.
References write_internal().
|
inlineoverridevirtual |
Implements wmtk::MeshWriter.
Definition at line 62 of file ParaviewWriter.hpp.
References wmtk::MeshWriter::m_mm_level, and m_write.
|
inlineoverridevirtual |
Implements wmtk::MeshWriter.
Definition at line 69 of file ParaviewWriter.hpp.
|
private |
Definition at line 184 of file ParaviewWriter.cpp.
References m_enabled, m_vertices_name, m_write, and m_writers.
Referenced by write().
|
inlineoverridevirtual |
Implements wmtk::MeshWriter.
Definition at line 61 of file ParaviewWriter.hpp.
|
private |
Definition at line 102 of file ParaviewWriter.hpp.
Referenced by ParaviewWriter(), write(), and write_internal().
|
private |
Definition at line 103 of file ParaviewWriter.hpp.
Referenced by write_internal().
|
private |
Definition at line 104 of file ParaviewWriter.hpp.
Referenced by write_absolute_id(), and write_internal().
|
private |
Definition at line 101 of file ParaviewWriter.hpp.
Referenced by ParaviewWriter(), and write_internal().