class
#include <iDynTree/SolidShapes.h>
ExternalMesh
Base classes
- class SolidShape
Constructors, destructors, conversion operators
- ~ExternalMesh() virtual
Public functions
- auto clone() const -> SolidShape* virtual
- auto getFilename() const -> const std::string&
- Returns the current filename.
- auto getPackageDirs() const -> const std::vector<std::string>&
- Returns the current package directories.
- auto getFileLocationOnLocalFileSystem() const -> std::string
- Returns the filename substituting the prefix "package://" with the corresponding absolute path.
- void setFilename(const std::string& filename)
- Sets the filename.
- void setPackageDirs(const std::vector<std::string>& packageDirs)
- Sets the the package directories.
-
auto getScale() const -> const iDynTree::
Vector3& - Returns the current scale.
-
void setScale(const iDynTree::
Vector3& scale) - Sets the scale.
Function documentation
std::string iDynTree:: ExternalMesh:: getFileLocationOnLocalFileSystem() const
Returns the filename substituting the prefix "package://" with the corresponding absolute path.
The absolute path is determined by searching for the file using the paths specified in the packageDirs vector or if empty in the "GAZEBO_MODEL_PATH", "ROS_PACKAGE_PATH" and "AMENT_PREFIX_PATH" environmental variables.
void iDynTree:: ExternalMesh:: setPackageDirs(const std::vector<std::string>& packageDirs)
Sets the the package directories.