Ignition Common

API Reference

3.5.0
MeshExporter Class Referenceabstract

Base class for exporting meshes. More...

#include <MeshExporter.hh>

Public Member Functions

 MeshExporter ()
 Constructor. More...
 
virtual ~MeshExporter ()
 Destructor. More...
 
virtual void Export (const Mesh *_mesh, const std::string &_filename, bool _exportTextures=false)=0
 Export a mesh to a file. More...
 

Detailed Description

Base class for exporting meshes.

Constructor & Destructor Documentation

◆ MeshExporter()

Constructor.

◆ ~MeshExporter()

virtual ~MeshExporter ( )
virtual

Destructor.

Member Function Documentation

◆ Export()

virtual void Export ( const Mesh _mesh,
const std::string _filename,
bool  _exportTextures = false 
)
pure virtual

Export a mesh to a file.

Parameters
[in]_meshPointer to the mesh to be exported
[in]_filenameExported file's path and name
[in]_exportTexturesTrue to export texture images to '../materials/textures' folder

Implemented in ColladaExporter.


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