\hypertarget{class_d_d4hep_1_1_annotation}{\section{D\-D4hep\-:\-:Annotation Class Reference}
\label{class_d_d4hep_1_1_annotation}\index{D\-D4hep\-::\-Annotation@{D\-D4hep\-::\-Annotation}}
}


Class to add annotations to eve viewers.  




{\ttfamily \#include $<$Annotation.\-h$>$}

Inheritance diagram for D\-D4hep\-:\-:Annotation\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_d_d4hep_1_1_annotation}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_d_d4hep_1_1_annotation_a8b1b5f5ca85400bf6f580a91f6e7cebc}{Annotation} (T\-Eve\-Viewer $\ast$\hyperlink{_multi_view_8cpp_a8320ee13ac034dbf6d624fe8953dd337}{v}, const std\-::string \&text, float x, float y, Color\-\_\-t c)
\begin{DoxyCompactList}\small\item\em Standard constructor with initialization. \end{DoxyCompactList}\item 
virtual \hyperlink{class_d_d4hep_1_1_annotation_a95144855eb445040d47951c668dc5764}{$\sim$\-Annotation} ()
\begin{DoxyCompactList}\small\item\em Default destructor. \end{DoxyCompactList}\item 
virtual Bool\-\_\-t \hyperlink{class_d_d4hep_1_1_annotation_a08d3cc154321a9410f62e38d42a918f0}{Mouse\-Enter} (T\-G\-L\-Ovl\-Select\-Record \&sel\-Rec)
\begin{DoxyCompactList}\small\item\em Mouse has entered overlay area. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static float \hyperlink{class_d_d4hep_1_1_annotation_a935265c70c04d194c2de49408f860db6}{Default\-Text\-Size} ()
\begin{DoxyCompactList}\small\item\em Default text size. \end{DoxyCompactList}\item 
static float \hyperlink{class_d_d4hep_1_1_annotation_a8d10a81577c74708c3458905b5d239dc}{Default\-Margin} ()
\begin{DoxyCompactList}\small\item\em Default margin for placement in bottom left corner. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Class to add annotations to eve viewers. 

Implements slightly larger text size and one line constructor

\begin{DoxyAuthor}{Author}
M.\-Frank 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
1.\-0 
\end{DoxyVersion}


Definition at line 35 of file Annotation.\-h.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_d_d4hep_1_1_annotation_a8b1b5f5ca85400bf6f580a91f6e7cebc}{\index{D\-D4hep\-::\-Annotation@{D\-D4hep\-::\-Annotation}!Annotation@{Annotation}}
\index{Annotation@{Annotation}!DD4hep::Annotation@{D\-D4hep\-::\-Annotation}}
\subsubsection[{Annotation}]{\setlength{\rightskip}{0pt plus 5cm}D\-D4hep\-::\-Annotation\-::\-Annotation (
\begin{DoxyParamCaption}
\item[{T\-Eve\-Viewer $\ast$}]{v, }
\item[{const std\-::string \&}]{text, }
\item[{float}]{x, }
\item[{float}]{y, }
\item[{Color\-\_\-t}]{c}
\end{DoxyParamCaption}
)}}\label{class_d_d4hep_1_1_annotation_a8b1b5f5ca85400bf6f580a91f6e7cebc}


Standard constructor with initialization. 

\hypertarget{class_d_d4hep_1_1_annotation_a95144855eb445040d47951c668dc5764}{\index{D\-D4hep\-::\-Annotation@{D\-D4hep\-::\-Annotation}!$\sim$\-Annotation@{$\sim$\-Annotation}}
\index{$\sim$\-Annotation@{$\sim$\-Annotation}!DD4hep::Annotation@{D\-D4hep\-::\-Annotation}}
\subsubsection[{$\sim$\-Annotation}]{\setlength{\rightskip}{0pt plus 5cm}Annotation\-::$\sim$\-Annotation (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_d_d4hep_1_1_annotation_a95144855eb445040d47951c668dc5764}


Default destructor. 



Definition at line 40 of file Annotation.\-cpp.



References D\-D4hep\-::\-Instance\-Count\-::decrement().



\subsection{Member Function Documentation}
\hypertarget{class_d_d4hep_1_1_annotation_a8d10a81577c74708c3458905b5d239dc}{\index{D\-D4hep\-::\-Annotation@{D\-D4hep\-::\-Annotation}!Default\-Margin@{Default\-Margin}}
\index{Default\-Margin@{Default\-Margin}!DD4hep::Annotation@{D\-D4hep\-::\-Annotation}}
\subsubsection[{Default\-Margin}]{\setlength{\rightskip}{0pt plus 5cm}float Annotation\-::\-Default\-Margin (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{class_d_d4hep_1_1_annotation_a8d10a81577c74708c3458905b5d239dc}


Default margin for placement in bottom left corner. 



Definition at line 55 of file Annotation.\-cpp.



Referenced by D\-D4hep\-::\-View\-::\-Configure\-Geometry().

\hypertarget{class_d_d4hep_1_1_annotation_a935265c70c04d194c2de49408f860db6}{\index{D\-D4hep\-::\-Annotation@{D\-D4hep\-::\-Annotation}!Default\-Text\-Size@{Default\-Text\-Size}}
\index{Default\-Text\-Size@{Default\-Text\-Size}!DD4hep::Annotation@{D\-D4hep\-::\-Annotation}}
\subsubsection[{Default\-Text\-Size}]{\setlength{\rightskip}{0pt plus 5cm}float Annotation\-::\-Default\-Text\-Size (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{class_d_d4hep_1_1_annotation_a935265c70c04d194c2de49408f860db6}


Default text size. 



Definition at line 51 of file Annotation.\-cpp.



Referenced by D\-D4hep\-::\-View\-::\-Configure\-Geometry().

\hypertarget{class_d_d4hep_1_1_annotation_a08d3cc154321a9410f62e38d42a918f0}{\index{D\-D4hep\-::\-Annotation@{D\-D4hep\-::\-Annotation}!Mouse\-Enter@{Mouse\-Enter}}
\index{Mouse\-Enter@{Mouse\-Enter}!DD4hep::Annotation@{D\-D4hep\-::\-Annotation}}
\subsubsection[{Mouse\-Enter}]{\setlength{\rightskip}{0pt plus 5cm}Bool\-\_\-t Annotation\-::\-Mouse\-Enter (
\begin{DoxyParamCaption}
\item[{T\-G\-L\-Ovl\-Select\-Record \&}]{sel\-Rec}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_d_d4hep_1_1_annotation_a08d3cc154321a9410f62e38d42a918f0}


Mouse has entered overlay area. 



Definition at line 45 of file Annotation.\-cpp.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Eve/include/\-D\-D\-Eve/\hyperlink{_annotation_8h}{Annotation.\-h}\item 
/opt/ilcsoft/\-H\-E\-A\-D-\/2016-\/12-\/02/\-D\-D4hep/\-H\-E\-A\-D/\-D\-D\-Eve/src/\hyperlink{_annotation_8cpp}{Annotation.\-cpp}\end{DoxyCompactItemize}
