Mesh::MergeExporter Class Reference

Creates a single mesh, in a file, from one or more objects. More...

#include <Exporter.h>

Public Member Functions

bool addMesh (const char *name, const MeshObject &mesh) override
 
 MergeExporter (std::string fileName, MeshCore::MeshIO::Format fmt)
 
 ~MergeExporter ()
 
- Public Member Functions inherited from Mesh::Exporter
virtual bool addMesh (const char *name, const MeshObject &mesh)=0
 
int addObject (App::DocumentObject *obj, float tol)
 Add object and all subobjects and links etc. Returns the number of stuff added. More...
 
 Exporter ()
 
virtual ~Exporter ()=default
 

Protected Attributes

std::string fName
 
MeshObject mergingMesh
 
- Protected Attributes inherited from Mesh::Exporter
std::map< const App::DocumentObject *, MeshObjectmeshCache
 
std::map< const App::DocumentObject *, std::vector< std::string > > subObjectNameCache
 

Additional Inherited Members

- Static Protected Member Functions inherited from Mesh::Exporter
static std::string xmlEscape (const std::string &input)
 Does some simple escaping of characters for XML-type exports. More...
 

Detailed Description

Creates a single mesh, in a file, from one or more objects.

Constructor & Destructor Documentation

◆ MergeExporter()

MergeExporter::MergeExporter ( std::string  fileName,
MeshCore::MeshIO::Format  fmt 
)

◆ ~MergeExporter()

Member Function Documentation

◆ addMesh()

Member Data Documentation

◆ fName

std::string Mesh::MergeExporter::fName
protected

Referenced by ~MergeExporter().

◆ mergingMesh

MeshObject Mesh::MergeExporter::mergingMesh
protected

Referenced by addMesh(), and ~MergeExporter().


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