classcore_1_1ObjectDataBox.tex 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. \hypertarget{classcore_1_1ObjectDataBox}{}\section{core\+:\+:Object\+Data\+Box Class Reference}
  2. \label{classcore_1_1ObjectDataBox}\index{core\+::\+Object\+Data\+Box@{core\+::\+Object\+Data\+Box}}
  3. Inheritance diagram for core\+:\+:Object\+Data\+Box\+:\begin{figure}[H]
  4. \begin{center}
  5. \leavevmode
  6. \includegraphics[height=3.000000cm]{classcore_1_1ObjectDataBox}
  7. \end{center}
  8. \end{figure}
  9. \subsection*{Public Member Functions}
  10. \begin{DoxyCompactItemize}
  11. \item
  12. {\bfseries Object\+Data\+Box} (size\+\_\+t frame\+\_\+index, cv\+::\+Point2d anchor, cv\+::\+Point2d size)\hypertarget{classcore_1_1ObjectDataBox_a9a1ee3e1e603c1e55adc58a1a58efad2}{}\label{classcore_1_1ObjectDataBox_a9a1ee3e1e603c1e55adc58a1a58efad2}
  13. \item
  14. cv\+::\+Point2d {\bfseries Get\+Size} () const \hypertarget{classcore_1_1ObjectDataBox_a8134ea14198f45181014d93b27e13b6b}{}\label{classcore_1_1ObjectDataBox_a8134ea14198f45181014d93b27e13b6b}
  15. \item
  16. virtual double \hyperlink{classcore_1_1ObjectDataBox_a163c57338778f957ce514611c509558a}{Compare\+To} (Object\+Data\+Ptr obj) const override
  17. \item
  18. virtual Object\+Data\+Ptr \hyperlink{classcore_1_1ObjectDataBox_ab2816bceb771dd7442e6c29193dfe267}{Interpolate} (Object\+Data\+Ptr obj, double fraction) const override
  19. \item
  20. virtual void \hyperlink{classcore_1_1ObjectDataBox_ab29bacb20c258ba572d0372469ec5523}{Visualize} (cv\+::\+Mat \&image, cv\+::\+Scalar \&color) const override
  21. \end{DoxyCompactItemize}
  22. \subsection{Member Function Documentation}
  23. \index{core\+::\+Object\+Data\+Box@{core\+::\+Object\+Data\+Box}!Compare\+To@{Compare\+To}}
  24. \index{Compare\+To@{Compare\+To}!core\+::\+Object\+Data\+Box@{core\+::\+Object\+Data\+Box}}
  25. \subsubsection[{\texorpdfstring{Compare\+To(\+Object\+Data\+Ptr obj) const override}{CompareTo(ObjectDataPtr obj) const override}}]{\setlength{\rightskip}{0pt plus 5cm}double core\+::\+Object\+Data\+Box\+::\+Compare\+To (
  26. \begin{DoxyParamCaption}
  27. \item[{Object\+Data\+Ptr}]{obj}
  28. \end{DoxyParamCaption}
  29. ) const\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}\hypertarget{classcore_1_1ObjectDataBox_a163c57338778f957ce514611c509558a}{}\label{classcore_1_1ObjectDataBox_a163c57338778f957ce514611c509558a}
  30. Compares this object with the given object.
  31. \begin{DoxyParams}{Parameters}
  32. {\em obj} & A pointer to the object to compare this object to \\
  33. \hline
  34. \end{DoxyParams}
  35. \begin{DoxyReturn}{Returns}
  36. A double value indicating the comparison result
  37. \end{DoxyReturn}
  38. Reimplemented from \hyperlink{classcore_1_1ObjectData2D_a68d56bd5f26a41830a87ae32eabf9126}{core\+::\+Object\+Data2D}.
  39. \index{core\+::\+Object\+Data\+Box@{core\+::\+Object\+Data\+Box}!Interpolate@{Interpolate}}
  40. \index{Interpolate@{Interpolate}!core\+::\+Object\+Data\+Box@{core\+::\+Object\+Data\+Box}}
  41. \subsubsection[{\texorpdfstring{Interpolate(\+Object\+Data\+Ptr obj, double fraction) const override}{Interpolate(ObjectDataPtr obj, double fraction) const override}}]{\setlength{\rightskip}{0pt plus 5cm}Object\+Data\+Ptr core\+::\+Object\+Data\+Box\+::\+Interpolate (
  42. \begin{DoxyParamCaption}
  43. \item[{Object\+Data\+Ptr}]{obj, }
  44. \item[{double}]{fraction}
  45. \end{DoxyParamCaption}
  46. ) const\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}\hypertarget{classcore_1_1ObjectDataBox_ab2816bceb771dd7442e6c29193dfe267}{}\label{classcore_1_1ObjectDataBox_ab2816bceb771dd7442e6c29193dfe267}
  47. Linearly interpolates between this and the given object. Creates a new object to fit between the two objects.
  48. \begin{DoxyParams}{Parameters}
  49. {\em obj} & A pointer to the target object \\
  50. \hline
  51. {\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. \\
  52. \hline
  53. \end{DoxyParams}
  54. \begin{DoxyReturn}{Returns}
  55. The interpolated object
  56. \end{DoxyReturn}
  57. Reimplemented from \hyperlink{classcore_1_1ObjectData2D_a59b974e09f74f0a2640e3152893fe79f}{core\+::\+Object\+Data2D}.
  58. \index{core\+::\+Object\+Data\+Box@{core\+::\+Object\+Data\+Box}!Visualize@{Visualize}}
  59. \index{Visualize@{Visualize}!core\+::\+Object\+Data\+Box@{core\+::\+Object\+Data\+Box}}
  60. \subsubsection[{\texorpdfstring{Visualize(cv\+::\+Mat \&image, cv\+::\+Scalar \&color) const override}{Visualize(cv::Mat &image, cv::Scalar &color) const override}}]{\setlength{\rightskip}{0pt plus 5cm}void core\+::\+Object\+Data\+Box\+::\+Visualize (
  61. \begin{DoxyParamCaption}
  62. \item[{cv\+::\+Mat \&}]{image, }
  63. \item[{cv\+::\+Scalar \&}]{color}
  64. \end{DoxyParamCaption}
  65. ) const\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}\hypertarget{classcore_1_1ObjectDataBox_ab29bacb20c258ba572d0372469ec5523}{}\label{classcore_1_1ObjectDataBox_ab29bacb20c258ba572d0372469ec5523}
  66. Visualizes the object in the given image with the given color. This method does nothing, it needs to be overwritten to visualize something.
  67. \begin{DoxyParams}{Parameters}
  68. {\em image} & The image to write into \\
  69. \hline
  70. {\em color} & The color to use \\
  71. \hline
  72. \end{DoxyParams}
  73. Reimplemented from \hyperlink{classcore_1_1ObjectData2D_aff4e8539559f4ce50a7f43b733d6c512}{core\+::\+Object\+Data2D}.
  74. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  75. \item
  76. core/Object\+Data\+Box.\+h\item
  77. core/Object\+Data\+Box.\+cpp\end{DoxyCompactItemize}