23 #include <gz/math/Pose3.hh>
24 #include <gz/utils/ImplPtr.hh>
37 inline namespace SDF_VERSION_NAMESPACE {
55 public:
const std::string &Name()
const;
59 public:
void SetName(
const std::string &_name);
63 public:
const std::string &Filename()
const;
67 public:
void SetFilename(
const std::string &_filename);
71 public:
const std::string &FilePath()
const;
75 public:
void SetFilePath(
const std::string &_filePath);
79 public:
double Scale()
const;
83 public:
void SetScale(
double _scale);
87 public:
bool InterpolateX()
const;
91 public:
void SetInterpolateX(
bool _interpolateX);
94 GZ_UTILS_IMPL_PTR(dataPtr)
113 public:
double Time()
const;
117 public:
void SetTime(
double _time);
121 public: gz::math::Pose3d Pose()
const;
125 public:
void SetPose(
const gz::math::Pose3d &_pose);
128 GZ_UTILS_IMPL_PTR(dataPtr)
147 public: uint64_t Id()
const;
151 public:
void SetId(uint64_t _id);
155 public:
const std::string &Type()
const;
160 public:
void SetType(
const std::string &_type);
164 public:
double Tension()
const;
168 public:
void SetTension(
double _tension);
172 public: uint64_t WaypointCount()
const;
179 public:
const Waypoint *WaypointByIndex(uint64_t _index)
const;
183 public:
void AddWaypoint(
const Waypoint &_waypoint);
186 GZ_UTILS_IMPL_PTR(dataPtr)
206 public:
const std::string &Name()
const;
210 public:
void SetName(
const std::string &_name);
217 public:
const gz::math::Pose3d &RawPose()
const;
222 public:
void SetRawPose(
const gz::math::Pose3d &_pose);
228 public:
const std::string &PoseRelativeTo()
const;
234 public:
void SetPoseRelativeTo(
const std::string &_frame);
238 public:
const std::string &FilePath()
const;
242 public:
void SetFilePath(
const std::string &_filePath);
246 public:
const std::string &SkinFilename()
const;
250 public:
void SetSkinFilename(std::string _skinFilename);
254 public:
double SkinScale()
const;
258 public:
void SetSkinScale(
double _skinScale);
262 public: uint64_t AnimationCount()
const;
269 public:
const Animation *AnimationByIndex(uint64_t _index)
const;
274 public:
bool AnimationNameExists(
const std::string &_name)
const;
278 public:
void AddAnimation(
const Animation &_anim);
282 public:
bool ScriptLoop()
const;
287 public:
void SetScriptLoop(
bool _scriptLoop);
291 public:
double ScriptDelayStart()
const;
295 public:
void SetScriptDelayStart(
double _scriptDelayStart);
299 public:
bool ScriptAutoStart()
const;
304 public:
void SetScriptAutoStart(
bool _scriptAutoStart);
308 public: uint64_t TrajectoryCount()
const;
315 public:
const Trajectory *TrajectoryByIndex(uint64_t _index)
const;
320 public:
bool TrajectoryIdExists(uint64_t _id)
const;
324 public:
void AddTrajectory(
const Trajectory &_traj);
328 public: uint64_t LinkCount()
const;
335 public:
const Link *LinkByIndex(uint64_t _index)
const;
340 public:
bool LinkNameExists(
const std::string &_name)
const;
344 public: uint64_t JointCount()
const;
351 public:
const Joint *JointByIndex(uint64_t _index)
const;
356 public:
bool JointNameExists(
const std::string &_name)
const;
368 public:
bool AddLink(
const Link &_link);
374 public:
bool AddJoint(
const Joint &_joint);
377 public:
void ClearLinks();
380 public:
void ClearJoints();
400 public:
void ClearPlugins();
404 public:
void AddPlugin(
const Plugin &_plugin);
407 GZ_UTILS_IMPL_PTR(dataPtr)