13 #include "../BasicDatatypes.hpp" 17 #include "../tools/Time.hpp"
void setObjectId(UINT16 v)
void incrementObjectAge()
Just increment objectAge by one.
double getCourseAngle() const
void setObjectBox(const Point2D &v)
double m_courseAngleSigma
Point2D m_relativeVelocitySigma
Point2D m_absoluteVelocitySigma
const Point2D & getAbsoluteVelocitySigma() const
double m_objectHeight
The height of this object in [m] (most probably received through WLAN data).
const Point2D & getAbsoluteVelocity() const
const Polygon2D & getContourPoints() const
double m_totalTrackedPathLength
A rotated 2-dimensional box in the plane.
void setTotalTrackedPathLength(double v)
const Point2D & getCenterPointSigma() const
void setObjectHeight(double v)
double getTotalTrackedPathLength() const
void setRelativeVelocity(const Point2D &v)
double getObjectHeight() const
const Point2D & getCenterPoint() const
void setVehicleWLANid(UINT64 v)
std::string toString() const
static const char * objectClassificationToShortString(ObjectClassification v)
Returns the given classification value as a short string.
bool isHiddenStatus() const
void setAbsoluteVelocity(const Point2D &v)
UINT32 getObjectAge() const
Point2D m_boundingBoxCenter
Center of the bounding box.
double getClassificationQuality() const
void setCourseAngleSigma(double v)
void setObjectAge(UINT32 v)
const UINT32 getUsedMemory() const
void setCenterPoint(const Point2D &v)
double getCourseAngleSigma() const
Point2D m_closestPoint
The point of this object that is closest to the origin of the vehicle coordinate system.
Point2D m_boundingBox
A rectangle in parallel to the vehicle coordinate system (a paraxial rectangle) that contains (bounds...
const Point2D & getObjectBox() const
void setClassificationAge(UINT32 v)
void setBoundingBoxCenter(const Point2D &v)
static Object::ObjectClassification stringToObjectClassification(const std::string &s)
UINT16 getObjectId() const
const Point2D & getRelativeVelocitySigma() const
void getObjectBoxVarCovar(double &var_x, double &var_y, double &covar_xy) const
UINT64 getVehicleWLANid() const
Point2D m_centerPoint
Center point of object rectangle, given in Vehicle coordinate system.
bool operator==(const Object &other) const
Equality predicate.
ObjectClassification getClassification() const
void addContourPoint(const Point2D cp)
UINT32 m_classificationAge
Counts how long the object has been classified in the current classification.
void setClassificationQuality(double v)
void setTimestamp(const Time &v)
const Point2D & getRelativeVelocity() const
const Point2D & getBoundingBoxCenter() const
Polygon2D m_contourPoints
A poly-line that describes the outline of the current object measurement.
double getMeanAbsoluteVelocity() const
double getMaxAbsoluteVelocity() const
const UINT32 getUsedMemory() const
UINT16 getHiddenStatusAge() const
UINT32 getClassificationAge() const
void setNormalizedMeanPointDist(double v)
double m_maxAbsoluteVelocity
Classification feature: The maximum observed absolute velocity [m/s].
double getObjectMass() const
Point2D m_absoluteVelocity
Velocity of this object [meter/seconds] as absolute velocity; the orientation is relative to the vehi...
static std::string objectClassificationToStringWithNum(ObjectClassification v)
Returns the given classification value as a string with the integer number included.
void setTotalTrackingDuration(double v)
void setContourPoints(const Polygon2D &v)
double m_objectMass
The mass of this object in kilogram
const Point2D & getClosestPoint() const
ObjectClassification m_classification
The object class that is most likely for this object.
const Point2D & getBoundingBox() const
std::streamsize getSerializedSize(UINT32 version) const
Size of the serialized representation of this object.
const Time & getTimestamp() const
void setClosestPoint(const Point2D &v)
void setAbsoluteVelocitySigma(const Point2D &v)
const Point2D & getObjectBoxSigma() const
static const char * objectClassificationToString(ObjectClassification v)
Returns the given classification value as a string.
double getNormalizedMeanPointDist() const
void setRelativeVelocitySigma(const Point2D &v)
void setClassification(ObjectClassification v)
UINT32 m_objectAge
number of scans in which this object has been tracked, or instead time?
void setCenterPointSigma(const Point2D &v)
UINT16 m_hiddenStatusAge
Counts how long the object has not been observed but only predicted.
void setHiddenStatusAge(UINT16 v)
double m_totalTrackingDuration
double m_normalizedMeanPointDist
double getTotalTrackingDuration() const
void setObjectHeightSigma(double v)
void setMaxAbsoluteVelocity(double v)
void setValid(bool newValue=true)
const Time & getTimestamp() const
void setObjectMass(double v)
Point2D m_relativeVelocity
Velocity of this object [meter/seconds], relative to the vehicle coordinate system.
void setBoundingBox(const Point2D &v)
Point2D m_objectBox
The object's length and width as a rectangle, relative to the object's coordinate system...
double m_objectHeightSigma
The standard deviation of the height of this object in [m] (most probably received through WLAN data)...
double m_classificationQuality
The quality of the current classification.
void setCourseAngle(double newCourseAngle)
double getObjectHeightSigma() const
double m_courseAngle
named by ISO 8855; also called Orientation or Heading [rad]
UINT64 m_vehicleWLANid
An identifier to be used by WLAN fusion algorithms.
Point2D m_centerPointSigma
Time m_timestamp
Time of when the center point of this object was observed.
std::vector< Object > base_class
void setObjectBoxSigma(const Point2D &v)