Gazebo Common

API Reference

3.17.0
ColladaExporter Class Reference

Class used to export Collada mesh files. More...

#include <ColladaExporter.hh>

Public Member Functions

 ColladaExporter ()
 Constructor. More...
 
virtual ~ColladaExporter ()
 Destructor. More...
 
void Export (const Mesh *_mesh, const std::string &_filename, bool _exportTextures, const std::vector< math::Matrix4d > &_submeshToMatrix)
 
virtual void Export (const Mesh *_mesh, const std::string &_filename, bool _exportTextures=false)
 Export a mesh to a file. More...
 
- Public Member Functions inherited from MeshExporter
 MeshExporter ()
 Constructor. More...
 
virtual ~MeshExporter ()
 Destructor. More...
 

Detailed Description

Class used to export Collada mesh files.

Constructor & Destructor Documentation

◆ ColladaExporter()

Constructor.

◆ ~ColladaExporter()

virtual ~ColladaExporter ( )
virtual

Destructor.

Member Function Documentation

◆ Export() [1/2]

void Export ( const Mesh _mesh,
const std::string _filename,
bool  _exportTextures,
const std::vector< math::Matrix4d > &  _submeshToMatrix 
)

◆ Export() [2/2]

virtual void Export ( const Mesh _mesh,
const std::string _filename,
bool  _exportTextures = false 
)
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

Implements MeshExporter.


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