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


{\ttfamily \#include $<$A\+C$>$}

Inheritance diagram for A\+C\+G\+:\+:Scene\+Graph\+:\+:Grid\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a00660}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00660_aa8678bdb74941f4c167195cd80754242}{enum \hyperlink{a00660_aa8678bdb74941f4c167195cd80754242}{Orientation} \{ {\bfseries N\+O\+N\+E} = 0, 
{\bfseries X\+Y\+\_\+\+P\+L\+A\+N\+E} = 1, 
{\bfseries X\+Z\+\_\+\+P\+L\+A\+N\+E} = 2, 
{\bfseries Y\+Z\+\_\+\+P\+L\+A\+N\+E} = 4
 \}}\label{a00660_aa8678bdb74941f4c167195cd80754242}

\begin{DoxyCompactList}\small\item\em Enum for Orientation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00660_ad1e15ea5ae7205b4aa6d16b13d6a81e8}{\hyperlink{a00660_ad1e15ea5ae7205b4aa6d16b13d6a81e8}{Grid\+Node} (\hyperlink{a00327}{Base\+Node} $\ast$\+\_\+parent=0, const std\+::string \&\+\_\+name=\char`\"{}$<$Grid\+Node$>$\char`\"{})}\label{a00660_ad1e15ea5ae7205b4aa6d16b13d6a81e8}

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hypertarget{a00660_acd0349762f562998b42edb08621b13f9}{\hyperlink{a00660_acd0349762f562998b42edb08621b13f9}{$\sim$\+Grid\+Node} ()}\label{a00660_acd0349762f562998b42edb08621b13f9}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a00660_aacf51c48cf1b29d6fc633f8dbee2869a}{\hyperlink{a00660_aacf51c48cf1b29d6fc633f8dbee2869a}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+M\+E} (\hyperlink{a00660}{Grid\+Node})}\label{a00660_aacf51c48cf1b29d6fc633f8dbee2869a}

\begin{DoxyCompactList}\small\item\em implement \hyperlink{a00328_a42eef41fdd8a734b18d9d8ba5cd34826}{class\+Name()} \end{DoxyCompactList}\item 
\hypertarget{a00660_aff9d1241ca4d08f1fbb0b7f6814c201c}{\hyperlink{a00510}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a00660_aff9d1241ca4d08f1fbb0b7f6814c201c}{available\+Draw\+Modes} () const }\label{a00660_aff9d1241ca4d08f1fbb0b7f6814c201c}

\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\hypertarget{a00660_acc505fc95ea70017f810369278e96d75}{void \hyperlink{a00660_acc505fc95ea70017f810369278e96d75}{bounding\+Box} (\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+bb\+Min, \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+bb\+Max)}\label{a00660_acc505fc95ea70017f810369278e96d75}

\begin{DoxyCompactList}\small\item\em update bounding box \end{DoxyCompactList}\item 
\hypertarget{a00660_a994b9d961501e37ef1a2733a3deee45f}{void \hyperlink{a00660_a994b9d961501e37ef1a2733a3deee45f}{draw} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, const \hyperlink{a00509}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)}\label{a00660_a994b9d961501e37ef1a2733a3deee45f}

\begin{DoxyCompactList}\small\item\em drawing the primitive \end{DoxyCompactList}\item 
\hypertarget{a00660_a0fd683c5afac5b4205ca536de14f4052}{void \hyperlink{a00660_a0fd683c5afac5b4205ca536de14f4052}{pick} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, \hyperlink{a03343_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target)}\label{a00660_a0fd683c5afac5b4205ca536de14f4052}

\begin{DoxyCompactList}\small\item\em don't pick me \end{DoxyCompactList}\item 
\hypertarget{a00660_a99a015455194535cb119d5fe8df077a5}{float \hyperlink{a00660_a99a015455194535cb119d5fe8df077a5}{grid\+Size} ()}\label{a00660_a99a015455194535cb119d5fe8df077a5}

\begin{DoxyCompactList}\small\item\em Get Grid\+Size. \end{DoxyCompactList}\item 
\hypertarget{a00660_ab86f996fed7a7c9e4eb5ee4658bbf23b}{void \hyperlink{a00660_ab86f996fed7a7c9e4eb5ee4658bbf23b}{grid\+Size} (float \+\_\+size)}\label{a00660_ab86f996fed7a7c9e4eb5ee4658bbf23b}

\begin{DoxyCompactList}\small\item\em Set Grid Size. \end{DoxyCompactList}\item 
void \hyperlink{a00660_a6d5cb280c319049c6cd40f4ad7b31a6a}{min\+Refinement\+Distance} (double \+\_\+distance)
\begin{DoxyCompactList}\small\item\em Set the minimum refinement distance. \end{DoxyCompactList}\item 
\hypertarget{a00660_a21382f8a78e2c11d940998f0df688c46}{double \hyperlink{a00660_a21382f8a78e2c11d940998f0df688c46}{min\+Refinement\+Distance} ()}\label{a00660_a21382f8a78e2c11d940998f0df688c46}

\begin{DoxyCompactList}\small\item\em returns the minimal refinement distance \end{DoxyCompactList}\item 
void \hyperlink{a00660_a810b5dac1519f4663e285b5ef79137bc}{set\+Orientation} (unsigned int \+\_\+orientation)
\begin{DoxyCompactList}\small\item\em Set the plane orientation. \end{DoxyCompactList}\item 
\hypertarget{a00660_ae70a0f9acfdf893bd58066050cb46f26}{void {\bfseries auto\+Resize} (bool \+\_\+auto)}\label{a00660_ae70a0f9acfdf893bd58066050cb46f26}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00660_a96b6aa0fcd6bf7a017567f78cf3a1da8}{int \hyperlink{a00660_a96b6aa0fcd6bf7a017567f78cf3a1da8}{horizontal\+Lines\+\_\+}}\label{a00660_a96b6aa0fcd6bf7a017567f78cf3a1da8}

\begin{DoxyCompactList}\small\item\em initial number of base\+Lines \end{DoxyCompactList}\item 
\hypertarget{a00660_a09bc018195fe968a7c1fca3d9ee74221}{int {\bfseries vertical\+Lines\+\_\+}}\label{a00660_a09bc018195fe968a7c1fca3d9ee74221}

\item 
\hypertarget{a00660_ab923055f25904d15190c5a55eb47c29b}{int {\bfseries max\+Refinement\+\_\+}}\label{a00660_ab923055f25904d15190c5a55eb47c29b}

\item 
double \hyperlink{a00660_a2af78145fee839b7502eee590bb8bccb}{min\+Refinement\+Distance\+\_\+}
\item 
\hypertarget{a00660_a83fe4a60a2913622ba0a76990f41156a}{float \hyperlink{a00660_a83fe4a60a2913622ba0a76990f41156a}{grid\+Size\+\_\+}}\label{a00660_a83fe4a60a2913622ba0a76990f41156a}

\begin{DoxyCompactList}\small\item\em dimensions of the grid \end{DoxyCompactList}\item 
\hypertarget{a00660_a809ba989c0352d137f4888759287a3e7}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a00660_a809ba989c0352d137f4888759287a3e7}{bb\+\_\+min\+\_\+}}\label{a00660_a809ba989c0352d137f4888759287a3e7}

\begin{DoxyCompactList}\small\item\em bounding box \end{DoxyCompactList}\item 
\hypertarget{a00660_ad3d2aafbf16d063d96e390be06e439b4}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries bb\+\_\+max\+\_\+}}\label{a00660_ad3d2aafbf16d063d96e390be06e439b4}

\item 
\hypertarget{a00660_ae0adcc4fcf66a2c3859c2edc3ae97f26}{\hyperlink{a03336_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} \hyperlink{a00660_ae0adcc4fcf66a2c3859c2edc3ae97f26}{base\+Line\+Color\+\_\+}}\label{a00660_ae0adcc4fcf66a2c3859c2edc3ae97f26}

\begin{DoxyCompactList}\small\item\em colors for the grid \end{DoxyCompactList}\item 
\hypertarget{a00660_a52e94f510e78d7885e30a58574cb0af4}{\hyperlink{a03336_a86c28120e8596ee7d03e58b7300f59bc}{Vec3f} {\bfseries mid\+Line\+Color\+\_\+}}\label{a00660_a52e94f510e78d7885e30a58574cb0af4}

\item 
\hypertarget{a00660_a3fbfff0ac36a709e8fbc2e032e3dfe80}{bool {\bfseries auto\+Resize\+\_\+}}\label{a00660_a3fbfff0ac36a709e8fbc2e032e3dfe80}

\item 
\hypertarget{a00660_a5c37339c4fc8d0ca7af388d61d28ad14}{unsigned int \hyperlink{a00660_a5c37339c4fc8d0ca7af388d61d28ad14}{orientation\+\_\+}}\label{a00660_a5c37339c4fc8d0ca7af388d61d28ad14}

\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 88 of file Grid\+Node.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00660_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[{min\+Refinement\+Distance}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node\+::min\+Refinement\+Distance (
\begin{DoxyParamCaption}
\item[{double}]{\+\_\+distance}
\end{DoxyParamCaption}
)}}\label{a00660_a6d5cb280c319049c6cd40f4ad7b31a6a}


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 340 of file Grid\+Node.\+cc.

\hypertarget{a00660_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[{set\+Orientation}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node\+::set\+Orientation (
\begin{DoxyParamCaption}
\item[{unsigned int}]{\+\_\+orientation}
\end{DoxyParamCaption}
)}}\label{a00660_a810b5dac1519f4663e285b5ef79137bc}


Set the plane orientation. 



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



\subsection{Member Data Documentation}
\hypertarget{a00660_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[{min\+Refinement\+Distance\+\_\+}]{\setlength{\rightskip}{0pt plus 5cm}double A\+C\+G\+::\+Scene\+Graph\+::\+Grid\+Node\+::min\+Refinement\+Distance\+\_\+\hspace{0.3cm}{\ttfamily [private]}}}\label{a00660_a2af78145fee839b7502eee590bb8bccb}
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 158 of file Grid\+Node.\+hh.



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