23 #include <ignition/math/Pose3.hh>
24 #include <ignition/utils/ImplPtr.hh>
30 #include "sdf/sdf_config.h"
36 inline namespace SDF_VERSION_NAMESPACE {
54 public:
const std::string &Name()
const;
58 public:
void SetName(
const std::string &_name);
62 public:
const std::string &Filename()
const;
66 public:
void SetFilename(
const std::string &_filename);
70 public:
const std::string &FilePath()
const;
74 public:
void SetFilePath(
const std::string &_filePath);
78 public:
double Scale()
const;
82 public:
void SetScale(
double _scale);
86 public:
bool InterpolateX()
const;
90 public:
void SetInterpolateX(
bool _interpolateX);
93 IGN_UTILS_IMPL_PTR(dataPtr)
112 public:
double Time()
const;
116 public:
void SetTime(
double _time);
120 public: ignition::math::Pose3d Pose()
const;
124 public:
void SetPose(
const ignition::math::Pose3d &_pose);
127 IGN_UTILS_IMPL_PTR(dataPtr)
146 public: uint64_t Id()
const;
150 public:
void SetId(uint64_t _id);
154 public:
const std::string &Type()
const;
159 public:
void SetType(
const std::string &_type);
163 public:
double Tension()
const;
167 public:
void SetTension(
double _tension);
171 public: uint64_t WaypointCount()
const;
178 public:
const Waypoint *WaypointByIndex(uint64_t _index)
const;
182 public:
void AddWaypoint(
const Waypoint &_waypoint);
185 IGN_UTILS_IMPL_PTR(dataPtr)
205 public:
const std::string &Name()
const;
209 public:
void SetName(
const std::string &_name);
216 public:
const ignition::math::Pose3d &RawPose()
const;
221 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
227 public:
const std::string &PoseRelativeTo()
const;
233 public:
void SetPoseRelativeTo(
const std::string &_frame);
237 public:
const std::string &FilePath()
const;
241 public:
void SetFilePath(
const std::string &_filePath);
245 public:
const std::string &SkinFilename()
const;
249 public:
void SetSkinFilename(std::string _skinFilename);
253 public:
double SkinScale()
const;
257 public:
void SetSkinScale(
double _skinScale);
261 public: uint64_t AnimationCount()
const;
268 public:
const Animation *AnimationByIndex(uint64_t _index)
const;
273 public:
bool AnimationNameExists(
const std::string &_name)
const;
277 public:
void AddAnimation(
const Animation &_anim);
281 public:
bool ScriptLoop()
const;
286 public:
void SetScriptLoop(
bool _scriptLoop);
290 public:
double ScriptDelayStart()
const;
294 public:
void SetScriptDelayStart(
double _scriptDelayStart);
298 public:
bool ScriptAutoStart()
const;
303 public:
void SetScriptAutoStart(
bool _scriptAutoStart);
307 public: uint64_t TrajectoryCount()
const;
314 public:
const Trajectory *TrajectoryByIndex(uint64_t _index)
const;
319 public:
bool TrajectoryIdExists(uint64_t _id)
const;
323 public:
void AddTrajectory(
const Trajectory &_traj);
327 public: uint64_t LinkCount()
const;
334 public:
const Link *LinkByIndex(uint64_t _index)
const;
339 public:
bool LinkNameExists(
const std::string &_name)
const;
343 public: uint64_t JointCount()
const;
350 public:
const Joint *JointByIndex(uint64_t _index)
const;
355 public:
bool JointNameExists(
const std::string &_name)
const;
364 IGN_UTILS_IMPL_PTR(dataPtr)