19 #ifndef __ICUBCLIENT_OBJECT_H__ 20 #define __ICUBCLIENT_OBJECT_H__ 22 #include <yarp/sig/all.h> 86 virtual bool isType(std::string _entityType)
const 95 virtual yarp::os::Bottle asBottle()
const;
96 virtual bool fromBottle(
const yarp::os::Bottle &b);
97 virtual std::string toString()
const;
104 yarp::sig::VectorOf<double> getSelfRelativePosition(
const yarp::sig::VectorOf<double> &vInitialRoot)
const;
107 return objectAreaAsString(m_objectarea);
117 double saliency()
const;
123 void setSaliency(
double saliency);
129 double value()
const;
135 void setValue(
double value);
yarp::sig::VectorOf< double > m_color
Mean color of the object (r,g,b) used mainly for debugging/displaying purposes in the iCubGUI...
Represent any entity that can be stored within the OPC.
std::string objectAreaAsString() const
yarp::sig::VectorOf< double > m_ego_orientation
Orientation of the Object, in the initial ego-centered reference frame of the agent mainting the OPC ...
virtual bool isType(std::string _entityType) const
Test if an entity is inheriting a given type.
double m_present
Is the object present in the scene A value of 1.0 means that the object currently is in the scene A v...
Represent any physical entity (including objects and agents) that can be stored within the OPC...
yarp::sig::VectorOf< double > m_ego_position
Position of the Object, in the initial ego-centered reference frame of the agent mainting the OPC (in...
virtual bool isType(std::string _entityType) const
Test if an entity is inheriting a given type.
yarp::sig::VectorOf< double > m_dimensions
Dimensions of the Object, in meters.
An OPC client using the datastructures defined within the icub-client library.
ObjectArea m_objectarea
Whether the object is accessible by only the robot, only the human, both or neither agent...
double m_saliency
A measurement of the object saliency [0,1].
double m_value
A measurement of the object subjective value [0,1].