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


{\ttfamily \#include $<$A\+C\+G/\+Scenegraph/\+Point\+Node.\+hh$>$}

Inheritance diagram for A\+CG\+:\+:Scene\+Graph\+:\+:Point\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a07916}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07916_a061130f58f6f4644e75d78bbd04e7dfc}\label{a07916_a061130f58f6f4644e75d78bbd04e7dfc}} 
typedef std\+::vector$<$ \hyperlink{a08448}{A\+C\+G\+::\+Vec3d} $>$ {\bfseries Point\+Vector}
\item 
\mbox{\Hypertarget{a07916_aac3eedbac734d9aea49d78ab96759f4e}\label{a07916_aac3eedbac734d9aea49d78ab96759f4e}} 
typedef Point\+Vector\+::iterator {\bfseries Point\+Iter}
\item 
\mbox{\Hypertarget{a07916_a3b6e8efa0d5f466174116d7d5b86e773}\label{a07916_a3b6e8efa0d5f466174116d7d5b86e773}} 
typedef Point\+Vector\+::const\+\_\+iterator {\bfseries Const\+Point\+Iter}
\item 
\mbox{\Hypertarget{a07916_ab92f226e4175424bcde44fe57525b9a7}\label{a07916_ab92f226e4175424bcde44fe57525b9a7}} 
typedef std\+::vector$<$ \hyperlink{a08448}{A\+C\+G\+::\+Vec4f} $>$ {\bfseries Color\+Vector}
\item 
\mbox{\Hypertarget{a07916_a8590fba6a6ab0969c1b38ad4d8251a0f}\label{a07916_a8590fba6a6ab0969c1b38ad4d8251a0f}} 
typedef Color\+Vector\+::iterator {\bfseries Color\+Iter}
\item 
\mbox{\Hypertarget{a07916_a0a3e6c8b2c908be99b132f4343eec969}\label{a07916_a0a3e6c8b2c908be99b132f4343eec969}} 
typedef Color\+Vector\+::const\+\_\+iterator {\bfseries Const\+Color\+Iter}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07916_a92052e21a9c539ce202a37bd2b1600f2}\label{a07916_a92052e21a9c539ce202a37bd2b1600f2}} 
\hyperlink{a07916_a92052e21a9c539ce202a37bd2b1600f2}{Point\+Node} (\hyperlink{a07748}{Base\+Node} $\ast$\+\_\+parent=0, const std\+::string \&\+\_\+name=\char`\"{}$<$Point\+Node$>$\char`\"{})
\begin{DoxyCompactList}\small\item\em default constructor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a879ea562816c30c44edc175867bcb98d}\label{a07916_a879ea562816c30c44edc175867bcb98d}} 
\hyperlink{a07916_a879ea562816c30c44edc175867bcb98d}{$\sim$\+Point\+Node} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a05a338a9caf4a0cfda1a236cbbb8b492}\label{a07916_a05a338a9caf4a0cfda1a236cbbb8b492}} 
\hyperlink{a07916_a05a338a9caf4a0cfda1a236cbbb8b492}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{a07916}{Point\+Node})
\begin{DoxyCompactList}\small\item\em static name of this class \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_abee26afb5287a97a97c014cacd736ba7}\label{a07916_abee26afb5287a97a97c014cacd736ba7}} 
\hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a07916_abee26afb5287a97a97c014cacd736ba7}{available\+Draw\+Modes} () const
\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a9ab3cd1a1ea95f75530bf00345b7f028}\label{a07916_a9ab3cd1a1ea95f75530bf00345b7f028}} 
void \hyperlink{a07916_a9ab3cd1a1ea95f75530bf00345b7f028}{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{a07916_a99923ce5e3f26b707c7d18c2f782e6b5}\label{a07916_a99923ce5e3f26b707c7d18c2f782e6b5}} 
void \hyperlink{a07916_a99923ce5e3f26b707c7d18c2f782e6b5}{draw} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)
\begin{DoxyCompactList}\small\item\em draw points and normals \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_acca91b013cfa8e63c90796c5be7e2c56}\label{a07916_acca91b013cfa8e63c90796c5be7e2c56}} 
void \hyperlink{a07916_acca91b013cfa8e63c90796c5be7e2c56}{get\+Render\+Objects} (\hyperlink{a07468}{I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode, const \hyperlink{a07828}{Material} $\ast$\+\_\+mat)
\begin{DoxyCompactList}\small\item\em draw points and normals via renderer plugin \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_af78990b5573872f7859875ebb757a5e3}\label{a07916_af78990b5573872f7859875ebb757a5e3}} 
void \hyperlink{a07916_af78990b5573872f7859875ebb757a5e3}{reserve} (unsigned int \+\_\+np, unsigned int \+\_\+nn, unsigned int \+\_\+nc)
\begin{DoxyCompactList}\small\item\em reserve mem for \+\_\+np points and \+\_\+nn normals \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_ab073b204140e420ddca4b20faaa9c927}\label{a07916_ab073b204140e420ddca4b20faaa9c927}} 
void \hyperlink{a07916_ab073b204140e420ddca4b20faaa9c927}{add\+\_\+point} (const \hyperlink{a08448}{A\+C\+G\+::\+Vec3d} \&\+\_\+p)
\begin{DoxyCompactList}\small\item\em add point \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_afb944fac0731571cc828605c716e1200}\label{a07916_afb944fac0731571cc828605c716e1200}} 
void \hyperlink{a07916_afb944fac0731571cc828605c716e1200}{add\+\_\+normal} (const \hyperlink{a08448}{A\+C\+G\+::\+Vec3d} \&\+\_\+n)
\begin{DoxyCompactList}\small\item\em add normal \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a471798657964eb9e0b60de365ee9a1fb}\label{a07916_a471798657964eb9e0b60de365ee9a1fb}} 
void \hyperlink{a07916_a471798657964eb9e0b60de365ee9a1fb}{add\+\_\+color} (const \hyperlink{a08448}{A\+C\+G\+::\+Vec4f} \&\+\_\+c)
\begin{DoxyCompactList}\small\item\em add color \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a6fd8e0ec91cbe1e20931fe6f92d85cdd}\label{a07916_a6fd8e0ec91cbe1e20931fe6f92d85cdd}} 
size\+\_\+t \hyperlink{a07916_a6fd8e0ec91cbe1e20931fe6f92d85cdd}{n\+\_\+points} () const
\begin{DoxyCompactList}\small\item\em how many points? \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a69050d36190b6356e5f9c9da659120d8}\label{a07916_a69050d36190b6356e5f9c9da659120d8}} 
void \hyperlink{a07916_a69050d36190b6356e5f9c9da659120d8}{clear\+\_\+points} ()
\begin{DoxyCompactList}\small\item\em clear points \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_aafef62293f71f4ddfad9e633e502d24d}\label{a07916_aafef62293f71f4ddfad9e633e502d24d}} 
void \hyperlink{a07916_aafef62293f71f4ddfad9e633e502d24d}{clear\+\_\+normals} ()
\begin{DoxyCompactList}\small\item\em clear normals \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a53848abc99e1f8a1be6a76bd35410338}\label{a07916_a53848abc99e1f8a1be6a76bd35410338}} 
void \hyperlink{a07916_a53848abc99e1f8a1be6a76bd35410338}{clear\+\_\+colors} ()
\begin{DoxyCompactList}\small\item\em clear colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_acc1ec0e542b873086030a3f30eb171b6}\label{a07916_acc1ec0e542b873086030a3f30eb171b6}} 
void \hyperlink{a07916_acc1ec0e542b873086030a3f30eb171b6}{clear} ()
\begin{DoxyCompactList}\small\item\em clear points and normals and colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a2d9b44109f05f79c73288c8af1e8a7ac}\label{a07916_a2d9b44109f05f79c73288c8af1e8a7ac}} 
Point\+Vector \& \hyperlink{a07916_a2d9b44109f05f79c73288c8af1e8a7ac}{points} ()
\begin{DoxyCompactList}\small\item\em get point container \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_ac5d934bc3e05d9478bdc4e5442551fb3}\label{a07916_ac5d934bc3e05d9478bdc4e5442551fb3}} 
Point\+Vector \& \hyperlink{a07916_ac5d934bc3e05d9478bdc4e5442551fb3}{normals} ()
\begin{DoxyCompactList}\small\item\em get normal container \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07916_a34ccda74391643d6474d69d80d66693a}\label{a07916_a34ccda74391643d6474d69d80d66693a}} 
Color\+Vector \& \hyperlink{a07916_a34ccda74391643d6474d69d80d66693a}{colors} ()
\begin{DoxyCompactList}\small\item\em get color container \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07916_aae30c58c3f1d5313db74116982b9b510}\label{a07916_aae30c58c3f1d5313db74116982b9b510}} 
Point\+Vector {\bfseries points\+\_\+}
\item 
\mbox{\Hypertarget{a07916_a8bfc25692b4ec3263432d5d69f3cdab2}\label{a07916_a8bfc25692b4ec3263432d5d69f3cdab2}} 
Point\+Vector {\bfseries normals\+\_\+}
\item 
\mbox{\Hypertarget{a07916_ab3025a7f0ec7d3565712586cdfc40059}\label{a07916_ab3025a7f0ec7d3565712586cdfc40059}} 
Color\+Vector {\bfseries colors\+\_\+}
\item 
\mbox{\Hypertarget{a07916_a666484c3fc12ace697be633631b7d182}\label{a07916_a666484c3fc12ace697be633631b7d182}} 
\hyperlink{a07596}{Vertex\+Declaration} {\bfseries vertex\+Decl\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{a07916}{Point\+Node} renders points and normals.

These elements are internally stored in arrays and rendered using Open\+GL vertex and normal arrays. 

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



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