1 #ifndef VIEW_PLY_EXPORTER_H_INCLUDED
2 #define VIEW_PLY_EXPORTER_H_INCLUDED
45 static bool Export(std::shared_ptr<SimPT_Sim::SimInterface> sim, std::string
const& file_path,
bool overwrite =
true);
54 static void StreamHeader(
const SimPT_Sim::Mesh& mesh, QTextStream& stream);
56 static void StreamBody(
const SimPT_Sim::Mesh& mesh, QTextStream& stream);
61 #endif // end_of_include_guard
Namespace for SimPT shell package.
Namespace for the core simulator.
Functions and data for PLY export of Sim objects.
static std::string GetFileExtension()
File extension associated with this export format.
Structure of cells; key data structure.
static bool Export(std::shared_ptr< SimPT_Sim::SimInterface > sim, std::string const &file_path, bool overwrite=true)
Export sim state to ply format.