3 #ifndef __YARP_CROP_CALLBACK_HPP__
4 #define __YARP_CROP_CALLBACK_HPP__
9 #include <yarp/os/Bottle.h>
10 #include <yarp/os/TypedReaderCallback.h>
12 #include <yarp/sig/Vector.h>
25 using VertexType = std::pair<int, int>;
27 void onRead(yarp::os::Bottle & bot,
const yarp::os::TypedReader<yarp::os::Bottle> & reader)
override;
28 yarp::sig::VectorOf<VertexType> getVertices()
const;
31 yarp::sig::VectorOf<VertexType> cropVertices;
32 mutable std::mutex cropMutex;
33 bool isCropping {
false};
Definition: YarpCropCallback.hpp:23
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5