#pragma once #include #include #include "VectorFwd.h" /************************************************************************* SLN 22 Nov 2016: This class is deprecated and should no longer be used... Consider AftrMotionData for dynamically updating pose of a WO. ************************************************************************/ namespace Aftr { struct AftrItineraryEvent { Vector* position; float* orientation; }; class AftrItinerary { public: AftrItinerary( std::vector positions = std::vector(), std::vector orientations = std::vector(), std::vector times = std::vector() ); void addEvent( Vector* position, float* orientation, unsigned int time ); void addEvents( std::vector positions, std::vector orientations, std::vector times ); virtual ~AftrItinerary(); AftrItineraryEvent getEventAtTime( unsigned int time ); void addOffset( const Vector& offset );///< adds a global coordinate offset to the current list (cumulative) std::vector getPoints(); std::map* getEvents() { return &events; } protected: std::map events; }; }