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


Node for displaying coordinate systems.  




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

Inheritance diagram for A\+C\+G\+:\+:Scene\+Graph\+:\+:Coordinate\+System\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{a00463}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00463_ae578693cfbb8c1b7a4f03961c487fb9f}{Coordinate\+System\+Node} (\hyperlink{a00327}{Base\+Node} $\ast$\+\_\+parent=0, std\+::string \+\_\+name=\char`\"{}$<$Text\+Node$>$\char`\"{})
\item 
\hypertarget{a00463_a87845cc47c9bd7b4f1beb2ef938e93bf}{\hyperlink{a00463_a87845cc47c9bd7b4f1beb2ef938e93bf}{$\sim$\+Coordinate\+System\+Node} ()}\label{a00463_a87845cc47c9bd7b4f1beb2ef938e93bf}

\begin{DoxyCompactList}\small\item\em destructor \end{DoxyCompactList}\item 
\hypertarget{a00463_a36dda68a16599f04a9f385e4714d2528}{\hyperlink{a00463_a36dda68a16599f04a9f385e4714d2528}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+M\+E} (\hyperlink{a00463}{Coordinate\+System\+Node})}\label{a00463_a36dda68a16599f04a9f385e4714d2528}

\begin{DoxyCompactList}\small\item\em static name of this class \end{DoxyCompactList}\item 
\hypertarget{a00463_ac866df7d645a02dd855d8ca6c543dd32}{\hyperlink{a00510}{A\+C\+G\+::\+Scene\+Graph\+::\+Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a00463_ac866df7d645a02dd855d8ca6c543dd32}{available\+Draw\+Modes} () const }\label{a00463_ac866df7d645a02dd855d8ca6c543dd32}

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

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

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

\begin{DoxyCompactList}\small\item\em draw Coordsys for object picking \end{DoxyCompactList}\item 
\hypertarget{a00463_aa73afecc82a083361102fa37db070bd5}{void \hyperlink{a00463_aa73afecc82a083361102fa37db070bd5}{position} (const \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+pos)}\label{a00463_aa73afecc82a083361102fa37db070bd5}

\begin{DoxyCompactList}\small\item\em set position of the coordsys \end{DoxyCompactList}\item 
\hypertarget{a00463_a46980067c4f9092cf120c9d007651ec5}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a00463_a46980067c4f9092cf120c9d007651ec5}{position} ()}\label{a00463_a46980067c4f9092cf120c9d007651ec5}

\begin{DoxyCompactList}\small\item\em Get current position of the coordinate system;. \end{DoxyCompactList}\item 
\hypertarget{a00463_a591a0310a9c0607c9730a4d412c97f39}{\hyperlink{a03336_a7f5dece6cb3955c9847f5455509f6147}{Matrix4x4d} \hyperlink{a00463_a591a0310a9c0607c9730a4d412c97f39}{rotation} ()}\label{a00463_a591a0310a9c0607c9730a4d412c97f39}

\begin{DoxyCompactList}\small\item\em Get current rotation of the coordinate system;. \end{DoxyCompactList}\item 
\hypertarget{a00463_ad9527ae1dec487819788d7fd80a775e1}{void \hyperlink{a00463_ad9527ae1dec487819788d7fd80a775e1}{rotation} (const \hyperlink{a03336_a7f5dece6cb3955c9847f5455509f6147}{Matrix4x4d} \&\+\_\+rotation)}\label{a00463_ad9527ae1dec487819788d7fd80a775e1}

\begin{DoxyCompactList}\small\item\em Set the rotation of the coordinate system;. \end{DoxyCompactList}\item 
\hypertarget{a00463_a112b6bc874d883f6499854c61d76c2b7}{void \hyperlink{a00463_a112b6bc874d883f6499854c61d76c2b7}{size} (const double \+\_\+size)}\label{a00463_a112b6bc874d883f6499854c61d76c2b7}

\begin{DoxyCompactList}\small\item\em set size of the coordsys ( Size is length of one of the axis ) \end{DoxyCompactList}\item 
\hypertarget{a00463_a4b7c528fe1f72c095c064e8ac1b12192}{double \hyperlink{a00463_a4b7c528fe1f72c095c064e8ac1b12192}{size} ()}\label{a00463_a4b7c528fe1f72c095c064e8ac1b12192}

\begin{DoxyCompactList}\small\item\em Get current size. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00463_ae8e612d3f13711a49a85622387faad57}{void {\bfseries draw\+Coordsys} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state)}\label{a00463_ae8e612d3f13711a49a85622387faad57}

\item 
\hypertarget{a00463_aae0448f2d84ba5f04de1d401ac0a5f9d}{void {\bfseries draw\+Coordsys\+Pick} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state)}\label{a00463_aae0448f2d84ba5f04de1d401ac0a5f9d}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00463_a2c174a2a45b38a8bdb8d537ee0230e35}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a00463_a2c174a2a45b38a8bdb8d537ee0230e35}{position\+\_\+}}\label{a00463_a2c174a2a45b38a8bdb8d537ee0230e35}

\begin{DoxyCompactList}\small\item\em 3d position of the coordsys origin \end{DoxyCompactList}\item 
\hypertarget{a00463_a269c983334145783df01ad7e6cdf9901}{\hyperlink{a03336_a7f5dece6cb3955c9847f5455509f6147}{Matrix4x4d} \hyperlink{a00463_a269c983334145783df01ad7e6cdf9901}{rotation\+\_\+}}\label{a00463_a269c983334145783df01ad7e6cdf9901}

\begin{DoxyCompactList}\small\item\em Orientation of coordsys. \end{DoxyCompactList}\item 
\hypertarget{a00463_a2f1a1137f13ddf0e6cab2deecf53740a}{double \hyperlink{a00463_a2f1a1137f13ddf0e6cab2deecf53740a}{coordsys\+Size\+\_\+}}\label{a00463_a2f1a1137f13ddf0e6cab2deecf53740a}

\begin{DoxyCompactList}\small\item\em Size of the coordsys. \end{DoxyCompactList}\item 
\hypertarget{a00463_abc941b1cdb6a230bb7fc08c3add2fb22}{int {\bfseries slices\+\_\+}}\label{a00463_abc941b1cdb6a230bb7fc08c3add2fb22}

\item 
\hypertarget{a00463_a4dcf0adcf3f62cd0be503685f85650fb}{int {\bfseries stacks\+\_\+}}\label{a00463_a4dcf0adcf3f62cd0be503685f85650fb}

\item 
\hypertarget{a00463_a6fb876a0a81b9212180bfd5e9db7e349}{int {\bfseries loops\+\_\+}}\label{a00463_a6fb876a0a81b9212180bfd5e9db7e349}

\item 
\hypertarget{a00463_a0dd475ae97345712f98d5d082ef2a1a2}{\hyperlink{a00641}{G\+L\+Sphere} $\ast$ {\bfseries sphere\+\_\+}}\label{a00463_a0dd475ae97345712f98d5d082ef2a1a2}

\item 
\hypertarget{a00463_a1b2028a2f9f4423288866562e605aaf1}{\hyperlink{a00632}{G\+L\+Cone} $\ast$ {\bfseries cone\+\_\+}}\label{a00463_a1b2028a2f9f4423288866562e605aaf1}

\item 
\hypertarget{a00463_aa5a15fa9396cbd8e3b842e63e3a36da8}{\hyperlink{a00633}{G\+L\+Cylinder} $\ast$ {\bfseries cylinder\+\_\+}}\label{a00463_aa5a15fa9396cbd8e3b842e63e3a36da8}

\item 
\hypertarget{a00463_a07ba165df3850206d35c4d2472cae299}{\hyperlink{a00634}{G\+L\+Disk} $\ast$ {\bfseries disk\+\_\+}}\label{a00463_a07ba165df3850206d35c4d2472cae299}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


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

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

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



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00463_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[{Coordinate\+System\+Node}]{\setlength{\rightskip}{0pt plus 5cm}A\+C\+G\+::\+Scene\+Graph\+::\+Coordinate\+System\+Node\+::\+Coordinate\+System\+Node (
\begin{DoxyParamCaption}
\item[{{\bf Base\+Node} $\ast$}]{\+\_\+parent = {\ttfamily 0}, }
\item[{std\+::string}]{\+\_\+name = {\ttfamily \char`\"{}$<$TextNode$>$\char`\"{}}}
\end{DoxyParamCaption}
)}}\label{a00463_ae578693cfbb8c1b7a4f03961c487fb9f}
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 74 of file Coordinate\+System\+Node.\+cc.



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