\hypertarget{classcore_1_1ObjectData}{}\section{core\+:\+:Object\+Data Class Reference}
\label{classcore_1_1ObjectData}\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}}


{\ttfamily \#include $<$Object\+Data.\+h$>$}

Inheritance diagram for core\+:\+:Object\+Data\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classcore_1_1ObjectData}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcore_1_1ObjectData_a7f47a396a3b9e8c12a1557c8156b8ff9}{Object\+Data} ()
\item 
\hyperlink{classcore_1_1ObjectData_af4333a52b012841a6ba73b25aeaae71b}{Object\+Data} (std\+::size\+\_\+t frame\+\_\+index)
\item 
std\+::size\+\_\+t \hyperlink{classcore_1_1ObjectData_a1151e9215baf315f4b98f696f4271162}{Get\+Frame\+Index} () const
\item 
void \hyperlink{classcore_1_1ObjectData_aedfe00fa37d5ac7ef554bda746931148}{Set\+Frame\+Index} (size\+\_\+t index)
\item 
void \hyperlink{classcore_1_1ObjectData_a737216c2689aefa216c1c842922d7dd8}{Set\+Detection\+Score} (double score)
\item 
double \hyperlink{classcore_1_1ObjectData_ae9208bfeee72238e2d635dfab368c09a}{Get\+Detection\+Score} ()
\item 
bool \hyperlink{classcore_1_1ObjectData_a2880d710cfa520e9c0453e2a6729c0e2}{Is\+Virtual} () const
\item 
virtual double \hyperlink{classcore_1_1ObjectData_afbf7a1e87235f1b204d4d2eb8a37a9a6}{Compare\+To} (Object\+Data\+Ptr obj) const
\item 
virtual Object\+Data\+Ptr \hyperlink{classcore_1_1ObjectData_ad681915317decab76c384a635fc8444e}{Interpolate} (Object\+Data\+Ptr obj, double fraction) const
\item 
virtual void \hyperlink{classcore_1_1ObjectData_aae2c4fceddc529570dbe8909309f9961}{Visualize} (cv\+::\+Mat \&image, cv\+::\+Scalar \&color) const
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
std\+::ostream \& \hyperlink{classcore_1_1ObjectData_a56fc9b6184428bf4d80826bbb9fe4c6f}{operator$<$$<$} (std\+::ostream \&os, const \hyperlink{classcore_1_1ObjectData}{Object\+Data} \&obj)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Base class for all detected objects. Stores the corresponding frame index. 

\subsection{Constructor \& Destructor Documentation}
\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Object\+Data@{Object\+Data}}
\index{Object\+Data@{Object\+Data}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Object\+Data()}{ObjectData()}}]{\setlength{\rightskip}{0pt plus 5cm}core\+::\+Object\+Data\+::\+Object\+Data (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classcore_1_1ObjectData_a7f47a396a3b9e8c12a1557c8156b8ff9}{}\label{classcore_1_1ObjectData_a7f47a396a3b9e8c12a1557c8156b8ff9}
Creates a new empty virtual \hyperlink{classcore_1_1ObjectData}{Object\+Data} \index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Object\+Data@{Object\+Data}}
\index{Object\+Data@{Object\+Data}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Object\+Data(std\+::size\+\_\+t frame\+\_\+index)}{ObjectData(std::size\_t frame\_index)}}]{\setlength{\rightskip}{0pt plus 5cm}core\+::\+Object\+Data\+::\+Object\+Data (
\begin{DoxyParamCaption}
\item[{std\+::size\+\_\+t}]{frame\+\_\+index}
\end{DoxyParamCaption}
)}\hypertarget{classcore_1_1ObjectData_af4333a52b012841a6ba73b25aeaae71b}{}\label{classcore_1_1ObjectData_af4333a52b012841a6ba73b25aeaae71b}
Creates a new \hyperlink{classcore_1_1ObjectData}{Object\+Data} with the given frame index 
\begin{DoxyParams}{Parameters}
{\em frame\+\_\+index} & the index in which the object was detected \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Compare\+To@{Compare\+To}}
\index{Compare\+To@{Compare\+To}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Compare\+To(\+Object\+Data\+Ptr obj) const}{CompareTo(ObjectDataPtr obj) const}}]{\setlength{\rightskip}{0pt plus 5cm}double core\+::\+Object\+Data\+::\+Compare\+To (
\begin{DoxyParamCaption}
\item[{Object\+Data\+Ptr}]{obj}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classcore_1_1ObjectData_afbf7a1e87235f1b204d4d2eb8a37a9a6}{}\label{classcore_1_1ObjectData_afbf7a1e87235f1b204d4d2eb8a37a9a6}
Compares this object with the given object. 
\begin{DoxyParams}{Parameters}
{\em obj} & A pointer to the object to compare this object to \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A double value indicating the comparison result 
\end{DoxyReturn}


Reimplemented in \hyperlink{classcore_1_1ObjectDataMap_a7fcc9ef5b684f14d33711348610d9b74}{core\+::\+Object\+Data\+Map}, \hyperlink{classcore_1_1Tracklet_a0357f2fa173941800571432dcbc96dc2}{core\+::\+Tracklet}, \hyperlink{classcore_1_1ObjectData3D_abef3e4e7a0dc121d8a403d91964be576}{core\+::\+Object\+Data3D}, and \hyperlink{classcore_1_1ObjectDataAngular_a2932240c6c082b76f2c04723cdf3e4f9}{core\+::\+Object\+Data\+Angular}.

\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Get\+Detection\+Score@{Get\+Detection\+Score}}
\index{Get\+Detection\+Score@{Get\+Detection\+Score}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Get\+Detection\+Score()}{GetDetectionScore()}}]{\setlength{\rightskip}{0pt plus 5cm}double core\+::\+Object\+Data\+::\+Get\+Detection\+Score (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classcore_1_1ObjectData_ae9208bfeee72238e2d635dfab368c09a}{}\label{classcore_1_1ObjectData_ae9208bfeee72238e2d635dfab368c09a}
Gets the detection score \begin{DoxyReturn}{Returns}
The detection score 
\end{DoxyReturn}
\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Get\+Frame\+Index@{Get\+Frame\+Index}}
\index{Get\+Frame\+Index@{Get\+Frame\+Index}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Get\+Frame\+Index() const}{GetFrameIndex() const}}]{\setlength{\rightskip}{0pt plus 5cm}std\+::size\+\_\+t core\+::\+Object\+Data\+::\+Get\+Frame\+Index (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classcore_1_1ObjectData_a1151e9215baf315f4b98f696f4271162}{}\label{classcore_1_1ObjectData_a1151e9215baf315f4b98f696f4271162}
Gets the frame index \begin{DoxyReturn}{Returns}
The frame index 
\end{DoxyReturn}
\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Interpolate@{Interpolate}}
\index{Interpolate@{Interpolate}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Interpolate(\+Object\+Data\+Ptr obj, double fraction) const}{Interpolate(ObjectDataPtr obj, double fraction) const}}]{\setlength{\rightskip}{0pt plus 5cm}Object\+Data\+Ptr core\+::\+Object\+Data\+::\+Interpolate (
\begin{DoxyParamCaption}
\item[{Object\+Data\+Ptr}]{obj, }
\item[{double}]{fraction}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classcore_1_1ObjectData_ad681915317decab76c384a635fc8444e}{}\label{classcore_1_1ObjectData_ad681915317decab76c384a635fc8444e}
Linearly interpolates between this and the given object. Creates a new object to fit between the two objects. 
\begin{DoxyParams}{Parameters}
{\em obj} & A pointer to the target object \\
\hline
{\em fraction} & Describes where the interpolation should be done. A fraction of zero is a clone of this object, a fraction of one is a clone of the target object. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The interpolated object 
\end{DoxyReturn}


Reimplemented in \hyperlink{classcore_1_1ObjectDataMap_ac6a739ea0509371929dbe7cbac601a3e}{core\+::\+Object\+Data\+Map}, \hyperlink{classcore_1_1Tracklet_a5fb5e6ab9df668c3477e8b52f115b188}{core\+::\+Tracklet}, \hyperlink{classcore_1_1ObjectData3D_ae57a5d8f7a02a403653c82c3b73a73d2}{core\+::\+Object\+Data3D}, and \hyperlink{classcore_1_1ObjectDataAngular_a42962dd1f994b2577133450e755d586e}{core\+::\+Object\+Data\+Angular}.

\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Is\+Virtual@{Is\+Virtual}}
\index{Is\+Virtual@{Is\+Virtual}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Is\+Virtual() const}{IsVirtual() const}}]{\setlength{\rightskip}{0pt plus 5cm}bool core\+::\+Object\+Data\+::\+Is\+Virtual (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const}\hypertarget{classcore_1_1ObjectData_a2880d710cfa520e9c0453e2a6729c0e2}{}\label{classcore_1_1ObjectData_a2880d710cfa520e9c0453e2a6729c0e2}
Is this node considered a virtual node \begin{DoxyReturn}{Returns}
True, if this node is virtual 
\end{DoxyReturn}
\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Set\+Detection\+Score@{Set\+Detection\+Score}}
\index{Set\+Detection\+Score@{Set\+Detection\+Score}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Set\+Detection\+Score(double score)}{SetDetectionScore(double score)}}]{\setlength{\rightskip}{0pt plus 5cm}void core\+::\+Object\+Data\+::\+Set\+Detection\+Score (
\begin{DoxyParamCaption}
\item[{double}]{score}
\end{DoxyParamCaption}
)}\hypertarget{classcore_1_1ObjectData_a737216c2689aefa216c1c842922d7dd8}{}\label{classcore_1_1ObjectData_a737216c2689aefa216c1c842922d7dd8}
Sets the detection score 
\begin{DoxyParams}{Parameters}
{\em score} & The detection score \\
\hline
\end{DoxyParams}
\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Set\+Frame\+Index@{Set\+Frame\+Index}}
\index{Set\+Frame\+Index@{Set\+Frame\+Index}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Set\+Frame\+Index(size\+\_\+t index)}{SetFrameIndex(size\_t index)}}]{\setlength{\rightskip}{0pt plus 5cm}void core\+::\+Object\+Data\+::\+Set\+Frame\+Index (
\begin{DoxyParamCaption}
\item[{size\+\_\+t}]{index}
\end{DoxyParamCaption}
)}\hypertarget{classcore_1_1ObjectData_aedfe00fa37d5ac7ef554bda746931148}{}\label{classcore_1_1ObjectData_aedfe00fa37d5ac7ef554bda746931148}
Sets the frame index 
\begin{DoxyParams}{Parameters}
{\em index} & The new frame index \\
\hline
\end{DoxyParams}
\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!Visualize@{Visualize}}
\index{Visualize@{Visualize}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{Visualize(cv\+::\+Mat \&image, cv\+::\+Scalar \&color) const}{Visualize(cv::Mat \&image, cv::Scalar \&color) const}}]{\setlength{\rightskip}{0pt plus 5cm}void core\+::\+Object\+Data\+::\+Visualize (
\begin{DoxyParamCaption}
\item[{cv\+::\+Mat \&}]{image, }
\item[{cv\+::\+Scalar \&}]{color}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classcore_1_1ObjectData_aae2c4fceddc529570dbe8909309f9961}{}\label{classcore_1_1ObjectData_aae2c4fceddc529570dbe8909309f9961}
Visualizes the object in the given image with the given color. This method does nothing, it needs to be overwritten to visualize something. 
\begin{DoxyParams}{Parameters}
{\em image} & The image to write into \\
\hline
{\em color} & The color to use \\
\hline
\end{DoxyParams}


Reimplemented in \hyperlink{classcore_1_1ObjectDataMap_a8a0f71318dd58e0d527a63b904c6afac}{core\+::\+Object\+Data\+Map}, \hyperlink{classcore_1_1Tracklet_a85f92a4059bf89f24a83f28935675181}{core\+::\+Tracklet}, \hyperlink{classcore_1_1ObjectData3D_a86216fae3dc86f1107eb1b4530b574d2}{core\+::\+Object\+Data3D}, and \hyperlink{classcore_1_1ObjectDataAngular_acb4265f6de511238460df118148bc85c}{core\+::\+Object\+Data\+Angular}.



\subsection{Friends And Related Function Documentation}
\index{core\+::\+Object\+Data@{core\+::\+Object\+Data}!operator$<$$<$@{operator$<$$<$}}
\index{operator$<$$<$@{operator$<$$<$}!core\+::\+Object\+Data@{core\+::\+Object\+Data}}
\subsubsection[{\texorpdfstring{operator$<$$<$}{operator<<}}]{\setlength{\rightskip}{0pt plus 5cm}std\+::ostream\& operator$<$$<$ (
\begin{DoxyParamCaption}
\item[{std\+::ostream \&}]{os, }
\item[{const {\bf Object\+Data} \&}]{obj}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [friend]}}\hypertarget{classcore_1_1ObjectData_a56fc9b6184428bf4d80826bbb9fe4c6f}{}\label{classcore_1_1ObjectData_a56fc9b6184428bf4d80826bbb9fe4c6f}
Overrides the $<$$<$ operator for custom output. Calls the print method. 
\begin{DoxyParams}{Parameters}
{\em os} & The stream to write to \\
\hline
{\em obj} & The object to write into the stream \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The stream written to 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
core/Object\+Data.\+h\item 
core/Object\+Data.\+cpp\end{DoxyCompactItemize}
