23 #include <ignition/math/Pose3.hh>
29 #include "sdf/sdf_config.h"
35 inline namespace SDF_VERSION_NAMESPACE {
39 class AnimationPrivate;
42 class WaypointPrivate;
45 class TrajectoryPrivate;
87 public:
const std::string &Name()
const;
91 public:
void SetName(
const std::string &_name);
95 public:
const std::string &Filename()
const;
99 public:
void SetFilename(
const std::string &_filename);
103 public:
const std::string &FilePath()
const;
107 public:
void SetFilePath(
const std::string &_filePath);
111 public:
double Scale()
const;
115 public:
void SetScale(
double _scale);
119 public:
bool InterpolateX()
const;
123 public:
void SetInterpolateX(
bool _interpolateX);
127 public:
void CopyFrom(
const Animation &_animation);
130 private: AnimationPrivate *dataPtr =
nullptr;
170 public:
double Time()
const;
174 public:
void SetTime(
double _time);
178 public: ignition::math::Pose3d Pose()
const;
182 public:
void SetPose(
const ignition::math::Pose3d &_pose);
186 public:
void CopyFrom(
const Waypoint &_waypoint);
189 private: WaypointPrivate *dataPtr =
nullptr;
229 public: uint64_t Id()
const;
233 public:
void SetId(uint64_t _id);
237 public:
const std::string &Type()
const;
242 public:
void SetType(
const std::string &_type);
246 public:
double Tension()
const;
250 public:
void SetTension(
double _tension);
254 public: uint64_t WaypointCount()
const;
261 public:
const Waypoint *WaypointByIndex(uint64_t _index)
const;
265 public:
void AddWaypoint(
const Waypoint &_waypoint);
269 public:
void CopyFrom(
const Trajectory &_trajectory);
272 private: TrajectoryPrivate *dataPtr =
nullptr;
301 public:
Actor &operator=(
const Actor &_actor);
305 public:
void CopyFrom(
const Actor &_actor);
317 public: std::string &Name()
const;
321 public:
void SetName(
const std::string &_name);
329 public:
const ignition::math::Pose3d &Pose()
const
336 public:
void SetPose(
const ignition::math::Pose3d &_pose)
344 public:
const ignition::math::Pose3d &RawPose()
const;
349 public:
void SetRawPose(
const ignition::math::Pose3d &_pose);
355 public:
const std::string &PoseRelativeTo()
const;
361 public:
void SetPoseRelativeTo(
const std::string &_frame);
368 public:
const std::string &PoseFrame()
const
376 public:
void SetPoseFrame(
const std::string &_frame)
381 public:
const std::string &FilePath()
const;
385 public:
void SetFilePath(
const std::string &_filePath);
389 public:
const std::string &SkinFilename()
const;
393 public:
void SetSkinFilename(std::string _skinFilename);
397 public:
double SkinScale()
const;
401 public:
void SetSkinScale(
double _skinScale);
405 public: uint64_t AnimationCount()
const;
412 public:
const Animation *AnimationByIndex(uint64_t _index)
const;
417 public:
bool AnimationNameExists(
const std::string &_name)
const;
421 public:
void AddAnimation(
const Animation &_anim);
425 public:
bool ScriptLoop()
const;
430 public:
void SetScriptLoop(
bool _scriptLoop);
434 public:
double ScriptDelayStart()
const;
438 public:
void SetScriptDelayStart(
double _scriptDelayStart);
442 public:
bool ScriptAutoStart()
const;
447 public:
void SetScriptAutoStart(
bool _scriptAutoStart);
451 public: uint64_t TrajectoryCount()
const;
458 public:
const Trajectory *TrajectoryByIndex(uint64_t _index)
const;
463 public:
bool TrajectoryIdExists(uint64_t _id)
const;
467 public:
void AddTrajectory(
const Trajectory &_traj);
471 public: uint64_t LinkCount()
const;
478 public:
const Link *LinkByIndex(uint64_t _index)
const;
483 public:
bool LinkNameExists(
const std::string &_name)
const;
487 public: uint64_t JointCount()
const;
494 public:
const Joint *JointByIndex(uint64_t _index)
const;
499 public:
bool JointNameExists(
const std::string &_name)
const;
508 private: ActorPrivate *dataPtr =
nullptr;