\hypertarget{a11304}{}\section{A\+CG\+:\+:Scene\+Graph\+:\+:Coordinate\+System\+Node Class Reference}
\label{a11304}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Coordinate\+System\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Coordinate\+System\+Node}}


Node for displaying coordinate systems.  




{\ttfamily \#include $<$Type-\/\+Coordsys/\+Object\+Types/\+Coordsys/\+Coordinate\+System\+Node.\+hh$>$}

Inheritance diagram for A\+CG\+:\+:Scene\+Graph\+:\+:Coordinate\+System\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a11304}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a11304_ae578693cfbb8c1b7a4f03961c487fb9f}{Coordinate\+System\+Node} (\hyperlink{a07748}{Base\+Node} $\ast$\+\_\+parent=0, std\+::string \+\_\+name=\char`\"{}$<$Text\+Node$>$\char`\"{})
\item 
\mbox{\Hypertarget{a11304_a87845cc47c9bd7b4f1beb2ef938e93bf}\label{a11304_a87845cc47c9bd7b4f1beb2ef938e93bf}} 
\hyperlink{a11304_a87845cc47c9bd7b4f1beb2ef938e93bf}{$\sim$\+Coordinate\+System\+Node} ()
\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a36dda68a16599f04a9f385e4714d2528}\label{a11304_a36dda68a16599f04a9f385e4714d2528}} 
\hyperlink{a11304_a36dda68a16599f04a9f385e4714d2528}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+ME} (\hyperlink{a11304}{Coordinate\+System\+Node})
\begin{DoxyCompactList}\small\item\em static name of this class \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a19a3f70b458718fe4314a96ed8a09821}\label{a11304_a19a3f70b458718fe4314a96ed8a09821}} 
\hyperlink{a07792}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a11304_a19a3f70b458718fe4314a96ed8a09821}{available\+Draw\+Modes} () const
\begin{DoxyCompactList}\small\item\em return available draw modes \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a01985ca18255b0a593d53bd87316ce98}\label{a11304_a01985ca18255b0a593d53bd87316ce98}} 
void \hyperlink{a11304_a01985ca18255b0a593d53bd87316ce98}{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{a11304_aa2c55030810618b778f29f250f0d242c}\label{a11304_aa2c55030810618b778f29f250f0d242c}} 
void \hyperlink{a11304_aa2c55030810618b778f29f250f0d242c}{draw} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, const \hyperlink{a07792}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)
\begin{DoxyCompactList}\small\item\em draw Coordsys \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a06d0d67628edebdadef2c8f6db287307}\label{a11304_a06d0d67628edebdadef2c8f6db287307}} 
void \hyperlink{a11304_a06d0d67628edebdadef2c8f6db287307}{pick} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state, \hyperlink{a06177_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target)
\begin{DoxyCompactList}\small\item\em draw Coordsys for object picking \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_aa73afecc82a083361102fa37db070bd5}\label{a11304_aa73afecc82a083361102fa37db070bd5}} 
void \hyperlink{a11304_aa73afecc82a083361102fa37db070bd5}{position} (const \hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+pos)
\begin{DoxyCompactList}\small\item\em set position of the coordsys \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a46980067c4f9092cf120c9d007651ec5}\label{a11304_a46980067c4f9092cf120c9d007651ec5}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a11304_a46980067c4f9092cf120c9d007651ec5}{position} ()
\begin{DoxyCompactList}\small\item\em Get current position of the coordinate system;. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a591a0310a9c0607c9730a4d412c97f39}\label{a11304_a591a0310a9c0607c9730a4d412c97f39}} 
\hyperlink{a06176_a7f5dece6cb3955c9847f5455509f6147}{Matrix4x4d} \hyperlink{a11304_a591a0310a9c0607c9730a4d412c97f39}{rotation} ()
\begin{DoxyCompactList}\small\item\em Get current rotation of the coordinate system;. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_ad9527ae1dec487819788d7fd80a775e1}\label{a11304_ad9527ae1dec487819788d7fd80a775e1}} 
void \hyperlink{a11304_ad9527ae1dec487819788d7fd80a775e1}{rotation} (const \hyperlink{a06176_a7f5dece6cb3955c9847f5455509f6147}{Matrix4x4d} \&\+\_\+rotation)
\begin{DoxyCompactList}\small\item\em Set the rotation of the coordinate system;. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a112b6bc874d883f6499854c61d76c2b7}\label{a11304_a112b6bc874d883f6499854c61d76c2b7}} 
void \hyperlink{a11304_a112b6bc874d883f6499854c61d76c2b7}{size} (const double \+\_\+size)
\begin{DoxyCompactList}\small\item\em set size of the coordsys ( Size is length of one of the axis ) \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a4b7c528fe1f72c095c064e8ac1b12192}\label{a11304_a4b7c528fe1f72c095c064e8ac1b12192}} 
double \hyperlink{a11304_a4b7c528fe1f72c095c064e8ac1b12192}{size} ()
\begin{DoxyCompactList}\small\item\em Get current size. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11304_ae8e612d3f13711a49a85622387faad57}\label{a11304_ae8e612d3f13711a49a85622387faad57}} 
void {\bfseries draw\+Coordsys} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state)
\item 
\mbox{\Hypertarget{a11304_aae0448f2d84ba5f04de1d401ac0a5f9d}\label{a11304_aae0448f2d84ba5f04de1d401ac0a5f9d}} 
void {\bfseries draw\+Coordsys\+Pick} (\hyperlink{a07452}{G\+L\+State} \&\+\_\+state)
\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11304_a2c174a2a45b38a8bdb8d537ee0230e35}\label{a11304_a2c174a2a45b38a8bdb8d537ee0230e35}} 
\hyperlink{a06176_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a11304_a2c174a2a45b38a8bdb8d537ee0230e35}{position\+\_\+}
\begin{DoxyCompactList}\small\item\em 3d position of the coordsys origin \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a269c983334145783df01ad7e6cdf9901}\label{a11304_a269c983334145783df01ad7e6cdf9901}} 
\hyperlink{a06176_a7f5dece6cb3955c9847f5455509f6147}{Matrix4x4d} \hyperlink{a11304_a269c983334145783df01ad7e6cdf9901}{rotation\+\_\+}
\begin{DoxyCompactList}\small\item\em Orientation of coordsys. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_a2f1a1137f13ddf0e6cab2deecf53740a}\label{a11304_a2f1a1137f13ddf0e6cab2deecf53740a}} 
double \hyperlink{a11304_a2f1a1137f13ddf0e6cab2deecf53740a}{coordsys\+Size\+\_\+}
\begin{DoxyCompactList}\small\item\em Size of the coordsys. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11304_abc941b1cdb6a230bb7fc08c3add2fb22}\label{a11304_abc941b1cdb6a230bb7fc08c3add2fb22}} 
int {\bfseries slices\+\_\+}
\item 
\mbox{\Hypertarget{a11304_a4dcf0adcf3f62cd0be503685f85650fb}\label{a11304_a4dcf0adcf3f62cd0be503685f85650fb}} 
int {\bfseries stacks\+\_\+}
\item 
\mbox{\Hypertarget{a11304_a6fb876a0a81b9212180bfd5e9db7e349}\label{a11304_a6fb876a0a81b9212180bfd5e9db7e349}} 
int {\bfseries loops\+\_\+}
\item 
\mbox{\Hypertarget{a11304_a0dd475ae97345712f98d5d082ef2a1a2}\label{a11304_a0dd475ae97345712f98d5d082ef2a1a2}} 
\hyperlink{a07392}{G\+L\+Sphere} $\ast$ {\bfseries sphere\+\_\+}
\item 
\mbox{\Hypertarget{a11304_a1b2028a2f9f4423288866562e605aaf1}\label{a11304_a1b2028a2f9f4423288866562e605aaf1}} 
\hyperlink{a07396}{G\+L\+Cone} $\ast$ {\bfseries cone\+\_\+}
\item 
\mbox{\Hypertarget{a11304_aa5a15fa9396cbd8e3b842e63e3a36da8}\label{a11304_aa5a15fa9396cbd8e3b842e63e3a36da8}} 
\hyperlink{a07400}{G\+L\+Cylinder} $\ast$ {\bfseries cylinder\+\_\+}
\item 
\mbox{\Hypertarget{a11304_a07ba165df3850206d35c4d2472cae299}\label{a11304_a07ba165df3850206d35c4d2472cae299}} 
\hyperlink{a07408}{G\+L\+Disk} $\ast$ {\bfseries disk\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Node for displaying coordinate systems. 

\hyperlink{a11304}{Coordinate\+System\+Node} renders a coordinate system. 

Definition at line 81 of file Coordinate\+System\+Node.\+hh.



\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{a11304_ae578693cfbb8c1b7a4f03961c487fb9f}\label{a11304_ae578693cfbb8c1b7a4f03961c487fb9f}} 
\index{A\+C\+G\+::\+Scene\+Graph\+::\+Coordinate\+System\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Coordinate\+System\+Node}!Coordinate\+System\+Node@{Coordinate\+System\+Node}}
\index{Coordinate\+System\+Node@{Coordinate\+System\+Node}!A\+C\+G\+::\+Scene\+Graph\+::\+Coordinate\+System\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Coordinate\+System\+Node}}
\subsubsection{\texorpdfstring{Coordinate\+System\+Node()}{CoordinateSystemNode()}}
{\footnotesize\ttfamily A\+C\+G\+::\+Scene\+Graph\+::\+Coordinate\+System\+Node\+::\+Coordinate\+System\+Node (\begin{DoxyParamCaption}\item[{\hyperlink{a07748}{Base\+Node} $\ast$}]{\+\_\+parent = {\ttfamily 0},  }\item[{std\+::string}]{\+\_\+name = {\ttfamily \char`\"{}$<$TextNode$>$\char`\"{}} }\end{DoxyParamCaption})}

default constructor 
\begin{DoxyParams}{Parameters}
{\em \+\_\+parent} & Define the parent Node this node gets attached to \\
\hline
{\em \+\_\+name} & Name of this Node \\
\hline
\end{DoxyParams}


Definition at line 68 of file Coordinate\+System\+Node.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Type-\/\+Coordsys/\+Object\+Types/\+Coordsys/Coordinate\+System\+Node.\+hh\item 
Type-\/\+Coordsys/\+Object\+Types/\+Coordsys/Coordinate\+System\+Node.\+cc\end{DoxyCompactItemize}
