Gazebo Common

API Reference

6.0.1
ColladaExporter Class Reference

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

#include <ColladaExporter.hh>

Public Member Functions

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

Detailed Description

Class used to export Collada mesh files.

Constructor & Destructor Documentation

◆ ColladaExporter()

Constructor.

◆ ~ColladaExporter()

virtual ~ColladaExporter ( )
virtual

Destructor.

Member Function Documentation

◆ Export() [1/3]

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

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
[in]_submeshToMatrixMatrices of submeshes

◆ Export() [2/3]

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

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
[in]_submeshToMatrixMatrices of submeshes
[in]_lightsList of lights to export

◆ Export() [3/3]

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: