\hypertarget{classACG_1_1SceneGraph_1_1GridNode}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Grid\+Node Class Reference}
\label{classACG_1_1SceneGraph_1_1GridNode}\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]{classACG_1_1SceneGraph_1_1GridNode}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_aa8678bdb74941f4c167195cd80754242}\label{classACG_1_1SceneGraph_1_1GridNode_aa8678bdb74941f4c167195cd80754242}} 
enum \hyperlink{classACG_1_1SceneGraph_1_1GridNode_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{classACG_1_1SceneGraph_1_1GridNode_ad1e15ea5ae7205b4aa6d16b13d6a81e8}\label{classACG_1_1SceneGraph_1_1GridNode_ad1e15ea5ae7205b4aa6d16b13d6a81e8}} 
\hyperlink{classACG_1_1SceneGraph_1_1GridNode_ad1e15ea5ae7205b4aa6d16b13d6a81e8}{Grid\+Node} (\hyperlink{classACG_1_1SceneGraph_1_1BaseNode}{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{classACG_1_1SceneGraph_1_1GridNode_acd0349762f562998b42edb08621b13f9}\label{classACG_1_1SceneGraph_1_1GridNode_acd0349762f562998b42edb08621b13f9}} 
\hyperlink{classACG_1_1SceneGraph_1_1GridNode_acd0349762f562998b42edb08621b13f9}{$\sim$\+Grid\+Node} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_aacf51c48cf1b29d6fc633f8dbee2869a}\label{classACG_1_1SceneGraph_1_1GridNode_aacf51c48cf1b29d6fc633f8dbee2869a}} 
\hyperlink{classACG_1_1SceneGraph_1_1GridNode_aacf51c48cf1b29d6fc633f8dbee2869a}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{classACG_1_1SceneGraph_1_1GridNode}{Grid\+Node})
\begin{DoxyCompactList}\small\item\em implement \hyperlink{classACG_1_1SceneGraph_1_1ACG_1_1SceneGraph_1_1BaseNode_a42eef41fdd8a734b18d9d8ba5cd34826}{class\+Name()} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a86ab6885a4ff95c8b2016fa39aaa8c38}\label{classACG_1_1SceneGraph_1_1GridNode_a86ab6885a4ff95c8b2016fa39aaa8c38}} 
\hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a86ab6885a4ff95c8b2016fa39aaa8c38}{available\+Draw\+Modes} () const override
\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a0e9853c1ec483f67a9c9dacf3cf6678c}\label{classACG_1_1SceneGraph_1_1GridNode_a0e9853c1ec483f67a9c9dacf3cf6678c}} 
void \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a0e9853c1ec483f67a9c9dacf3cf6678c}{bounding\+Box} (\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+bb\+Min, \hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+bb\+Max) override
\begin{DoxyCompactList}\small\item\em update bounding box \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a63ac8dc4a44cc42e73da619f4f3fdc4e}\label{classACG_1_1SceneGraph_1_1GridNode_a63ac8dc4a44cc42e73da619f4f3fdc4e}} 
void \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a63ac8dc4a44cc42e73da619f4f3fdc4e}{draw} (\hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state, const \hyperlink{classACG_1_1SceneGraph_1_1DrawModes_1_1DrawMode}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode) override
\begin{DoxyCompactList}\small\item\em drawing the primitive \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a7fbf27598f63dda8d3529ff0e3061b67}\label{classACG_1_1SceneGraph_1_1GridNode_a7fbf27598f63dda8d3529ff0e3061b67}} 
void \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a7fbf27598f63dda8d3529ff0e3061b67}{pick} (\hyperlink{classACG_1_1GLState}{G\+L\+State} \&\+\_\+state, \hyperlink{namespaceACG_1_1SceneGraph_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target) override
\begin{DoxyCompactList}\small\item\em don\textquotesingle{}t pick me \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a99a015455194535cb119d5fe8df077a5}\label{classACG_1_1SceneGraph_1_1GridNode_a99a015455194535cb119d5fe8df077a5}} 
float \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a99a015455194535cb119d5fe8df077a5}{grid\+Size} ()
\begin{DoxyCompactList}\small\item\em Get Grid\+Size. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_ab86f996fed7a7c9e4eb5ee4658bbf23b}\label{classACG_1_1SceneGraph_1_1GridNode_ab86f996fed7a7c9e4eb5ee4658bbf23b}} 
void \hyperlink{classACG_1_1SceneGraph_1_1GridNode_ab86f996fed7a7c9e4eb5ee4658bbf23b}{grid\+Size} (float \+\_\+size)
\begin{DoxyCompactList}\small\item\em Set Grid Size. \end{DoxyCompactList}\item 
void \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a6d5cb280c319049c6cd40f4ad7b31a6a}{min\+Refinement\+Distance} (double \+\_\+distance)
\begin{DoxyCompactList}\small\item\em Set the minimum refinement distance. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a21382f8a78e2c11d940998f0df688c46}\label{classACG_1_1SceneGraph_1_1GridNode_a21382f8a78e2c11d940998f0df688c46}} 
double \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a21382f8a78e2c11d940998f0df688c46}{min\+Refinement\+Distance} ()
\begin{DoxyCompactList}\small\item\em returns the minimal refinement distance \end{DoxyCompactList}\item 
void \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a810b5dac1519f4663e285b5ef79137bc}{set\+Orientation} (unsigned int \+\_\+orientation)
\begin{DoxyCompactList}\small\item\em Set the plane orientation. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_ae70a0f9acfdf893bd58066050cb46f26}\label{classACG_1_1SceneGraph_1_1GridNode_ae70a0f9acfdf893bd58066050cb46f26}} 
void {\bfseries auto\+Resize} (bool \+\_\+auto)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a96b6aa0fcd6bf7a017567f78cf3a1da8}\label{classACG_1_1SceneGraph_1_1GridNode_a96b6aa0fcd6bf7a017567f78cf3a1da8}} 
int \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a96b6aa0fcd6bf7a017567f78cf3a1da8}{horizontal\+Lines\+\_\+}
\begin{DoxyCompactList}\small\item\em initial number of base\+Lines \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a09bc018195fe968a7c1fca3d9ee74221}\label{classACG_1_1SceneGraph_1_1GridNode_a09bc018195fe968a7c1fca3d9ee74221}} 
int {\bfseries vertical\+Lines\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_ab923055f25904d15190c5a55eb47c29b}\label{classACG_1_1SceneGraph_1_1GridNode_ab923055f25904d15190c5a55eb47c29b}} 
int {\bfseries max\+Refinement\+\_\+}
\item 
double \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a2af78145fee839b7502eee590bb8bccb}{min\+Refinement\+Distance\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a83fe4a60a2913622ba0a76990f41156a}\label{classACG_1_1SceneGraph_1_1GridNode_a83fe4a60a2913622ba0a76990f41156a}} 
float \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a83fe4a60a2913622ba0a76990f41156a}{grid\+Size\+\_\+}
\begin{DoxyCompactList}\small\item\em dimensions of the grid \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a809ba989c0352d137f4888759287a3e7}\label{classACG_1_1SceneGraph_1_1GridNode_a809ba989c0352d137f4888759287a3e7}} 
\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{classACG_1_1SceneGraph_1_1GridNode_a809ba989c0352d137f4888759287a3e7}{bb\+\_\+min\+\_\+}
\begin{DoxyCompactList}\small\item\em bounding box \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_ad3d2aafbf16d063d96e390be06e439b4}\label{classACG_1_1SceneGraph_1_1GridNode_ad3d2aafbf16d063d96e390be06e439b4}} 
\hyperlink{namespaceACG_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries bb\+\_\+max\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_ae0adcc4fcf66a2c3859c2edc3ae97f26}\label{classACG_1_1SceneGraph_1_1GridNode_ae0adcc4fcf66a2c3859c2edc3ae97f26}} 
\hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \hyperlink{classACG_1_1SceneGraph_1_1GridNode_ae0adcc4fcf66a2c3859c2edc3ae97f26}{base\+Line\+Color\+\_\+}
\begin{DoxyCompactList}\small\item\em colors for the grid \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a52e94f510e78d7885e30a58574cb0af4}\label{classACG_1_1SceneGraph_1_1GridNode_a52e94f510e78d7885e30a58574cb0af4}} 
\hyperlink{namespaceACG_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} {\bfseries mid\+Line\+Color\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a3fbfff0ac36a709e8fbc2e032e3dfe80}\label{classACG_1_1SceneGraph_1_1GridNode_a3fbfff0ac36a709e8fbc2e032e3dfe80}} 
bool {\bfseries auto\+Resize\+\_\+}
\item 
\mbox{\Hypertarget{classACG_1_1SceneGraph_1_1GridNode_a5c37339c4fc8d0ca7af388d61d28ad14}\label{classACG_1_1SceneGraph_1_1GridNode_a5c37339c4fc8d0ca7af388d61d28ad14}} 
unsigned int \hyperlink{classACG_1_1SceneGraph_1_1GridNode_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{classACG_1_1SceneGraph_1_1GridNode_a6d5cb280c319049c6cd40f4ad7b31a6a}\label{classACG_1_1SceneGraph_1_1GridNode_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{classACG_1_1SceneGraph_1_1GridNode_a810b5dac1519f4663e285b5ef79137bc}\label{classACG_1_1SceneGraph_1_1GridNode_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{classACG_1_1SceneGraph_1_1GridNode_a2af78145fee839b7502eee590bb8bccb}\label{classACG_1_1SceneGraph_1_1GridNode_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}
