\hypertarget{a01321}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:Translation\+Manipulator\+Node Class Reference}
\label{a01321}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
}


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

Inheritance diagram for A\+C\+G\+:\+:Scene\+Graph\+:\+:Translation\+Manipulator\+Node\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.000000cm]{a01321}
\end{center}
\end{figure}
\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{a00530}{Element}
\end{DoxyCompactItemize}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01321_a1c7bbbadae1931cbf8850a254614bdd3}{enum {\bfseries Auto\+Size\+Mode} \{ {\bfseries Never}, 
{\bfseries Once}, 
{\bfseries Always}
 \}}\label{a01321_a1c7bbbadae1931cbf8850a254614bdd3}

\item 
enum \hyperlink{a01321_afc05aaad10d1b837793fbe59c3b36da9}{Manipulator\+Mode} \{ \\*
{\bfseries Rotation}, 
{\bfseries Translation\+Rotation}, 
{\bfseries Local\+Rotation}, 
{\bfseries Resize}, 
\\*
{\bfseries Place}
 \}
\begin{DoxyCompactList}\small\item\em enum to define the manipulator mode \end{DoxyCompactList}\item 
enum \hyperlink{a01321_a6044fabadd40ddcc3d6dedad3f32f0f2}{Active\+Rotations} \{ {\bfseries X\+\_\+\+A\+X\+I\+S} = 1, 
{\bfseries Y\+\_\+\+A\+X\+I\+S} = 1 $<$$<$ 1, 
{\bfseries Z\+\_\+\+A\+X\+I\+S} = 1 $<$$<$ 2, 
{\bfseries A\+L\+L\+\_\+\+A\+X\+I\+S} = X\+\_\+\+A\+X\+I\+S $\vert$ Y\+\_\+\+A\+X\+I\+S $\vert$ Z\+\_\+\+A\+X\+I\+S
 \}
\begin{DoxyCompactList}\small\item\em enum to define which rotation axis should be enabled \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01321_add7a3cb6e695ac4dd0ddce93c35119d0}{\hyperlink{a01321_add7a3cb6e695ac4dd0ddce93c35119d0}{Translation\+Manipulator\+Node} (\hyperlink{a00327}{Base\+Node} $\ast$\+\_\+parent=0, const std\+::string \&\+\_\+name=\char`\"{}$<$Translation\+Translation\+Manipulator\+Node$>$\char`\"{})}\label{a01321_add7a3cb6e695ac4dd0ddce93c35119d0}

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hypertarget{a01321_a6f2be5319ee61c16f1706ead50c19bfe}{\hyperlink{a01321_a6f2be5319ee61c16f1706ead50c19bfe}{$\sim$\+Translation\+Manipulator\+Node} ()}\label{a01321_a6f2be5319ee61c16f1706ead50c19bfe}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a01321_a4edce880b1df966a4acf3b25d4f23220}{\hyperlink{a01321_a4edce880b1df966a4acf3b25d4f23220}{A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+M\+E} (\hyperlink{a01321}{Translation\+Manipulator\+Node})}\label{a01321_a4edce880b1df966a4acf3b25d4f23220}

\begin{DoxyCompactList}\small\item\em class name \end{DoxyCompactList}\item 
virtual void \hyperlink{a01321_a2efccfa938d54db24c82b6d370637065}{set\+Identity} ()
\item 
\hypertarget{a01321_a3170222a87b8162c2e9523a0ee1d6f76}{void \hyperlink{a01321_a3170222a87b8162c2e9523a0ee1d6f76}{set\+\_\+draw\+\_\+cylinder} (bool \+\_\+b)}\label{a01321_a3170222a87b8162c2e9523a0ee1d6f76}

\begin{DoxyCompactList}\small\item\em set draw\+\_\+cylinder\+\_\+ \end{DoxyCompactList}\item 
\hypertarget{a01321_afe7c8c399de990df54ab3947012ffa49}{bool \hyperlink{a01321_afe7c8c399de990df54ab3947012ffa49}{draw\+\_\+manipulator} () const }\label{a01321_afe7c8c399de990df54ab3947012ffa49}

\begin{DoxyCompactList}\small\item\em get draw\+Cylinder \end{DoxyCompactList}\item 
\hypertarget{a01321_aea301161af317fd746953b97f2d509eb}{void \hyperlink{a01321_aea301161af317fd746953b97f2d509eb}{set\+\_\+direction} (const \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+direction\+X, const \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+direction\+Y)}\label{a01321_aea301161af317fd746953b97f2d509eb}

\begin{DoxyCompactList}\small\item\em Set direction in world coordinates. \end{DoxyCompactList}\item 
\hypertarget{a01321_a22e5141c8df175098d406f16f2363e53}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a01321_a22e5141c8df175098d406f16f2363e53}{direction\+X} () const }\label{a01321_a22e5141c8df175098d406f16f2363e53}

\begin{DoxyCompactList}\small\item\em Get current direction of x-\/\+Axis in world coordinates. \end{DoxyCompactList}\item 
\hypertarget{a01321_a3e22989574e8e5598fe06ecd92754f9e}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a01321_a3e22989574e8e5598fe06ecd92754f9e}{direction\+Y} () const }\label{a01321_a3e22989574e8e5598fe06ecd92754f9e}

\begin{DoxyCompactList}\small\item\em Get current direction of y-\/\+Axis in world coordinates. \end{DoxyCompactList}\item 
\hypertarget{a01321_ae0eb9446390bec0168afe0a31915e1a2}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \hyperlink{a01321_ae0eb9446390bec0168afe0a31915e1a2}{direction\+Z} () const }\label{a01321_ae0eb9446390bec0168afe0a31915e1a2}

\begin{DoxyCompactList}\small\item\em Get current direction of z-\/\+Axis in world coordinates. \end{DoxyCompactList}\item 
\hypertarget{a01321_ab7758e411c1aae962338b9c0b22f39fb}{void \hyperlink{a01321_ab7758e411c1aae962338b9c0b22f39fb}{set\+\_\+size} (double \+\_\+size)}\label{a01321_ab7758e411c1aae962338b9c0b22f39fb}

\begin{DoxyCompactList}\small\item\em set cylindersize (height + radius). \+\_\+size parameter has to be greater than zero \end{DoxyCompactList}\item 
\hypertarget{a01321_a4cfe42ce9b87500d728628e8568682a0}{double \hyperlink{a01321_a4cfe42ce9b87500d728628e8568682a0}{size} () const }\label{a01321_a4cfe42ce9b87500d728628e8568682a0}

\begin{DoxyCompactList}\small\item\em get cylindersize \end{DoxyCompactList}\item 
\hypertarget{a01321_ac4b329dafd597b6096611df8e134d801}{void \hyperlink{a01321_ac4b329dafd597b6096611df8e134d801}{set\+\_\+autosize} (Auto\+Size\+Mode \+\_\+mode)}\label{a01321_ac4b329dafd597b6096611df8e134d801}

\begin{DoxyCompactList}\small\item\em set auto size mode \end{DoxyCompactList}\item 
\hypertarget{a01321_ab5aa71d9d4d7e8240f9df31a70078860}{Auto\+Size\+Mode \hyperlink{a01321_ab5aa71d9d4d7e8240f9df31a70078860}{autosize} () const }\label{a01321_ab5aa71d9d4d7e8240f9df31a70078860}

\begin{DoxyCompactList}\small\item\em get autosize mode \end{DoxyCompactList}\item 
void \hyperlink{a01321_a117b1372a8b5b25a445f7f5dd15d5e72}{enable\+\_\+rotations} (\hyperlink{a01321_a6044fabadd40ddcc3d6dedad3f32f0f2}{Active\+Rotations} \+\_\+active)
\begin{DoxyCompactList}\small\item\em Enable or disable manipulator handles for specific orientations. \end{DoxyCompactList}\item 
\hyperlink{a01321_a6044fabadd40ddcc3d6dedad3f32f0f2}{Active\+Rotations} \hyperlink{a01321_a34079bc38303b5c18f4f35512c215977}{enabled\+\_\+rotations} () const 
\begin{DoxyCompactList}\small\item\em Get the current setting, which rotation handles are active. \end{DoxyCompactList}\item 
\hypertarget{a01321_aa7e9acebb34a9ae9648cd501c79434de}{void {\bfseries rotate} (double \+\_\+angle, \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \+\_\+axis)}\label{a01321_aa7e9acebb34a9ae9648cd501c79434de}

\item 
\hypertarget{a01321_a45a9c4480dc5b2b61ba18d8c9f66220c}{void \hyperlink{a01321_a45a9c4480dc5b2b61ba18d8c9f66220c}{draw} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, const \hyperlink{a00509}{Draw\+Modes\+::\+Draw\+Mode} \&\+\_\+draw\+Mode)}\label{a01321_a45a9c4480dc5b2b61ba18d8c9f66220c}

\begin{DoxyCompactList}\small\item\em draw the cylinder (if enabled) \end{DoxyCompactList}\item 
\hypertarget{a01321_a20d979d7521c69780fe7a48e511e6633}{void \hyperlink{a01321_a20d979d7521c69780fe7a48e511e6633}{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{a01321_a20d979d7521c69780fe7a48e511e6633}

\begin{DoxyCompactList}\small\item\em create renderobjects for shaderpipeline renderer \end{DoxyCompactList}\item 
\hypertarget{a01321_a65d16c30dee01b66d39ec3bf99a13e94}{\hyperlink{a03336_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \hyperlink{a01321_a65d16c30dee01b66d39ec3bf99a13e94}{compute\+World\+Matrix} ()}\label{a01321_a65d16c30dee01b66d39ec3bf99a13e94}

\begin{DoxyCompactList}\small\item\em computes world matrix, transforms from model to world space \end{DoxyCompactList}\item 
void \hyperlink{a01321_a6cdbe40b2bb3aa8ecfe6e0ef0b60a019}{pick} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, \hyperlink{a03343_af5fad41dadeca314c2077f897377dbd0}{Pick\+Target} \+\_\+target)
\begin{DoxyCompactList}\small\item\em leave node \end{DoxyCompactList}\item 
\hypertarget{a01321_a0584e41bca9960a264ffddf8b8fd7ea4}{virtual void \hyperlink{a01321_a0584e41bca9960a264ffddf8b8fd7ea4}{mouse\+Event} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, Q\+Mouse\+Event $\ast$\+\_\+event)}\label{a01321_a0584e41bca9960a264ffddf8b8fd7ea4}

\begin{DoxyCompactList}\small\item\em get mouse events \end{DoxyCompactList}\item 
\hypertarget{a01321_a90a85206e4808e374a936cedacf11672}{void \hyperlink{a01321_a90a85206e4808e374a936cedacf11672}{bounding\+Box} (\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+bb\+Min, \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+bb\+Max)}\label{a01321_a90a85206e4808e374a936cedacf11672}

\begin{DoxyCompactList}\small\item\em bounding box of node \end{DoxyCompactList}\item 
\hypertarget{a01321_a295abb2110b4f69d0b4cfc487fc2b668}{void \hyperlink{a01321_a295abb2110b4f69d0b4cfc487fc2b668}{set\+Mode} (\hyperlink{a01321_afc05aaad10d1b837793fbe59c3b36da9}{Manipulator\+Mode} \+\_\+mode)}\label{a01321_a295abb2110b4f69d0b4cfc487fc2b668}

\begin{DoxyCompactList}\small\item\em set current operation mode \end{DoxyCompactList}\item 
\hypertarget{a01321_ad4c0753b3a26172299de5507826720f0}{\hyperlink{a01321_afc05aaad10d1b837793fbe59c3b36da9}{Manipulator\+Mode} \hyperlink{a01321_ad4c0753b3a26172299de5507826720f0}{get\+Mode} () const }\label{a01321_ad4c0753b3a26172299de5507826720f0}

\begin{DoxyCompactList}\small\item\em get current mode \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01321_a0c1008268819ce144ba42643bba6abe4}{bool \hyperlink{a01321_a0c1008268819ce144ba42643bba6abe4}{touched\+\_\+}}\label{a01321_a0c1008268819ce144ba42643bba6abe4}

\begin{DoxyCompactList}\small\item\em stores if this manipulator was used in order to avoid emitting manipulator\+Moved unnecessarily \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Types}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01321_a4511493dd74ffeb5577c37800b03aa3b}{enum {\bfseries State\+Updates} \{ {\bfseries None}, 
{\bfseries Over}, 
{\bfseries Click}
 \}}\label{a01321_a4511493dd74ffeb5577c37800b03aa3b}

\item 
\hypertarget{a01321_a86e9f718554e3d862a512143966fea0f}{enum {\bfseries Elements} \{ \\*
{\bfseries Origin} = 0, 
{\bfseries X\+Top}, 
{\bfseries Y\+Top}, 
{\bfseries Z\+Top}, 
\\*
{\bfseries X\+Axis}, 
{\bfseries Y\+Axis}, 
{\bfseries Z\+Axis}, 
{\bfseries X\+Ring}, 
\\*
{\bfseries Y\+Ring}, 
{\bfseries Z\+Ring}, 
{\bfseries Num\+Elements}
 \}}\label{a01321_a86e9f718554e3d862a512143966fea0f}

\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01321_aa030bc7f672fecfcb44d36c11bb6d960}{void \hyperlink{a01321_aa030bc7f672fecfcb44d36c11bb6d960}{update\+\_\+manipulator\+\_\+system} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state)}\label{a01321_aa030bc7f672fecfcb44d36c11bb6d960}

\begin{DoxyCompactList}\small\item\em set the current state to follow manipulator transformation \end{DoxyCompactList}\item 
\hypertarget{a01321_a96f565c8e30fc913d0218b51b6e4f7a2}{void \hyperlink{a01321_a96f565c8e30fc913d0218b51b6e4f7a2}{update\+\_\+rotation} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state)}\label{a01321_a96f565c8e30fc913d0218b51b6e4f7a2}

\begin{DoxyCompactList}\small\item\em update the internal rotation matrix ( internal rotation may be changed without modifiing children of this node ) \end{DoxyCompactList}\item 
\hypertarget{a01321_adf933fc8865a28bd8364e3a2223cbdbe}{bool \hyperlink{a01321_adf933fc8865a28bd8364e3a2223cbdbe}{hit\+Sphere} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, const \hyperlink{a03336_a72710dc6f55cd56f968f22bca0178e8c}{Vec2i} \&\+\_\+v2)}\label{a01321_adf933fc8865a28bd8364e3a2223cbdbe}

\begin{DoxyCompactList}\small\item\em Determine whether the origin sphere has been hit. \end{DoxyCompactList}\item 
\hypertarget{a01321_a06820564f176ed96f10e7fa443d8bae6}{bool \hyperlink{a01321_a06820564f176ed96f10e7fa443d8bae6}{hit\+Outer\+Sphere} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, const \hyperlink{a03336_a72710dc6f55cd56f968f22bca0178e8c}{Vec2i} \&\+\_\+v2)}\label{a01321_a06820564f176ed96f10e7fa443d8bae6}

\begin{DoxyCompactList}\small\item\em Determine whether the outer sphere has been hit by the cursor. \end{DoxyCompactList}\item 
\hypertarget{a01321_add56573970707e3a556c9d9fe10d9c2f}{void {\bfseries draw\+Manipulator} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, bool \+\_\+active)}\label{a01321_add56573970707e3a556c9d9fe10d9c2f}

\item 
\hypertarget{a01321_aaa58b61d059ff1c7b4d086cf7cc210f7}{void {\bfseries add\+Manipulator\+To\+Renderer} (\hyperlink{a00738}{I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{a01110}{Render\+Object} $\ast$\+\_\+base\+R\+O, bool \+\_\+active)}\label{a01321_aaa58b61d059ff1c7b4d086cf7cc210f7}

\item 
\hypertarget{a01321_a72e8c9416dd59bd7f5bd7950ef7cd6ec}{void {\bfseries add\+Axis\+To\+Renderer} (\hyperlink{a00738}{I\+Renderer} $\ast$\+\_\+renderer, \hyperlink{a01110}{Render\+Object} $\ast$\+\_\+base\+R\+O, bool \+\_\+active, int \+\_\+axis)}\label{a01321_a72e8c9416dd59bd7f5bd7950ef7cd6ec}

\item 
bool \hyperlink{a01321_a0b65b9a158b5ff614c60e5292237c26e}{map\+To\+Cylinder} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, const \hyperlink{a03336_a72710dc6f55cd56f968f22bca0178e8c}{Vec2i} \&\+\_\+v2, State\+Updates \+\_\+update\+States=None)
\item 
bool \hyperlink{a01321_abecd9ecbbee99af00461ca12fbb173d5}{map\+To\+Cylinder\+Top} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, const \hyperlink{a03336_a72710dc6f55cd56f968f22bca0178e8c}{Vec2i} \&\+\_\+v2, State\+Updates \+\_\+update\+States=None)
\item 
bool \hyperlink{a01321_a3bf41ed93ef796d71b14eb7f5938018b}{map\+To\+Sphere} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, const \hyperlink{a03336_a72710dc6f55cd56f968f22bca0178e8c}{Vec2i} \&\+\_\+v2, \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+v3, State\+Updates \+\_\+update\+States=None)
\item 
\hypertarget{a01321_a170e18a52bb30409803396b51a36b979}{void {\bfseries update\+Target\+Colors} ()}\label{a01321_a170e18a52bb30409803396b51a36b979}

\item 
\hypertarget{a01321_aad25ff545b9bd068cb89050ae6ae954a}{bool {\bfseries update\+Current\+Colors} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state)}\label{a01321_aad25ff545b9bd068cb89050ae6ae954a}

\item 
\hypertarget{a01321_ad9ee7b49a3a33e4a597c19581d9818dd}{double {\bfseries get\+\_\+screen\+\_\+length} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state, \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} \&\+\_\+point) const }\label{a01321_ad9ee7b49a3a33e4a597c19581d9818dd}

\item 
\hypertarget{a01321_ab549c7257d27a2f5e21f74a3b4180da0}{void {\bfseries update\+Size} (\hyperlink{a00643}{G\+L\+State} \&\+\_\+state)}\label{a01321_ab549c7257d27a2f5e21f74a3b4180da0}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a01321_a3d88989b62f53942515fc4798f7fa2f2}{bool {\bfseries draw\+\_\+manipulator\+\_\+}}\label{a01321_a3d88989b62f53942515fc4798f7fa2f2}

\item 
\hypertarget{a01321_a685c4d233e7eb072dd4f870e83ee7fb9}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries dir\+X\+\_\+}}\label{a01321_a685c4d233e7eb072dd4f870e83ee7fb9}

\item 
\hypertarget{a01321_aced74cd05c05d53215790bcf62900bb6}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries dir\+Y\+\_\+}}\label{a01321_aced74cd05c05d53215790bcf62900bb6}

\item 
\hypertarget{a01321_aacfe2d9a4eeb674c2ab7f72b697de23a}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries dir\+Z\+\_\+}}\label{a01321_aacfe2d9a4eeb674c2ab7f72b697de23a}

\item 
\hypertarget{a01321_a7442834ae4ecc02d677694d6279279ff}{\hyperlink{a00632}{A\+C\+G\+::\+G\+L\+Cone} $\ast$ {\bfseries axis\+Bottom\+\_\+}}\label{a01321_a7442834ae4ecc02d677694d6279279ff}

\item 
\hypertarget{a01321_a10c668cf3ef72d69636be836dfdc6721}{\hyperlink{a00632}{A\+C\+G\+::\+G\+L\+Cone} $\ast$ {\bfseries axis\+Center\+\_\+}}\label{a01321_a10c668cf3ef72d69636be836dfdc6721}

\item 
\hypertarget{a01321_a9c42f587784ff8f95d58bc55f60e422b}{\hyperlink{a00632}{A\+C\+G\+::\+G\+L\+Cone} $\ast$ {\bfseries axis\+Top\+\_\+}}\label{a01321_a9c42f587784ff8f95d58bc55f60e422b}

\item 
\hypertarget{a01321_a4a951e3a573af41dc9d96169b15728fd}{\hyperlink{a00634}{A\+C\+G\+::\+G\+L\+Disk} $\ast$ {\bfseries circle\+\_\+}}\label{a01321_a4a951e3a573af41dc9d96169b15728fd}

\item 
\hypertarget{a01321_afa45656ccee6c3a0a2db5b8e0a53b497}{\hyperlink{a00641}{A\+C\+G\+::\+G\+L\+Sphere} $\ast$ {\bfseries sphere\+\_\+}}\label{a01321_afa45656ccee6c3a0a2db5b8e0a53b497}

\item 
\hypertarget{a01321_aac39072a0a466fdeec341ff5d370f9f4}{double {\bfseries manipulator\+\_\+radius\+\_\+}}\label{a01321_aac39072a0a466fdeec341ff5d370f9f4}

\item 
\hypertarget{a01321_af26d733bca92ada9770372d6d7a75d9e}{double {\bfseries manipulator\+\_\+height\+\_\+}}\label{a01321_af26d733bca92ada9770372d6d7a75d9e}

\item 
\hypertarget{a01321_ab8a630add46d11e862eea31c998bd43b}{double {\bfseries set\+\_\+manipulator\+\_\+radius\+\_\+}}\label{a01321_ab8a630add46d11e862eea31c998bd43b}

\item 
\hypertarget{a01321_abfd6b07333d55655bcd66c51feb0caed}{double {\bfseries set\+\_\+manipulator\+\_\+height\+\_\+}}\label{a01321_abfd6b07333d55655bcd66c51feb0caed}

\item 
\hypertarget{a01321_a84791d5cf912a466361637305f9501e6}{int {\bfseries manipulator\+\_\+slices\+\_\+}}\label{a01321_a84791d5cf912a466361637305f9501e6}

\item 
\hypertarget{a01321_a31c25bf2e1daf6753df4f4d23c28fee5}{int {\bfseries manipulator\+\_\+stacks\+\_\+}}\label{a01321_a31c25bf2e1daf6753df4f4d23c28fee5}

\item 
\hypertarget{a01321_adece76fde49a15d0b46fe03af3f4a538}{bool {\bfseries any\+\_\+axis\+\_\+clicked\+\_\+}}\label{a01321_adece76fde49a15d0b46fe03af3f4a538}

\item 
\hypertarget{a01321_ae48ec501f58cb7070bd5502c613e18da}{bool {\bfseries any\+\_\+top\+\_\+clicked\+\_\+}}\label{a01321_ae48ec501f58cb7070bd5502c613e18da}

\item 
\hypertarget{a01321_af5b8aeaa736191d6e4a67df6f812018c}{bool {\bfseries outer\+\_\+ring\+\_\+clicked\+\_\+}}\label{a01321_af5b8aeaa736191d6e4a67df6f812018c}

\item 
\hypertarget{a01321_a8f0492ac818a76a32406ec7cfc9ee9e9}{bool {\bfseries any\+\_\+axis\+\_\+over\+\_\+}}\label{a01321_a8f0492ac818a76a32406ec7cfc9ee9e9}

\item 
\hypertarget{a01321_ac22ba8e245c65666c84544d7317504bb}{bool {\bfseries any\+\_\+top\+\_\+over\+\_\+}}\label{a01321_ac22ba8e245c65666c84544d7317504bb}

\item 
\hypertarget{a01321_a658f0809dd88ec894b44f431092774a7}{bool {\bfseries outer\+\_\+ring\+\_\+over\+\_\+}}\label{a01321_a658f0809dd88ec894b44f431092774a7}

\item 
\hypertarget{a01321_a4808b66600326a6a8048827c186b0919}{\hyperlink{a00530}{Element} {\bfseries element\+\_\+} \mbox{[}Num\+Elements\mbox{]}}\label{a01321_a4808b66600326a6a8048827c186b0919}

\item 
\hypertarget{a01321_ab84080938d297ad1b28f789051dea8be}{float {\bfseries resize\+\_\+current\+\_\+}}\label{a01321_ab84080938d297ad1b28f789051dea8be}

\item 
\hypertarget{a01321_a8038d53f32c7bfbd9089477b8808d4fa}{\hyperlink{a01321_afc05aaad10d1b837793fbe59c3b36da9}{Manipulator\+Mode} {\bfseries mode\+\_\+}}\label{a01321_a8038d53f32c7bfbd9089477b8808d4fa}

\item 
\hypertarget{a01321_a5dc56d0505a70081c45d44280453cc66}{bool {\bfseries ignore\+Time\+\_\+}}\label{a01321_a5dc56d0505a70081c45d44280453cc66}

\item 
\hypertarget{a01321_aed18198df1cbe76f790ae69dcf91dc6c}{\hyperlink{a03336_a72710dc6f55cd56f968f22bca0178e8c}{Vec2i} {\bfseries old\+Point2\+D\+\_\+}}\label{a01321_aed18198df1cbe76f790ae69dcf91dc6c}

\item 
\hypertarget{a01321_a4435543ccca60aa5a881a7449560b67f}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries dragging\+Origin3\+D\+\_\+}}\label{a01321_a4435543ccca60aa5a881a7449560b67f}

\item 
\hypertarget{a01321_ade60af0032e6721044519b154c21272b}{bool {\bfseries dragging\+\_\+}}\label{a01321_ade60af0032e6721044519b154c21272b}

\item 
\hypertarget{a01321_a0649b4888a0bc2879c192cee8b23025b}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{Vec3d} {\bfseries current\+Scale\+\_\+}}\label{a01321_a0649b4888a0bc2879c192cee8b23025b}

\item 
\hypertarget{a01321_a488add9cf3bdd3c3d395df38e0c134e8}{\hyperlink{a03336_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} {\bfseries local\+Transformation\+\_\+}}\label{a01321_a488add9cf3bdd3c3d395df38e0c134e8}

\item 
\hypertarget{a01321_ac9af6dcbd3d3a79a01a16fde07f12835}{Auto\+Size\+Mode {\bfseries auto\+\_\+size\+\_\+}}\label{a01321_ac9af6dcbd3d3a79a01a16fde07f12835}

\item 
\hypertarget{a01321_a046550bfff825051993e548bd3ae8639}{double {\bfseries auto\+\_\+size\+\_\+length\+\_\+}}\label{a01321_a046550bfff825051993e548bd3ae8639}

\item 
\hypertarget{a01321_ab1bd851808b9795aad8b5abd71a6b2c6}{\hyperlink{a01321_a6044fabadd40ddcc3d6dedad3f32f0f2}{Active\+Rotations} {\bfseries active\+Rotations\+\_\+}}\label{a01321_ab1bd851808b9795aad8b5abd71a6b2c6}

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


\subsection{Detailed Description}
Use a manipulator to translate and scale the children of this node. 

Definition at line 90 of file Translation\+Manipulator\+Node.\+hh.



\subsection{Member Enumeration Documentation}
\hypertarget{a01321_a6044fabadd40ddcc3d6dedad3f32f0f2}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!Active\+Rotations@{Active\+Rotations}}
\index{Active\+Rotations@{Active\+Rotations}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{Active\+Rotations}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::\+Active\+Rotations}}}\label{a01321_a6044fabadd40ddcc3d6dedad3f32f0f2}


enum to define which rotation axis should be enabled 

This enum defines which rotation axis rings will be visible and available for picking. The modes can be combined. 

Definition at line 121 of file Translation\+Manipulator\+Node.\+hh.

\hypertarget{a01321_afc05aaad10d1b837793fbe59c3b36da9}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!Manipulator\+Mode@{Manipulator\+Mode}}
\index{Manipulator\+Mode@{Manipulator\+Mode}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{Manipulator\+Mode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::\+Manipulator\+Mode}}}\label{a01321_afc05aaad10d1b837793fbe59c3b36da9}


enum to define the manipulator mode 

This enum defines several modes of the manipulator.
\begin{DoxyItemize}
\item Translation\+Rotation\+: Full featured mode, rotations and translations will be possible
\item Local\+Rotation\+: The manipulator can be rotated, but no transformation is applied to the child node (use to re-\/align manipulator)
\item Resize\+: No rings, no rotation. The manipulator scales along each axis seperatly. Center sphere scales uniformly in all directions
\item Place\+: -- 
\end{DoxyItemize}

Definition at line 108 of file Translation\+Manipulator\+Node.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a01321_a117b1372a8b5b25a445f7f5dd15d5e72}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!enable\+\_\+rotations@{enable\+\_\+rotations}}
\index{enable\+\_\+rotations@{enable\+\_\+rotations}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{enable\+\_\+rotations}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::enable\+\_\+rotations (
\begin{DoxyParamCaption}
\item[{{\bf Active\+Rotations}}]{\+\_\+active}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{a01321_a117b1372a8b5b25a445f7f5dd15d5e72}


Enable or disable manipulator handles for specific orientations. 

This enum defines which rotation axis rings will be visible and available for picking. The modes can be combined.


\begin{DoxyParams}{Parameters}
{\em \+\_\+active} & The activated axis \\
\hline
\end{DoxyParams}


Definition at line 188 of file Translation\+Manipulator\+Node.\+hh.

\hypertarget{a01321_a34079bc38303b5c18f4f35512c215977}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!enabled\+\_\+rotations@{enabled\+\_\+rotations}}
\index{enabled\+\_\+rotations@{enabled\+\_\+rotations}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{enabled\+\_\+rotations}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Active\+Rotations} A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::enabled\+\_\+rotations (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{a01321_a34079bc38303b5c18f4f35512c215977}


Get the current setting, which rotation handles are active. 

\begin{DoxyReturn}{Returns}
\+\_\+active The activated axis 
\end{DoxyReturn}


Definition at line 197 of file Translation\+Manipulator\+Node.\+hh.

\hypertarget{a01321_a0b65b9a158b5ff614c60e5292237c26e}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!map\+To\+Cylinder@{map\+To\+Cylinder}}
\index{map\+To\+Cylinder@{map\+To\+Cylinder}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{map\+To\+Cylinder}]{\setlength{\rightskip}{0pt plus 5cm}bool A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::map\+To\+Cylinder (
\begin{DoxyParamCaption}
\item[{{\bf G\+L\+State} \&}]{\+\_\+state, }
\item[{const {\bf Vec2i} \&}]{\+\_\+v1, }
\item[{State\+Updates}]{\+\_\+update\+States = {\ttfamily None}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a01321_a0b65b9a158b5ff614c60e5292237c26e}
If ray from mouse pointer intersects with one of the three axes? 

Definition at line 1651 of file Translation\+Manipulator\+Node.\+cc.

\hypertarget{a01321_abecd9ecbbee99af00461ca12fbb173d5}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!map\+To\+Cylinder\+Top@{map\+To\+Cylinder\+Top}}
\index{map\+To\+Cylinder\+Top@{map\+To\+Cylinder\+Top}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{map\+To\+Cylinder\+Top}]{\setlength{\rightskip}{0pt plus 5cm}bool A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::map\+To\+Cylinder\+Top (
\begin{DoxyParamCaption}
\item[{{\bf G\+L\+State} \&}]{\+\_\+state, }
\item[{const {\bf Vec2i} \&}]{\+\_\+v1, }
\item[{State\+Updates}]{\+\_\+update\+States = {\ttfamily None}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a01321_abecd9ecbbee99af00461ca12fbb173d5}
If ray from mouse pointer intersects with one of the three tops? 

Definition at line 1762 of file Translation\+Manipulator\+Node.\+cc.

\hypertarget{a01321_a3bf41ed93ef796d71b14eb7f5938018b}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!map\+To\+Sphere@{map\+To\+Sphere}}
\index{map\+To\+Sphere@{map\+To\+Sphere}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{map\+To\+Sphere}]{\setlength{\rightskip}{0pt plus 5cm}bool A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::map\+To\+Sphere (
\begin{DoxyParamCaption}
\item[{{\bf G\+L\+State} \&}]{\+\_\+state, }
\item[{const {\bf Vec2i} \&}]{\+\_\+v2, }
\item[{{\bf Vec3d} \&}]{\+\_\+v3, }
\item[{State\+Updates}]{\+\_\+update\+States = {\ttfamily None}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{a01321_a3bf41ed93ef796d71b14eb7f5938018b}
Determine whether one of the outer rings has been hit. Return true if intersection with either of the rings occurs. \+\_\+v3 contains the point in world coordinates 

Definition at line 1878 of file Translation\+Manipulator\+Node.\+cc.

\hypertarget{a01321_a6cdbe40b2bb3aa8ecfe6e0ef0b60a019}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!pick@{pick}}
\index{pick@{pick}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{pick}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::pick (
\begin{DoxyParamCaption}
\item[{{\bf G\+L\+State} \&}]{\+\_\+state, }
\item[{{\bf Pick\+Target}}]{\+\_\+target}
\end{DoxyParamCaption}
)}}\label{a01321_a6cdbe40b2bb3aa8ecfe6e0ef0b60a019}


leave node 

picking 

Definition at line 1988 of file Translation\+Manipulator\+Node.\+cc.

\hypertarget{a01321_a2efccfa938d54db24c82b6d370637065}{\index{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}!set\+Identity@{set\+Identity}}
\index{set\+Identity@{set\+Identity}!A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node}}
\subsubsection[{set\+Identity}]{\setlength{\rightskip}{0pt plus 5cm}void A\+C\+G\+::\+Scene\+Graph\+::\+Translation\+Manipulator\+Node\+::set\+Identity (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{a01321_a2efccfa938d54db24c82b6d370637065}
set the current transformation to the identity transformation, i.\+e. change the \hyperlink{a01320_ac2fd8f1d69f78764a4aa310f767caa2a}{center()} to the transfomed center and \hyperlink{a01320_a29d9dbfbaaf43140b9fb1eb121246af3}{load\+Identity()}. 

Reimplemented from \hyperlink{a01320_a03c77db3e04b239e622a4bc8dfb19c5e}{A\+C\+G\+::\+Scene\+Graph\+::\+Transform\+Node}.



Definition at line 217 of file Translation\+Manipulator\+Node.\+cc.



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