VPTissue Reference Manual
SimPT_Shell::PlyExporter Class Reference

Functions and data for PLY export of Sim objects. More...

#include <PlyExporter.h>

Collaboration diagram for SimPT_Shell::PlyExporter:
Collaboration graph

Static Public Member Functions

static bool Export (std::shared_ptr< SimPT_Sim::SimInterface > sim, std::string const &file_path, bool overwrite=true)
 Export sim state to ply format. More...
 
static std::string GetFileExtension ()
 File extension associated with this export format. More...
 

Detailed Description

Functions and data for PLY export of Sim objects.

Definition at line 36 of file PlyExporter.h.

Member Function Documentation

bool SimPT_Shell::PlyExporter::Export ( std::shared_ptr< SimPT_Sim::SimInterface sim,
std::string const &  file_path,
bool  overwrite = true 
)
static

Export sim state to ply format.

Parameters
simSim to export.
filenameName of file.
overwriteWhether to overwrite if path already exists.

Definition at line 38 of file PlyExporter.cpp.

Referenced by SimPT_Shell::Session::SimSession::GetExporters().

Here is the caller graph for this function:

string SimPT_Shell::PlyExporter::GetFileExtension ( )
static

File extension associated with this export format.

Returns
String containing file extension (without a ".")

Definition at line 62 of file PlyExporter.cpp.

Referenced by SimPT_Shell::Session::SimSession::GetExporters().

Here is the caller graph for this function:


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