\hypertarget{a10560}{}\section{Ruler Class Reference}
\label{a10560}\index{Ruler@{Ruler}}
Inheritance diagram for Ruler\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a10560}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10560_a0c122fa125f17d699f66507f05362734}\label{a10560_a0c122fa125f17d699f66507f05362734}} 
void {\bfseries set\+Text\+Size} (const unsigned \+\_\+size)
\end{DoxyCompactItemize}
\subsection*{Signals}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10560_a060f5526e2f728c36c7c9884a767e2a5}\label{a10560_a060f5526e2f728c36c7c9884a767e2a5}} 
void {\bfseries update\+View} ()
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a10560_ab165e9ca5cbfeca4bfa539df9ded3a1d}{Ruler} (\hyperlink{a07044}{Base\+Object\+Data} $\ast$\+\_\+obj, const Q\+String \&\+\_\+plugin\+Name, unsigned \+\_\+index)
\item 
\mbox{\Hypertarget{a10560_a8b4eba36a5640d0162d597f5423526ad}\label{a10560_a8b4eba36a5640d0162d597f5423526ad}} 
void {\bfseries set\+Points} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+start, const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+end)
\item 
\mbox{\Hypertarget{a10560_aeef81ddb0f4cebc4b334ce842d31670a}\label{a10560_aeef81ddb0f4cebc4b334ce842d31670a}} 
void {\bfseries set\+Start\+Point} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+start)
\item 
\mbox{\Hypertarget{a10560_a3467076fd01595dd12d8ca3788bb816d}\label{a10560_a3467076fd01595dd12d8ca3788bb816d}} 
void {\bfseries set\+End\+Point} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+end)
\item 
\mbox{\Hypertarget{a10560_ad255e454ff9e6a24999527947d18252e}\label{a10560_ad255e454ff9e6a24999527947d18252e}} 
void {\bfseries set\+Text\+Offset} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&offset)
\item 
\mbox{\Hypertarget{a10560_aa4665a201fb4ace74bce9e56bb692f8a}\label{a10560_aa4665a201fb4ace74bce9e56bb692f8a}} 
const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} $\ast$ {\bfseries points} () const
\item 
\mbox{\Hypertarget{a10560_a7b0199418dfe7cc362c64b3c8a2832c9}\label{a10560_a7b0199418dfe7cc362c64b3c8a2832c9}} 
const \hyperlink{a07036}{Base\+Object} $\ast$ {\bfseries get\+Base\+Obj} ()
\item 
\mbox{\Hypertarget{a10560_a26c28f3cee286b1ce6b885b77661a2d1}\label{a10560_a26c28f3cee286b1ce6b885b77661a2d1}} 
float {\bfseries text\+Scale} ()
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10560_a0d9255d30c14a17c2be08d14f58f85e5}\label{a10560_a0d9255d30c14a17c2be08d14f58f85e5}} 
void {\bfseries update\+Nodes} ()
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a10560_aecab577bae16f88304d82fac72dd6297}\label{a10560_aecab577bae16f88304d82fac72dd6297}} 
const Q\+String {\bfseries plugin\+Name\+\_\+}
\item 
\mbox{\Hypertarget{a10560_a5b9b63d31e255f0a08f8f0cadda672ab}\label{a10560_a5b9b63d31e255f0a08f8f0cadda672ab}} 
const std\+::string {\bfseries line\+Node\+Name\+\_\+}
\item 
\mbox{\Hypertarget{a10560_ad4456b608a719eb6ca6728636304b8bf}\label{a10560_ad4456b608a719eb6ca6728636304b8bf}} 
const std\+::string {\bfseries text\+Node\+Name\+\_\+}
\item 
\mbox{\Hypertarget{a10560_ada8a5efcbbb6cc255815e3d033458eea}\label{a10560_ada8a5efcbbb6cc255815e3d033458eea}} 
const std\+::string {\bfseries text\+Transform\+Node\+Name\+\_\+}
\item 
\mbox{\Hypertarget{a10560_aa2bf3d8a99d3a786f4c3d3f19239bf7e}\label{a10560_aa2bf3d8a99d3a786f4c3d3f19239bf7e}} 
\hyperlink{a07820}{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node} $\ast$ {\bfseries line\+Node\+\_\+}
\item 
\mbox{\Hypertarget{a10560_ab144ace95527f628ec64a4dbe3d5dd44}\label{a10560_ab144ace95527f628ec64a4dbe3d5dd44}} 
\hyperlink{a08068}{A\+C\+G\+::\+Scene\+Graph\+::\+Text\+Node} $\ast$ {\bfseries text\+Node\+\_\+}
\item 
\mbox{\Hypertarget{a10560_afc8e479df22eeb16e204329331f87427}\label{a10560_afc8e479df22eeb16e204329331f87427}} 
\hyperlink{a08088}{A\+C\+G\+::\+Scene\+Graph\+::\+Transform\+Node} $\ast$ {\bfseries text\+Transform\+Node\+\_\+}
\item 
\mbox{\Hypertarget{a10560_a557935febce29eceab178a103c30d06d}\label{a10560_a557935febce29eceab178a103c30d06d}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries points\+\_\+} \mbox{[}2\mbox{]}
\item 
\mbox{\Hypertarget{a10560_aa11e88e750a2bc04b2056eed7a36a9ea}\label{a10560_aa11e88e750a2bc04b2056eed7a36a9ea}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries offset\+\_\+}
\item 
\mbox{\Hypertarget{a10560_aafc456206536597e18ef19d85e71c635}\label{a10560_aafc456206536597e18ef19d85e71c635}} 
\hyperlink{a07044}{Base\+Object\+Data} $\ast$ {\bfseries obj\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 52 of file Ruler.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{a10560_ab165e9ca5cbfeca4bfa539df9ded3a1d}\label{a10560_ab165e9ca5cbfeca4bfa539df9ded3a1d}} 
\index{Ruler@{Ruler}!Ruler@{Ruler}}
\index{Ruler@{Ruler}!Ruler@{Ruler}}
\subsubsection{\texorpdfstring{Ruler()}{Ruler()}}
{\footnotesize\ttfamily Ruler\+::\+Ruler (\begin{DoxyParamCaption}\item[{\hyperlink{a07044}{Base\+Object\+Data} $\ast$}]{\+\_\+obj,  }\item[{const Q\+String \&}]{\+\_\+plugin\+Name,  }\item[{unsigned}]{\+\_\+index }\end{DoxyParamCaption})}

creates a new ruler on a given object 
\begin{DoxyParams}{Parameters}
{\em \+\_\+obj} & Object where additional nodes are added \\
\hline
{\em \+\_\+plugin\+Name} & name of the plugin \\
\hline
{\em \+\_\+index} & the current index of the ruler. If you create multiple rulers, you can use this parameter to avoid identical nodenames \\
\hline
\end{DoxyParams}


Definition at line 50 of file Ruler.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Plugin-\/\+Ruler/Ruler.\+hh\item 
Plugin-\/\+Ruler/Ruler.\+cc\end{DoxyCompactItemize}
