\hypertarget{a07808}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Grid\+Node Class Reference}
\label{a07808}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node}}


{\ttfamily \#include $<$AC$>$}

Inheritance diagram for A\+CG\+:\+:Scene\+Graph\+:\+:Grid\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a07808}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07808_aa8678bdb74941f4c167195cd80754242}\label{a07808_aa8678bdb74941f4c167195cd80754242}} 
enum \hyperlink{a07808_aa8678bdb74941f4c167195cd80754242}{Orientation} \{ {\bfseries N\+O\+NE} = 0, 
{\bfseries X\+Y\+\_\+\+P\+L\+A\+NE} = 1, 
{\bfseries X\+Z\+\_\+\+P\+L\+A\+NE} = 2, 
{\bfseries Y\+Z\+\_\+\+P\+L\+A\+NE} = 4
 \}\begin{DoxyCompactList}\small\item\em Enum for Orientation. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07808_ad1e15ea5ae7205b4aa6d16b13d6a81e8}\label{a07808_ad1e15ea5ae7205b4aa6d16b13d6a81e8}} 
\hyperlink{a07808_ad1e15ea5ae7205b4aa6d16b13d6a81e8}{Grid\+Node} (\hyperlink{a07748}{Base\+Node} $\ast$\+\_\+parent=0, const std\+::string \&\+\_\+name=\char`\"{}$<$Grid\+Node$>$\char`\"{})
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_acd0349762f562998b42edb08621b13f9}\label{a07808_acd0349762f562998b42edb08621b13f9}} 
\hyperlink{a07808_acd0349762f562998b42edb08621b13f9}{$\sim$\+Grid\+Node} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_aacf51c48cf1b29d6fc633f8dbee2869a}\label{a07808_aacf51c48cf1b29d6fc633f8dbee2869a}} 
\hyperlink{a07808_aacf51c48cf1b29d6fc633f8dbee2869a}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{a07808}{Grid\+Node})
\begin{DoxyCompactList}\small\item\em implement \hyperlink{a07888_a42eef41fdd8a734b18d9d8ba5cd34826}{class\+Name()} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_ac340f58883bf570cebe2177976b71e85}\label{a07808_ac340f58883bf570cebe2177976b71e85}} 
\hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a07808_ac340f58883bf570cebe2177976b71e85}{available\+Draw\+Modes} () const
\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_acc505fc95ea70017f810369278e96d75}\label{a07808_acc505fc95ea70017f810369278e96d75}} 
void \hyperlink{a07808_acc505fc95ea70017f810369278e96d75}{bounding\+Box} (\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+bb\+Min, \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+bb\+Max)
\begin{DoxyCompactList}\small\item\em update bounding box \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_a994b9d961501e37ef1a2733a3deee45f}\label{a07808_a994b9d961501e37ef1a2733a3deee45f}} 
void \hyperlink{a07808_a994b9d961501e37ef1a2733a3deee45f}{draw} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)
\begin{DoxyCompactList}\small\item\em drawing the primitive \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_a0fd683c5afac5b4205ca536de14f4052}\label{a07808_a0fd683c5afac5b4205ca536de14f4052}} 
void \hyperlink{a07808_a0fd683c5afac5b4205ca536de14f4052}{pick} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, \hyperlink{a06177_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target)
\begin{DoxyCompactList}\small\item\em don\textquotesingle{}t pick me \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_a99a015455194535cb119d5fe8df077a5}\label{a07808_a99a015455194535cb119d5fe8df077a5}} 
float \hyperlink{a07808_a99a015455194535cb119d5fe8df077a5}{grid\+Size} ()
\begin{DoxyCompactList}\small\item\em Get Grid\+Size. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_ab86f996fed7a7c9e4eb5ee4658bbf23b}\label{a07808_ab86f996fed7a7c9e4eb5ee4658bbf23b}} 
void \hyperlink{a07808_ab86f996fed7a7c9e4eb5ee4658bbf23b}{grid\+Size} (float \+\_\+size)
\begin{DoxyCompactList}\small\item\em Set Grid Size. \end{DoxyCompactList}\item 
void \hyperlink{a07808_a6d5cb280c319049c6cd40f4ad7b31a6a}{min\+Refinement\+Distance} (double \+\_\+distance)
\begin{DoxyCompactList}\small\item\em Set the minimum refinement distance. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_a21382f8a78e2c11d940998f0df688c46}\label{a07808_a21382f8a78e2c11d940998f0df688c46}} 
double \hyperlink{a07808_a21382f8a78e2c11d940998f0df688c46}{min\+Refinement\+Distance} ()
\begin{DoxyCompactList}\small\item\em returns the minimal refinement distance \end{DoxyCompactList}\item 
void \hyperlink{a07808_a810b5dac1519f4663e285b5ef79137bc}{set\+Orientation} (unsigned int \+\_\+orientation)
\begin{DoxyCompactList}\small\item\em Set the plane orientation. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_ae70a0f9acfdf893bd58066050cb46f26}\label{a07808_ae70a0f9acfdf893bd58066050cb46f26}} 
void {\bfseries auto\+Resize} (bool \+\_\+auto)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07808_a96b6aa0fcd6bf7a017567f78cf3a1da8}\label{a07808_a96b6aa0fcd6bf7a017567f78cf3a1da8}} 
int \hyperlink{a07808_a96b6aa0fcd6bf7a017567f78cf3a1da8}{horizontal\+Lines\+\_\+}
\begin{DoxyCompactList}\small\item\em initial number of base\+Lines \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_a09bc018195fe968a7c1fca3d9ee74221}\label{a07808_a09bc018195fe968a7c1fca3d9ee74221}} 
int {\bfseries vertical\+Lines\+\_\+}
\item 
\mbox{\Hypertarget{a07808_ab923055f25904d15190c5a55eb47c29b}\label{a07808_ab923055f25904d15190c5a55eb47c29b}} 
int {\bfseries max\+Refinement\+\_\+}
\item 
double \hyperlink{a07808_a2af78145fee839b7502eee590bb8bccb}{min\+Refinement\+Distance\+\_\+}
\item 
\mbox{\Hypertarget{a07808_a83fe4a60a2913622ba0a76990f41156a}\label{a07808_a83fe4a60a2913622ba0a76990f41156a}} 
float \hyperlink{a07808_a83fe4a60a2913622ba0a76990f41156a}{grid\+Size\+\_\+}
\begin{DoxyCompactList}\small\item\em dimensions of the grid \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_a809ba989c0352d137f4888759287a3e7}\label{a07808_a809ba989c0352d137f4888759287a3e7}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a07808_a809ba989c0352d137f4888759287a3e7}{bb\+\_\+min\+\_\+}
\begin{DoxyCompactList}\small\item\em bounding box \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_ad3d2aafbf16d063d96e390be06e439b4}\label{a07808_ad3d2aafbf16d063d96e390be06e439b4}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries bb\+\_\+max\+\_\+}
\item 
\mbox{\Hypertarget{a07808_ae0adcc4fcf66a2c3859c2edc3ae97f26}\label{a07808_ae0adcc4fcf66a2c3859c2edc3ae97f26}} 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \hyperlink{a07808_ae0adcc4fcf66a2c3859c2edc3ae97f26}{base\+Line\+Color\+\_\+}
\begin{DoxyCompactList}\small\item\em colors for the grid \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07808_a52e94f510e78d7885e30a58574cb0af4}\label{a07808_a52e94f510e78d7885e30a58574cb0af4}} 
\hyperlink{a06176_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} {\bfseries mid\+Line\+Color\+\_\+}
\item 
\mbox{\Hypertarget{a07808_a3fbfff0ac36a709e8fbc2e032e3dfe80}\label{a07808_a3fbfff0ac36a709e8fbc2e032e3dfe80}} 
bool {\bfseries auto\+Resize\+\_\+}
\item 
\mbox{\Hypertarget{a07808_a5c37339c4fc8d0ca7af388d61d28ad14}\label{a07808_a5c37339c4fc8d0ca7af388d61d28ad14}} 
unsigned int \hyperlink{a07808_a5c37339c4fc8d0ca7af388d61d28ad14}{orientation\+\_\+}
\begin{DoxyCompactList}\small\item\em Contains all orientations to draw. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
/.../\+Grid\+Node.hh$>$

Scenegraph Node.

A more elaborate description follows. 

Definition at line 82 of file Grid\+Node.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07808_a6d5cb280c319049c6cd40f4ad7b31a6a}\label{a07808_a6d5cb280c319049c6cd40f4ad7b31a6a}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node}!min\+Refinement\+Distance@{min\+Refinement\+Distance}}
\index{min\+Refinement\+Distance@{min\+Refinement\+Distance}!A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node}}
\subsubsection{\texorpdfstring{min\+Refinement\+Distance()}{minRefinementDistance()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node\+::min\+Refinement\+Distance (\begin{DoxyParamCaption}\item[{double}]{\+\_\+distance }\end{DoxyParamCaption})}



Set the minimum refinement distance. 

This is the distance the viewer needs to the grid, when refinement is started. At a distance greater then the given distance, no refinement takes places. 

Definition at line 334 of file Grid\+Node.\+cc.

\mbox{\Hypertarget{a07808_a810b5dac1519f4663e285b5ef79137bc}\label{a07808_a810b5dac1519f4663e285b5ef79137bc}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node}!set\+Orientation@{set\+Orientation}}
\index{set\+Orientation@{set\+Orientation}!A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node}}
\subsubsection{\texorpdfstring{set\+Orientation()}{setOrientation()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node\+::set\+Orientation (\begin{DoxyParamCaption}\item[{unsigned int}]{\+\_\+orientation }\end{DoxyParamCaption})}



Set the plane orientation. 



Definition at line 348 of file Grid\+Node.\+cc.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{a07808_a2af78145fee839b7502eee590bb8bccb}\label{a07808_a2af78145fee839b7502eee590bb8bccb}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node}!min\+Refinement\+Distance\+\_\+@{min\+Refinement\+Distance\+\_\+}}
\index{min\+Refinement\+Distance\+\_\+@{min\+Refinement\+Distance\+\_\+}!A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node}}
\subsubsection{\texorpdfstring{min\+Refinement\+Distance\+\_\+}{minRefinementDistance\_}}
{\footnotesize\ttfamily double A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node\+::min\+Refinement\+Distance\+\_\+\hspace{0.3cm}{\ttfamily [private]}}

This is the distance, which the viewer has to the grid at which the grid is shown with minimal refinement ( lowest split count ) 

Definition at line 152 of file Grid\+Node.\+hh.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Grid\+Node.\+hh\item 
Open\+Flipper/libs\+\_\+required/\+A\+C\+G/\+Scenegraph/Grid\+Node.\+cc\end{DoxyCompactItemize}
