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


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

Inheritance diagram for A\+CG\+:\+:Scene\+Graph\+:\+:Line\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{a07820}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07820_a04d9dc97367890503f2c559ee0291790}\label{a07820_a04d9dc97367890503f2c559ee0291790}} 
enum \hyperlink{a07820_a04d9dc97367890503f2c559ee0291790}{Line\+Mode} \{ {\bfseries Line\+Segments\+Mode}, 
{\bfseries Polygon\+Mode}
 \}\begin{DoxyCompactList}\small\item\em Line mode\+: draw line segments (every 2 points) or O\+NE polyline. \end{DoxyCompactList}
\item 
\mbox{\Hypertarget{a07820_a903315f236489921c0fe253e705311c4}\label{a07820_a903315f236489921c0fe253e705311c4}} 
typedef \hyperlink{a08448}{A\+C\+G\+::\+Vec3uc} {\bfseries Color}
\item 
\mbox{\Hypertarget{a07820_a7ca36c4c171509fe42c236aecb8bcd3a}\label{a07820_a7ca36c4c171509fe42c236aecb8bcd3a}} 
typedef \hyperlink{a08448}{A\+C\+G\+::\+Vec4f} {\bfseries Color4f}
\item 
\mbox{\Hypertarget{a07820_aa7f9bcaa67c1b652d0d624484caa92a2}\label{a07820_aa7f9bcaa67c1b652d0d624484caa92a2}} 
typedef std\+::vector$<$ \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} $>$ {\bfseries Point\+Vector}
\item 
\mbox{\Hypertarget{a07820_a58dcf3cb48f0e77641ec7e96fac55081}\label{a07820_a58dcf3cb48f0e77641ec7e96fac55081}} 
typedef Point\+Vector\+::iterator {\bfseries Point\+Iter}
\item 
\mbox{\Hypertarget{a07820_aa25ed42e1cc839ba88c75dc5f3f0441f}\label{a07820_aa25ed42e1cc839ba88c75dc5f3f0441f}} 
typedef Point\+Vector\+::const\+\_\+iterator {\bfseries Const\+Point\+Iter}
\item 
\mbox{\Hypertarget{a07820_a3ad94310acb1a04615a4a57a30d29447}\label{a07820_a3ad94310acb1a04615a4a57a30d29447}} 
typedef std\+::vector$<$ \hyperlink{a08448}{A\+C\+G\+::\+Vec3uc} $>$ {\bfseries Color\+Vector}
\item 
\mbox{\Hypertarget{a07820_a7a71b969e8273e26b38eefd9dc1edc0a}\label{a07820_a7a71b969e8273e26b38eefd9dc1edc0a}} 
typedef Color\+Vector\+::iterator {\bfseries Color\+Iter}
\item 
\mbox{\Hypertarget{a07820_a5845618834ab8b68e5830e89c2b251b3}\label{a07820_a5845618834ab8b68e5830e89c2b251b3}} 
typedef Color\+Vector\+::const\+\_\+iterator {\bfseries Const\+Color\+Iter}
\item 
\mbox{\Hypertarget{a07820_a16b927d0d10b7e4fc7bf1b2d587e2e98}\label{a07820_a16b927d0d10b7e4fc7bf1b2d587e2e98}} 
typedef std\+::vector$<$ \hyperlink{a08448}{Color4f} $>$ {\bfseries Color4f\+Vector}
\item 
\mbox{\Hypertarget{a07820_a35df827435b67d082ebba77001f51c11}\label{a07820_a35df827435b67d082ebba77001f51c11}} 
typedef Color4f\+Vector\+::iterator {\bfseries Color4f\+Iter}
\item 
\mbox{\Hypertarget{a07820_aaf37503662a0aab8d2a8349f13f1ad2d}\label{a07820_aaf37503662a0aab8d2a8349f13f1ad2d}} 
typedef Color4f\+Vector\+::const\+\_\+iterator {\bfseries Const\+Color4f\+Iter}
\item 
\mbox{\Hypertarget{a07820_a65a5d75434ee4430a42ffb332acad89a}\label{a07820_a65a5d75434ee4430a42ffb332acad89a}} 
typedef \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries value\+\_\+type}
\item 
\mbox{\Hypertarget{a07820_aa349503244bdad05544682936ef40970}\label{a07820_aa349503244bdad05544682936ef40970}} 
typedef \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \& {\bfseries reference}
\item 
\mbox{\Hypertarget{a07820_a290fd795085eeba23894c9b0d9dbfdd6}\label{a07820_a290fd795085eeba23894c9b0d9dbfdd6}} 
typedef const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \& {\bfseries const\+\_\+reference}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07820_a8c22806eeda3c5b2d303ce7166867c01}\label{a07820_a8c22806eeda3c5b2d303ce7166867c01}} 
\hyperlink{a07820_a8c22806eeda3c5b2d303ce7166867c01}{Line\+Node} (\hyperlink{a07820_a04d9dc97367890503f2c559ee0291790}{Line\+Mode} \+\_\+mode, \hyperlink{a07748}{Base\+Node} $\ast$\+\_\+parent=0, std\+::string \+\_\+name=\char`\"{}$<$Line\+Node$>$\char`\"{})
\begin{DoxyCompactList}\small\item\em default constructor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_aa34746cbeab467ad02fcbb4c6241f4d1}\label{a07820_aa34746cbeab467ad02fcbb4c6241f4d1}} 
\hyperlink{a07820_aa34746cbeab467ad02fcbb4c6241f4d1}{$\sim$\+Line\+Node} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_ae30551948f84cac6ef3ab10bf58319d9}\label{a07820_ae30551948f84cac6ef3ab10bf58319d9}} 
void \hyperlink{a07820_ae30551948f84cac6ef3ab10bf58319d9}{set\+\_\+line\+\_\+mode} (\hyperlink{a07820_a04d9dc97367890503f2c559ee0291790}{Line\+Mode} \+\_\+mode)
\begin{DoxyCompactList}\small\item\em set line mode (see \hyperlink{a07820_a04d9dc97367890503f2c559ee0291790}{Line\+Node\+::\+Line\+Mode}) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a757a0027510032b83b2bc75c067dd63f}\label{a07820_a757a0027510032b83b2bc75c067dd63f}} 
\hyperlink{a07820_a757a0027510032b83b2bc75c067dd63f}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{a07820}{Line\+Node})
\begin{DoxyCompactList}\small\item\em static name of this class \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a1d8c10b497a07bcbce7011b023ff91da}\label{a07820_a1d8c10b497a07bcbce7011b023ff91da}} 
\hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a07820_a1d8c10b497a07bcbce7011b023ff91da}{available\+Draw\+Modes} () const
\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a6527b1c4c1a47b9c4cc830cd326df3a1}\label{a07820_a6527b1c4c1a47b9c4cc830cd326df3a1}} 
void \hyperlink{a07820_a6527b1c4c1a47b9c4cc830cd326df3a1}{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{a07820_ae24ed44d507f29714c56a131f6c0c0ef}\label{a07820_ae24ed44d507f29714c56a131f6c0c0ef}} 
void \hyperlink{a07820_ae24ed44d507f29714c56a131f6c0c0ef}{enter} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)
\begin{DoxyCompactList}\small\item\em set depth function (needed for lasso selection so that the line can be draw in pseudo-\/2D) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a3711fafb1eaa95eb9e5be48e9239d1ad}\label{a07820_a3711fafb1eaa95eb9e5be48e9239d1ad}} 
void \hyperlink{a07820_a3711fafb1eaa95eb9e5be48e9239d1ad}{draw} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)
\begin{DoxyCompactList}\small\item\em draw lines and normals \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_aac27c1c2c1ce4c917fe57e23fdfbf5e3}\label{a07820_aac27c1c2c1ce4c917fe57e23fdfbf5e3}} 
void {\bfseries draw\+Compat} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)
\item 
\mbox{\Hypertarget{a07820_a87344ab57c20007d9b65ed540c19525f}\label{a07820_a87344ab57c20007d9b65ed540c19525f}} 
void \hyperlink{a07820_a87344ab57c20007d9b65ed540c19525f}{leave} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)
\begin{DoxyCompactList}\small\item\em reset depth function to what it was before \hyperlink{a07820_ae24ed44d507f29714c56a131f6c0c0ef}{enter()} \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a6ee420db9a2e2cae76a5cf3da533db65}\label{a07820_a6ee420db9a2e2cae76a5cf3da533db65}} 
void \hyperlink{a07820_a6ee420db9a2e2cae76a5cf3da533db65}{pick} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, \hyperlink{a06177_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target)
\begin{DoxyCompactList}\small\item\em Draw the line using the GL picking name stack. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a78da87781b7be916b904d0f2e0264094}\label{a07820_a78da87781b7be916b904d0f2e0264094}} 
void {\bfseries pick\+Compat} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, \hyperlink{a06177_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target)
\item 
\mbox{\Hypertarget{a07820_a919a1ec86797773a438ee1a72e481d49}\label{a07820_a919a1ec86797773a438ee1a72e481d49}} 
void \hyperlink{a07820_a919a1ec86797773a438ee1a72e481d49}{reserve\+\_\+lines} (unsigned int \+\_\+n)
\begin{DoxyCompactList}\small\item\em reserve mem for \+\_\+n lines \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a51ef4f01ca700c850cefea1459b9abba}\label{a07820_a51ef4f01ca700c850cefea1459b9abba}} 
void \hyperlink{a07820_a51ef4f01ca700c850cefea1459b9abba}{reserve\+\_\+points} (unsigned int \+\_\+n)
\begin{DoxyCompactList}\small\item\em reserve mem for \+\_\+n points \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_aac758d3a08c269d994b2a7658d7ae834}\label{a07820_aac758d3a08c269d994b2a7658d7ae834}} 
void \hyperlink{a07820_aac758d3a08c269d994b2a7658d7ae834}{clear} ()
\begin{DoxyCompactList}\small\item\em clear points/lines and colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_af9ad1cdf1f4212156a5aa23ead946ba1}\label{a07820_af9ad1cdf1f4212156a5aa23ead946ba1}} 
void \hyperlink{a07820_af9ad1cdf1f4212156a5aa23ead946ba1}{clear\+\_\+points} ()
\begin{DoxyCompactList}\small\item\em clear points/lines \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_ac422b6399b863f016a62093e5b28262a}\label{a07820_ac422b6399b863f016a62093e5b28262a}} 
void \hyperlink{a07820_ac422b6399b863f016a62093e5b28262a}{clear\+\_\+colors} ()
\begin{DoxyCompactList}\small\item\em clear colors \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_aa0d5b61fb34019d4d806d9f2c8066c44}\label{a07820_aa0d5b61fb34019d4d806d9f2c8066c44}} 
void \hyperlink{a07820_aa0d5b61fb34019d4d806d9f2c8066c44}{set\+\_\+color} (const \hyperlink{a06176_a4850d8bd22bf3ccf7088b80adc17c989}{Vec4f} \&\+\_\+c)
\begin{DoxyCompactList}\small\item\em Override material node\textquotesingle{}s set color function in order to locally add color. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_ab807af206dc6fdf858efe9457fde8b8e}\label{a07820_ab807af206dc6fdf858efe9457fde8b8e}} 
void \hyperlink{a07820_ab807af206dc6fdf858efe9457fde8b8e}{add\+\_\+point} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+v)
\begin{DoxyCompactList}\small\item\em add point (for Line\+Mode == Polygon\+Mode) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a3539e5a080b4e4d1a42545138e4cf254}\label{a07820_a3539e5a080b4e4d1a42545138e4cf254}} 
void \hyperlink{a07820_a3539e5a080b4e4d1a42545138e4cf254}{add\+\_\+line} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+v0, const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+v1)
\begin{DoxyCompactList}\small\item\em add line (for Line\+Mode == Line\+Segments\+Mode) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a8651a9734a2b0b322b01cf592d0ccd30}\label{a07820_a8651a9734a2b0b322b01cf592d0ccd30}} 
void \hyperlink{a07820_a8651a9734a2b0b322b01cf592d0ccd30}{add\+\_\+color} (const \hyperlink{a08448}{A\+C\+G\+::\+Vec3uc} \&\+\_\+c)
\begin{DoxyCompactList}\small\item\em add color (only for Line\+Mode == Line\+Segments\+Mode) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a34cdfedfc13a85fd130f900ce6b1f6ff}\label{a07820_a34cdfedfc13a85fd130f900ce6b1f6ff}} 
void \hyperlink{a07820_a34cdfedfc13a85fd130f900ce6b1f6ff}{add\+\_\+color} (const \hyperlink{a08448}{Color4f} \+\_\+c)
\begin{DoxyCompactList}\small\item\em add color 4f (only for Line\+Mode == Line\+Segments\+Mode) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a17a3cbef99c8d492fa9c7c06eda0fbc5}\label{a07820_a17a3cbef99c8d492fa9c7c06eda0fbc5}} 
void \hyperlink{a07820_a17a3cbef99c8d492fa9c7c06eda0fbc5}{set\+\_\+picking\+\_\+line\+\_\+width} (float \+\_\+width)
\begin{DoxyCompactList}\small\item\em set line width used by the picking renderer \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a01aace93f3adbef1c86f6a171c3ffa89}\label{a07820_a01aace93f3adbef1c86f6a171c3ffa89}} 
float \hyperlink{a07820_a01aace93f3adbef1c86f6a171c3ffa89}{picking\+\_\+line\+\_\+width} () const
\begin{DoxyCompactList}\small\item\em get line width used by the picking renderer. Defaults to \hyperlink{a07832_ab7bf5e54c041a44541eed7c826c2e1c7}{line\+\_\+width()}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_acda5bf12fa3a954749c2bf3aa5dc42c1}\label{a07820_acda5bf12fa3a954749c2bf3aa5dc42c1}} 
size\+\_\+t \hyperlink{a07820_acda5bf12fa3a954749c2bf3aa5dc42c1}{n\+\_\+points} () const
\begin{DoxyCompactList}\small\item\em number of points \end{DoxyCompactList}\item 
const Point\+Vector \& \hyperlink{a07820_a0bb1d911d9b269906d79d4c45d96a264}{points} () const
\begin{DoxyCompactList}\small\item\em return reference to point vector \end{DoxyCompactList}\item 
Color\+Vector \& \hyperlink{a07820_a6633b842db049ee269be575e3a151b71}{colors} ()
\begin{DoxyCompactList}\small\item\em get and set color container \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a71bc3f3230bc523bab9f0da641d19322}\label{a07820_a71bc3f3230bc523bab9f0da641d19322}} 
bool \& \hyperlink{a07820_a71bc3f3230bc523bab9f0da641d19322}{always\+On\+Top} ()
\begin{DoxyCompactList}\small\item\em get and set always on top \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a07820_a9dd577b7ff4e62dfec58d29a6a989113}\label{a07820_a9dd577b7ff4e62dfec58d29a6a989113}} 
void {\bfseries update\+V\+BO} ()
\item 
\mbox{\Hypertarget{a07820_a660e9740d60fa02e5c68069566b83545}\label{a07820_a660e9740d60fa02e5c68069566b83545}} 
void \hyperlink{a07820_a660e9740d60fa02e5c68069566b83545}{push\+\_\+back} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+v)
\begin{DoxyCompactList}\small\item\em S\+TL conformance. \end{DoxyCompactList}\item 
void \hyperlink{a07820_a8f57b4911f6fffa9a335a52d454f7b4e}{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}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} $\ast$\+\_\+mat)
\begin{DoxyCompactList}\small\item\em Add the objects to the given renderer. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a07820_a4bda5b89e3cfb9fb1e9fec783512ea6c}\label{a07820_a4bda5b89e3cfb9fb1e9fec783512ea6c}} 
void {\bfseries pick\+\_\+vertices} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state)
\item 
\mbox{\Hypertarget{a07820_a7000dbf4953a8e402d86bb9faf5f7725}\label{a07820_a7000dbf4953a8e402d86bb9faf5f7725}} 
void {\bfseries pick\+\_\+edges} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, unsigned int \+\_\+offset)
\item 
\mbox{\Hypertarget{a07820_ab389066c24ff51ce373ea4d993743d60}\label{a07820_ab389066c24ff51ce373ea4d993743d60}} 
void {\bfseries pick\+\_\+edges\+Compat} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, unsigned int \+\_\+offset)
\item 
\mbox{\Hypertarget{a07820_a59b8d3e1b18a99be261f030c2ab428e8}\label{a07820_a59b8d3e1b18a99be261f030c2ab428e8}} 
void \hyperlink{a07820_a59b8d3e1b18a99be261f030c2ab428e8}{create\+V\+BO} ()
\begin{DoxyCompactList}\small\item\em creates the vbo only if update was requested \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
float \hyperlink{a07820_a76c34bff57e3126799500140c9070753}{picking\+\_\+line\+\_\+width\+\_\+}
\item 
\mbox{\Hypertarget{a07820_a748b817cde06bb09ccb198ad08a11b9c}\label{a07820_a748b817cde06bb09ccb198ad08a11b9c}} 
Point\+Vector {\bfseries points\+\_\+}
\item 
\mbox{\Hypertarget{a07820_a3763a5867d55e6b6cfd3c55a22d877de}\label{a07820_a3763a5867d55e6b6cfd3c55a22d877de}} 
Color\+Vector {\bfseries colors\+\_\+}
\item 
\mbox{\Hypertarget{a07820_ac1f1b78de42b657e9d3c071d947843d9}\label{a07820_ac1f1b78de42b657e9d3c071d947843d9}} 
Color4f\+Vector {\bfseries colors4f\+\_\+}
\item 
\mbox{\Hypertarget{a07820_a2842b4a630a0d8364b4889384f20a737}\label{a07820_a2842b4a630a0d8364b4889384f20a737}} 
\hyperlink{a07820_a04d9dc97367890503f2c559ee0291790}{Line\+Mode} {\bfseries line\+\_\+mode\+\_\+}
\item 
\mbox{\Hypertarget{a07820_a34b2d55a4b5b111331f51a65b2c70b77}\label{a07820_a34b2d55a4b5b111331f51a65b2c70b77}} 
bool {\bfseries draw\+\_\+always\+\_\+on\+\_\+top}
\item 
\mbox{\Hypertarget{a07820_a091c130b1884e4be8dff277c8b492e13}\label{a07820_a091c130b1884e4be8dff277c8b492e13}} 
G\+Lint {\bfseries prev\+\_\+depth\+\_\+}
\item 
\mbox{\Hypertarget{a07820_af3d5233def940a97c483a5bbdfa0b253}\label{a07820_af3d5233def940a97c483a5bbdfa0b253}} 
unsigned int {\bfseries vbo\+\_\+}
\item 
\mbox{\Hypertarget{a07820_ac0efa9524f217ea9ca5f21520478f30d}\label{a07820_ac0efa9524f217ea9ca5f21520478f30d}} 
bool {\bfseries update\+V\+B\+O\+\_\+}
\item 
\mbox{\Hypertarget{a07820_a1526c4819b9c88b119c61342a1d2039d}\label{a07820_a1526c4819b9c88b119c61342a1d2039d}} 
\hyperlink{a07596}{A\+C\+G\+::\+Vertex\+Declaration} {\bfseries vertex\+Decl\+\_\+}
\item 
\mbox{\Hypertarget{a07820_ada8d6a03d2217e6ac45185fbed1c9f1b}\label{a07820_ada8d6a03d2217e6ac45185fbed1c9f1b}} 
std\+::string {\bfseries line\+Node\+Name\+\_\+}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{a07820}{Line\+Node} renders a set of line segments or polylines.

\hyperlink{a07820}{Line\+Node} renders a set of line segments or one connected polyline, depending on the Line\+Mode, that can be set using the \hyperlink{a07820_ae30551948f84cac6ef3ab10bf58319d9}{set\+\_\+line\+\_\+mode(\+Line\+Mode)} method. 

Definition at line 84 of file Line\+Node.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a07820_a6633b842db049ee269be575e3a151b71}\label{a07820_a6633b842db049ee269be575e3a151b71}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node}!colors@{colors}}
\index{colors@{colors}!A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node}}
\subsubsection{\texorpdfstring{colors()}{colors()}}
{\footnotesize\ttfamily Color\+Vector\& A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node\+::colors (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



get and set color container 

If you change something here, you need to call update\+V\+B\+O() in order to tell the system, that your data arrays changed 

Definition at line 195 of file Line\+Node.\+hh.

\mbox{\Hypertarget{a07820_a8f57b4911f6fffa9a335a52d454f7b4e}\label{a07820_a8f57b4911f6fffa9a335a52d454f7b4e}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node}!get\+Render\+Objects@{get\+Render\+Objects}}
\index{get\+Render\+Objects@{get\+Render\+Objects}!A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node}}
\subsubsection{\texorpdfstring{get\+Render\+Objects()}{getRenderObjects()}}
{\footnotesize\ttfamily void A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node\+::get\+Render\+Objects (\begin{DoxyParamCaption}\item[{\hyperlink{a07468}{I\+Renderer} $\ast$}]{\+\_\+renderer,  }\item[{\hyperlink{a07452}{G\+L\+State} \&}]{\+\_\+state,  }\item[{const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&}]{\+\_\+draw\+Mode,  }\item[{const \hyperlink{a07828}{A\+C\+G\+::\+Scene\+Graph\+::\+Material} $\ast$}]{\+\_\+mat }\end{DoxyParamCaption})}



Add the objects to the given renderer. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+renderer} & The renderer which will be used. Add your geometry into this class \\
\hline
{\em \+\_\+state} & The current GL State when this object is called \\
\hline
{\em \+\_\+draw\+Mode} & The active draw mode \\
\hline
{\em \+\_\+mat} & Current material \\
\hline
\end{DoxyParams}


Definition at line 544 of file Line\+Node.\+cc.

\mbox{\Hypertarget{a07820_a0bb1d911d9b269906d79d4c45d96a264}\label{a07820_a0bb1d911d9b269906d79d4c45d96a264}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node}!points@{points}}
\index{points@{points}!A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node}}
\subsubsection{\texorpdfstring{points()}{points()}}
{\footnotesize\ttfamily const Point\+Vector\& A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node\+::points (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



return reference to point vector 

If you change something here, you need to call update\+V\+B\+O() in order to tell the system, that your data arrays changed 

Definition at line 188 of file Line\+Node.\+hh.



\subsection{Member Data Documentation}
\mbox{\Hypertarget{a07820_a76c34bff57e3126799500140c9070753}\label{a07820_a76c34bff57e3126799500140c9070753}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node}!picking\+\_\+line\+\_\+width\+\_\+@{picking\+\_\+line\+\_\+width\+\_\+}}
\index{picking\+\_\+line\+\_\+width\+\_\+@{picking\+\_\+line\+\_\+width\+\_\+}!A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node}}
\subsubsection{\texorpdfstring{picking\+\_\+line\+\_\+width\+\_\+}{picking\_line\_width\_}}
{\footnotesize\ttfamily float A\+C\+G\+::\+Scene\+Graph\+::\+Line\+Node\+::picking\+\_\+line\+\_\+width\+\_\+\hspace{0.3cm}{\ttfamily [protected]}}

Line width used by the picking renderer. If this is not set (i.\+e. N\+AN), \hyperlink{a07832_ab7bf5e54c041a44541eed7c826c2e1c7}{line\+\_\+width()} is used instead. 

Definition at line 228 of file Line\+Node.\+hh.



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