ActionPoint.cpp 634 B

123456789101112131415161718
  1. // Include own headers
  2. #include "ActionPoint.hpp"
  3. ActionPoint::ActionPoint(const osg::Vec3 point, const osg::Vec3 normal, const osg::Vec3 normalModifier, const float normalRotation, const bool compensation, const std::string identifier): TrackPoint(point, normal, normalModifier, normalRotation, compensation) {
  4. _identifier = identifier;
  5. }
  6. std::string ActionPoint::getIdentifier() {
  7. return _identifier;
  8. }
  9. ActionPointSettings ActionPoint::getActionPointSettings() {
  10. return ActionPointSettings {_identifier};
  11. }
  12. void ActionPoint::updateActionPointSettings(ActionPointSettings settings) {
  13. _identifier = settings.identifier;
  14. }