Gazebo Common

API Reference

5.7.0
STLLoader Class Reference

Class used to load STL mesh files. More...

#include <gz/common/STLLoader.hh>

Public Member Functions

 STLLoader ()
 Constructor. More...
 
virtual ~STLLoader ()
 Destructor. More...
 
virtual MeshLoad (const std::string &_filename)
 Creates a new mesh and loads the data from a file. More...
 
- Public Member Functions inherited from MeshLoader
 MeshLoader ()=default
 Constructor. More...
 
virtual ~MeshLoader ()=default
 Destructor. More...
 

Detailed Description

Class used to load STL mesh files.

Constructor & Destructor Documentation

◆ STLLoader()

STLLoader ( )

Constructor.

◆ ~STLLoader()

virtual ~STLLoader ( )
virtual

Destructor.

Member Function Documentation

◆ Load()

virtual Mesh* Load ( const std::string _filename)
virtual

Creates a new mesh and loads the data from a file.

Parameters
[in]_filenamethe mesh file

Implements MeshLoader.


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