classutil_1_1Visualizer.tex 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. \hypertarget{classutil_1_1Visualizer}{}\section{util\+:\+:Visualizer Class Reference}
  2. \label{classutil_1_1Visualizer}\index{util\+::\+Visualizer@{util\+::\+Visualizer}}
  3. {\ttfamily \#include $<$Visualizer.\+h$>$}
  4. \subsection*{Public Member Functions}
  5. \begin{DoxyCompactItemize}
  6. \item
  7. void \hyperlink{classutil_1_1Visualizer_a5168d3347dd28217a0e9bb6541fa38f3}{Display} (std\+::vector$<$ core\+::\+Tracklet\+Ptr $>$ \&tracks, size\+\_\+t frame\+\_\+offset, std\+::string image\+\_\+folder, bool output, std\+::string output\+\_\+path, std\+::string title=\char`\"{}Visualizer\char`\"{}, size\+\_\+t first\+\_\+frame=0, int play\+\_\+fps=24, bool show\+\_\+grid=false, int grid\+\_\+width=0, int grid\+\_\+height=0)
  8. \end{DoxyCompactItemize}
  9. \subsection{Detailed Description}
  10. Utility class for visualizing detection sequences or tracks.
  11. \subsection{Member Function Documentation}
  12. \index{util\+::\+Visualizer@{util\+::\+Visualizer}!Display@{Display}}
  13. \index{Display@{Display}!util\+::\+Visualizer@{util\+::\+Visualizer}}
  14. \subsubsection[{\texorpdfstring{Display(std\+::vector$<$ core\+::\+Tracklet\+Ptr $>$ \&tracks, size\+\_\+t frame\+\_\+offset, std\+::string image\+\_\+folder, bool output, std\+::string output\+\_\+path, std\+::string title=""Visualizer"", size\+\_\+t first\+\_\+frame=0, int play\+\_\+fps=24, bool show\+\_\+grid=false, int grid\+\_\+width=0, int grid\+\_\+height=0)}{Display(std::vector< core::TrackletPtr > \&tracks, size\_t frame\_offset, std::string image\_folder, bool output, std::string output\_path, std::string title="Visualizer", size\_t first\_frame=0, int play\_fps=24, bool show\_grid=false, int grid\_width=0, int grid\_height=0)}}]{\setlength{\rightskip}{0pt plus 5cm}void util\+::\+Visualizer\+::\+Display (
  15. \begin{DoxyParamCaption}
  16. \item[{std\+::vector$<$ core\+::\+Tracklet\+Ptr $>$ \&}]{tracks, }
  17. \item[{size\+\_\+t}]{frame\+\_\+offset, }
  18. \item[{std\+::string}]{image\+\_\+folder, }
  19. \item[{bool}]{output, }
  20. \item[{std\+::string}]{output\+\_\+path, }
  21. \item[{std\+::string}]{title = {\ttfamily \char`\"{}Visualizer\char`\"{}}, }
  22. \item[{size\+\_\+t}]{first\+\_\+frame = {\ttfamily 0}, }
  23. \item[{int}]{play\+\_\+fps = {\ttfamily 24}, }
  24. \item[{bool}]{show\+\_\+grid = {\ttfamily false}, }
  25. \item[{int}]{grid\+\_\+width = {\ttfamily 0}, }
  26. \item[{int}]{grid\+\_\+height = {\ttfamily 0}}
  27. \end{DoxyParamCaption}
  28. )}\hypertarget{classutil_1_1Visualizer_a5168d3347dd28217a0e9bb6541fa38f3}{}\label{classutil_1_1Visualizer_a5168d3347dd28217a0e9bb6541fa38f3}
  29. Displays the given tracks in an window. Use D for next frame, A for previous frame, F to toggle auto play and E\+SC to exit. If a grid size greater zero is specified a grid will be drawn.
  30. \begin{DoxyParams}{Parameters}
  31. {\em tracks} & The tracks to display \\
  32. \hline
  33. {\em frame\+\_\+offset} & The offset of the first frame \\
  34. \hline
  35. {\em image\+\_\+folder} & The images to use \\
  36. \hline
  37. {\em output} & If the frames with the visualized tracks should be stored \\
  38. \hline
  39. {\em output\+\_\+path} & The path to store the images into (will need an images folder) \\
  40. \hline
  41. {\em title} & The window title \\
  42. \hline
  43. {\em first\+\_\+frame} & The frame to start at \\
  44. \hline
  45. {\em play\+\_\+fps} & The F\+PS to use when auto play is activated \\
  46. \hline
  47. {\em show\+\_\+grid} & If a grid should be shown \\
  48. \hline
  49. {\em grid\+\_\+width} & The number of cells in a row \\
  50. \hline
  51. {\em grid\+\_\+height} & The number of cells in a column \\
  52. \hline
  53. \end{DoxyParams}
  54. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  55. \item
  56. util/Visualizer.\+h\item
  57. util/Visualizer.\+cpp\end{DoxyCompactItemize}