\hypertarget{a00977}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:Point\+Node Class Reference}
\label{a00977}\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\+C\+G\+:\+:Scene\+Graph\+:\+:Point\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00977}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00977_a061130f58f6f4644e75d78bbd04e7dfc}{typedef std\+::vector$<$ \hyperlink{a01409}{A\+C\+G\+::\+Vec3d} $>$ {\bfseries Point\+Vector}}\label{a00977_a061130f58f6f4644e75d78bbd04e7dfc}

\item 
\hypertarget{a00977_aac3eedbac734d9aea49d78ab96759f4e}{typedef Point\+Vector\+::iterator {\bfseries Point\+Iter}}\label{a00977_aac3eedbac734d9aea49d78ab96759f4e}

\item 
\hypertarget{a00977_a3b6e8efa0d5f466174116d7d5b86e773}{typedef Point\+Vector\+::const\+\_\+iterator {\bfseries Const\+Point\+Iter}}\label{a00977_a3b6e8efa0d5f466174116d7d5b86e773}

\item 
\hypertarget{a00977_ab92f226e4175424bcde44fe57525b9a7}{typedef std\+::vector$<$ \hyperlink{a01409}{A\+C\+G\+::\+Vec4f} $>$ {\bfseries Color\+Vector}}\label{a00977_ab92f226e4175424bcde44fe57525b9a7}

\item 
\hypertarget{a00977_a8590fba6a6ab0969c1b38ad4d8251a0f}{typedef Color\+Vector\+::iterator {\bfseries Color\+Iter}}\label{a00977_a8590fba6a6ab0969c1b38ad4d8251a0f}

\item 
\hypertarget{a00977_a0a3e6c8b2c908be99b132f4343eec969}{typedef Color\+Vector\+::const\+\_\+iterator {\bfseries Const\+Color\+Iter}}\label{a00977_a0a3e6c8b2c908be99b132f4343eec969}

\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00977_a3e4ed0d0ceda350c38a25605a35a182b}{\hyperlink{a00977_a3e4ed0d0ceda350c38a25605a35a182b}{Point\+Node} (\hyperlink{a00327}{Base\+Node} $\ast$\+\_\+parent=0, std\+::string \+\_\+name=\char`\"{}$<$Point\+Node$>$\char`\"{})}\label{a00977_a3e4ed0d0ceda350c38a25605a35a182b}

\begin{DoxyCompactList}\small\item\em default constructor \end{DoxyCompactList}\item 
\hypertarget{a00977_a879ea562816c30c44edc175867bcb98d}{\hyperlink{a00977_a879ea562816c30c44edc175867bcb98d}{$\sim$\+Point\+Node} ()}\label{a00977_a879ea562816c30c44edc175867bcb98d}

\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\hypertarget{a00977_a05a338a9caf4a0cfda1a236cbbb8b492}{\hyperlink{a00977_a05a338a9caf4a0cfda1a236cbbb8b492}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+M\+E} (\hyperlink{a00977}{Point\+Node})}\label{a00977_a05a338a9caf4a0cfda1a236cbbb8b492}

\begin{DoxyCompactList}\small\item\em static name of this class \end{DoxyCompactList}\item 
\hypertarget{a00977_a432a4598d3a2e5abd7ffd048ec1e8ca7}{\hyperlink{a00509}{Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a00977_a432a4598d3a2e5abd7ffd048ec1e8ca7}{available\+Draw\+Modes} () const }\label{a00977_a432a4598d3a2e5abd7ffd048ec1e8ca7}

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

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

\begin{DoxyCompactList}\small\item\em draw points and normals \end{DoxyCompactList}\item 
\hypertarget{a00977_acca91b013cfa8e63c90796c5be7e2c56}{void \hyperlink{a00977_acca91b013cfa8e63c90796c5be7e2c56}{get\+Render\+Objects} (\hyperlink{a00738}{I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{a00643}{G\+L\+State} \&\+\_\+state, const \hyperlink{a00509}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode, const \hyperlink{a00789}{Material} $\ast$\+\_\+mat)}\label{a00977_acca91b013cfa8e63c90796c5be7e2c56}

\begin{DoxyCompactList}\small\item\em draw points and normals via renderer plugin \end{DoxyCompactList}\item 
\hypertarget{a00977_af78990b5573872f7859875ebb757a5e3}{void \hyperlink{a00977_af78990b5573872f7859875ebb757a5e3}{reserve} (unsigned int \+\_\+np, unsigned int \+\_\+nn, unsigned int \+\_\+nc)}\label{a00977_af78990b5573872f7859875ebb757a5e3}

\begin{DoxyCompactList}\small\item\em reserve mem for \+\_\+np points and \+\_\+nn normals \end{DoxyCompactList}\item 
\hypertarget{a00977_ab073b204140e420ddca4b20faaa9c927}{void \hyperlink{a00977_ab073b204140e420ddca4b20faaa9c927}{add\+\_\+point} (const \hyperlink{a01409}{A\+C\+G\+::\+Vec3d} \&\+\_\+p)}\label{a00977_ab073b204140e420ddca4b20faaa9c927}

\begin{DoxyCompactList}\small\item\em add point \end{DoxyCompactList}\item 
\hypertarget{a00977_afb944fac0731571cc828605c716e1200}{void \hyperlink{a00977_afb944fac0731571cc828605c716e1200}{add\+\_\+normal} (const \hyperlink{a01409}{A\+C\+G\+::\+Vec3d} \&\+\_\+n)}\label{a00977_afb944fac0731571cc828605c716e1200}

\begin{DoxyCompactList}\small\item\em add normal \end{DoxyCompactList}\item 
\hypertarget{a00977_a471798657964eb9e0b60de365ee9a1fb}{void \hyperlink{a00977_a471798657964eb9e0b60de365ee9a1fb}{add\+\_\+color} (const \hyperlink{a01409}{A\+C\+G\+::\+Vec4f} \&\+\_\+c)}\label{a00977_a471798657964eb9e0b60de365ee9a1fb}

\begin{DoxyCompactList}\small\item\em add color \end{DoxyCompactList}\item 
\hypertarget{a00977_a48a8f2e06b6e10c802e4f69730217eb7}{size\+\_\+t \hyperlink{a00977_a48a8f2e06b6e10c802e4f69730217eb7}{n\+\_\+points} () const }\label{a00977_a48a8f2e06b6e10c802e4f69730217eb7}

\begin{DoxyCompactList}\small\item\em how many points? \end{DoxyCompactList}\item 
\hypertarget{a00977_a69050d36190b6356e5f9c9da659120d8}{void \hyperlink{a00977_a69050d36190b6356e5f9c9da659120d8}{clear\+\_\+points} ()}\label{a00977_a69050d36190b6356e5f9c9da659120d8}

\begin{DoxyCompactList}\small\item\em clear points \end{DoxyCompactList}\item 
\hypertarget{a00977_aafef62293f71f4ddfad9e633e502d24d}{void \hyperlink{a00977_aafef62293f71f4ddfad9e633e502d24d}{clear\+\_\+normals} ()}\label{a00977_aafef62293f71f4ddfad9e633e502d24d}

\begin{DoxyCompactList}\small\item\em clear normals \end{DoxyCompactList}\item 
\hypertarget{a00977_a53848abc99e1f8a1be6a76bd35410338}{void \hyperlink{a00977_a53848abc99e1f8a1be6a76bd35410338}{clear\+\_\+colors} ()}\label{a00977_a53848abc99e1f8a1be6a76bd35410338}

\begin{DoxyCompactList}\small\item\em clear colors \end{DoxyCompactList}\item 
\hypertarget{a00977_acc1ec0e542b873086030a3f30eb171b6}{void \hyperlink{a00977_acc1ec0e542b873086030a3f30eb171b6}{clear} ()}\label{a00977_acc1ec0e542b873086030a3f30eb171b6}

\begin{DoxyCompactList}\small\item\em clear points and normals and colors \end{DoxyCompactList}\item 
\hypertarget{a00977_a2d9b44109f05f79c73288c8af1e8a7ac}{Point\+Vector \& \hyperlink{a00977_a2d9b44109f05f79c73288c8af1e8a7ac}{points} ()}\label{a00977_a2d9b44109f05f79c73288c8af1e8a7ac}

\begin{DoxyCompactList}\small\item\em get point container \end{DoxyCompactList}\item 
\hypertarget{a00977_ac5d934bc3e05d9478bdc4e5442551fb3}{Point\+Vector \& \hyperlink{a00977_ac5d934bc3e05d9478bdc4e5442551fb3}{normals} ()}\label{a00977_ac5d934bc3e05d9478bdc4e5442551fb3}

\begin{DoxyCompactList}\small\item\em get normal container \end{DoxyCompactList}\item 
\hypertarget{a00977_a34ccda74391643d6474d69d80d66693a}{Color\+Vector \& \hyperlink{a00977_a34ccda74391643d6474d69d80d66693a}{colors} ()}\label{a00977_a34ccda74391643d6474d69d80d66693a}

\begin{DoxyCompactList}\small\item\em get color container \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00977_aae30c58c3f1d5313db74116982b9b510}{Point\+Vector {\bfseries points\+\_\+}}\label{a00977_aae30c58c3f1d5313db74116982b9b510}

\item 
\hypertarget{a00977_a8bfc25692b4ec3263432d5d69f3cdab2}{Point\+Vector {\bfseries normals\+\_\+}}\label{a00977_a8bfc25692b4ec3263432d5d69f3cdab2}

\item 
\hypertarget{a00977_ab3025a7f0ec7d3565712586cdfc40059}{Color\+Vector {\bfseries colors\+\_\+}}\label{a00977_ab3025a7f0ec7d3565712586cdfc40059}

\item 
\hypertarget{a00977_a666484c3fc12ace697be633631b7d182}{\hyperlink{a01417}{Vertex\+Declaration} {\bfseries vertex\+Decl\+\_\+}}\label{a00977_a666484c3fc12ace697be633631b7d182}

\end{DoxyCompactItemize}


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

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

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



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