Helper class to store nested models data. More...
#include <ModelData.hh>
Public Member Functions | |
int | Depth () const |
Get the depth of the nested model. More... | |
ignition::math::Pose3d | Pose () const |
Get the pose of the nested model. More... | |
void | SetName (const std::string &_name) |
Set the name of the model. More... | |
void | SetPose (const ignition::math::Pose3d &_pose) |
Set the pose of the model. More... | |
Public Attributes | |
std::map< std::string, rendering::VisualWeakPtr > | links |
Links inside this model. More... | |
std::map< std::string, rendering::VisualWeakPtr > | models |
Models inside this model. More... | |
sdf::ElementPtr | modelSDF |
SDF representing the model data. More... | |
rendering::VisualPtr | modelVisual |
Visual representing this model. More... | |
Helper class to store nested models data.
int Depth | ( | ) | const |
Get the depth of the nested model.
The root model has depth 1.
ignition::math::Pose3d Pose | ( | ) | const |
Get the pose of the nested model.
void SetName | ( | const std::string & | _name | ) |
Set the name of the model.
[in] | _name | Name of model. |
void SetPose | ( | const ignition::math::Pose3d & | _pose | ) |
Set the pose of the model.
[in] | _pose | Pose of model. |
std::map<std::string, rendering::VisualWeakPtr> links |
Links inside this model.
std::map<std::string, rendering::VisualWeakPtr> models |
Models inside this model.
sdf::ElementPtr modelSDF |
SDF representing the model data.
rendering::VisualPtr modelVisual |
Visual representing this model.