|
Tracore
|
#include <ObjectData.h>
Public Member Functions | |
| ObjectData () | |
| ObjectData (std::size_t frame_index) | |
| std::size_t | GetFrameIndex () const |
| bool | IsVirtual () const |
| virtual double | CompareTo (ObjectData *obj) |
Protected Member Functions | |
| virtual void | Print (std::ostream &os) const |
Protected Attributes | |
| std::size_t | frame_index_ |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const ObjectData &obj) |
Base class for all detected objects. Stores the corresponding frame index.
| core::ObjectData::ObjectData | ( | ) |
Creates a new empty ObjectData (e.g. for virtual objects)
| core::ObjectData::ObjectData | ( | std::size_t | frame_index | ) |
Creates a new ObjectData with the given frame index
| frame_index | the index in which the object was detected |
|
virtual |
Compares this object with the given object.
| obj | A pointer to the object to compare this object to |
Reimplemented in core::ObjectDataMap, and core::Tracklet.
| std::size_t core::ObjectData::GetFrameIndex | ( | ) | const |
Getter for the frame index
| bool core::ObjectData::IsVirtual | ( | ) | const |
Is this node considered a virtual node
|
protectedvirtual |
|
friend |
Overrides the << operator for easy output. Calls the print method.
| os | The stream to write to |
| obj | The object to write into the stream |
|
protected |
The frame the object was detected in
1.8.12