Wildmeshing Toolkit
wmtk::io::ParaviewWriter::ParaviewInternalWriter Class Reference

Public Member Functions

 ParaviewInternalWriter ()
 
 ~ParaviewInternalWriter ()
 
void init (const std::filesystem::path &filename, const std::string &vertices_name, const Eigen::MatrixXi &elements, const bool enabled)
 
void write (const std::string &name, const int64_t stride, const std::vector< double > &val)
 
Eigen::MatrixXd & vertices ()
 

Private Attributes

std::string m_vertices_name
 
std::filesystem::path m_filename
 
bool m_enabled
 
std::shared_ptr< paraviewo::ParaviewWriter > m_paraview_file
 
Eigen::MatrixXd m_vertices
 
Eigen::MatrixXi m_elements
 

Detailed Description

Definition at line 19 of file ParaviewWriter.hpp.

Constructor & Destructor Documentation

◆ ParaviewInternalWriter()

◆ ~ParaviewInternalWriter()

wmtk::io::ParaviewWriter::ParaviewInternalWriter::~ParaviewInternalWriter ( )

Definition at line 34 of file ParaviewWriter.cpp.

References m_elements, m_enabled, m_filename, m_paraview_file, and m_vertices.

Member Function Documentation

◆ init()

void wmtk::io::ParaviewWriter::ParaviewInternalWriter::init ( const std::filesystem::path &  filename,
const std::string &  vertices_name,
const Eigen::MatrixXi &  elements,
const bool  enabled 
)

Definition at line 21 of file ParaviewWriter.cpp.

References m_elements, m_enabled, m_filename, and m_vertices_name.

◆ vertices()

Eigen::MatrixXd& wmtk::io::ParaviewWriter::ParaviewInternalWriter::vertices ( )
inline

Definition at line 34 of file ParaviewWriter.hpp.

References m_vertices.

◆ write()

void wmtk::io::ParaviewWriter::ParaviewInternalWriter::write ( const std::string &  name,
const int64_t  stride,
const std::vector< double > &  val 
)

Definition at line 40 of file ParaviewWriter.cpp.

References m_paraview_file.

Member Data Documentation

◆ m_elements

Eigen::MatrixXi wmtk::io::ParaviewWriter::ParaviewInternalWriter::m_elements
private

Definition at line 46 of file ParaviewWriter.hpp.

Referenced by init(), and ~ParaviewInternalWriter().

◆ m_enabled

bool wmtk::io::ParaviewWriter::ParaviewInternalWriter::m_enabled
private

Definition at line 41 of file ParaviewWriter.hpp.

Referenced by init(), and ~ParaviewInternalWriter().

◆ m_filename

std::filesystem::path wmtk::io::ParaviewWriter::ParaviewInternalWriter::m_filename
private

Definition at line 39 of file ParaviewWriter.hpp.

Referenced by init(), and ~ParaviewInternalWriter().

◆ m_paraview_file

std::shared_ptr<paraviewo::ParaviewWriter> wmtk::io::ParaviewWriter::ParaviewInternalWriter::m_paraview_file
private

Definition at line 43 of file ParaviewWriter.hpp.

Referenced by ParaviewInternalWriter(), write(), and ~ParaviewInternalWriter().

◆ m_vertices

Eigen::MatrixXd wmtk::io::ParaviewWriter::ParaviewInternalWriter::m_vertices
private

Definition at line 45 of file ParaviewWriter.hpp.

Referenced by vertices(), and ~ParaviewInternalWriter().

◆ m_vertices_name

std::string wmtk::io::ParaviewWriter::ParaviewInternalWriter::m_vertices_name
private

Definition at line 37 of file ParaviewWriter.hpp.

Referenced by init().


The documentation for this class was generated from the following files: