\hypertarget{a00385}{\section{A\+C\+G\+:\+:Scene\+Graph\+:\+:Camera\+Node Class Reference}
\label{a00385}\index{A\+C\+G\+::\+Scene\+Graph\+::\+Camera\+Node@{A\+C\+G\+::\+Scene\+Graph\+::\+Camera\+Node}}
}


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

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

\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item 
\hypertarget{a00385_ab9678b9ed2eade0ea352adab26d331a0}{virtual \hyperlink{a00385_ab9678b9ed2eade0ea352adab26d331a0}{$\sim$\+Camera\+Node} ()}\label{a00385_ab9678b9ed2eade0ea352adab26d331a0}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{a00385_ac95333fa9d4e8e9bb0191ef67b54100c}{{\bfseries A\+C\+G\+\_\+\+C\+L\+A\+S\+S\+N\+A\+M\+E} (\hyperlink{a00385}{Camera\+Node})}\label{a00385_ac95333fa9d4e8e9bb0191ef67b54100c}

\item 
\hypertarget{a00385_adb04a6640c402673169dfeadf087d9df}{\hyperlink{a00509}{Draw\+Modes\+::\+Draw\+Mode} \hyperlink{a00385_adb04a6640c402673169dfeadf087d9df}{available\+Draw\+Modes} () const }\label{a00385_adb04a6640c402673169dfeadf087d9df}

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

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

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

\begin{DoxyCompactList}\small\item\em picking \end{DoxyCompactList}\item 
\hypertarget{a00385_a987ec2ddebc86b75a046e27a1b0449f4}{void \hyperlink{a00385_a987ec2ddebc86b75a046e27a1b0449f4}{set\+Model\+View} (\hyperlink{a00637}{A\+C\+G\+::\+G\+L\+Matrixd} \+\_\+model\+View)}\label{a00385_a987ec2ddebc86b75a046e27a1b0449f4}

\begin{DoxyCompactList}\small\item\em set model view matrix \end{DoxyCompactList}\item 
\hypertarget{a00385_a2974574e426660a0ed5d6751d670f2d6}{void \hyperlink{a00385_a2974574e426660a0ed5d6751d670f2d6}{set\+Projection} (\hyperlink{a00637}{A\+C\+G\+::\+G\+L\+Matrixd} \+\_\+projection)}\label{a00385_a2974574e426660a0ed5d6751d670f2d6}

\begin{DoxyCompactList}\small\item\em Set projection Matrix ( used to calculate frustum ... ) \end{DoxyCompactList}\item 
\hypertarget{a00385_a9b29014e90a8e282cbe4c50db49f432f}{void \hyperlink{a00385_a9b29014e90a8e282cbe4c50db49f432f}{set\+Size} (int \+\_\+w, int \+\_\+h)}\label{a00385_a9b29014e90a8e282cbe4c50db49f432f}

\begin{DoxyCompactList}\small\item\em Set viewport size ( This will be used to compute the aspect ratio ) \end{DoxyCompactList}\item 
\hypertarget{a00385_afd780f7b19c97b6ee406bfeb63429b06}{void \hyperlink{a00385_afd780f7b19c97b6ee406bfeb63429b06}{set\+Encoded\+View} (Q\+String \+\_\+encoded\+View)}\label{a00385_afd780f7b19c97b6ee406bfeb63429b06}

\begin{DoxyCompactList}\small\item\em Return encoded view string. \end{DoxyCompactList}\item 
\hypertarget{a00385_adb5a088f195e227d27b1dacf7630e47e}{void \hyperlink{a00385_adb5a088f195e227d27b1dacf7630e47e}{set\+Far\+Plane} (double \+\_\+far)}\label{a00385_adb5a088f195e227d27b1dacf7630e47e}

\begin{DoxyCompactList}\small\item\em Set distance to far plane ( e.\+g. scene radius ) \end{DoxyCompactList}\item 
\hypertarget{a00385_a99bdc83d6d663d14f3661f695e0383da}{void \hyperlink{a00385_a99bdc83d6d663d14f3661f695e0383da}{set\+Near\+Plane} (double \+\_\+near)}\label{a00385_a99bdc83d6d663d14f3661f695e0383da}

\begin{DoxyCompactList}\small\item\em Set distance to near plane. \end{DoxyCompactList}\item 
\hypertarget{a00385_a59af7595e87636d3760c7beb271b6412}{Q\+String \hyperlink{a00385_a59af7595e87636d3760c7beb271b6412}{get\+Encoded\+View} ()}\label{a00385_a59af7595e87636d3760c7beb271b6412}

\begin{DoxyCompactList}\small\item\em Return encoded view string. \end{DoxyCompactList}\item 
\hypertarget{a00385_a982afee388ff51701af38b3014f7074a}{void \hyperlink{a00385_a982afee388ff51701af38b3014f7074a}{show\+Frustum} (bool \+\_\+show\+Frustum)}\label{a00385_a982afee388ff51701af38b3014f7074a}

\begin{DoxyCompactList}\small\item\em Set if viewing frustum should be shown or not. \end{DoxyCompactList}\item 
\hypertarget{a00385_ad00515cca7914753dddfec0569c40c29}{bool \hyperlink{a00385_ad00515cca7914753dddfec0569c40c29}{show\+Frustum} ()}\label{a00385_ad00515cca7914753dddfec0569c40c29}

\begin{DoxyCompactList}\small\item\em Returns true if camera renders its whole frustum. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00385_a903e2633fff74862a96e1b6ede30c2fd}{void {\bfseries update\+Bounding\+Boxes} (\hyperlink{a03336_a574eaee6f4eff166845ff5c654b0b852}{G\+L\+Matrixd} \&\+\_\+modelview)}\label{a00385_a903e2633fff74862a96e1b6ede30c2fd}

\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00385_a06839dc3b4f069cb0d5210a46fc27e18}{\hyperlink{a01409}{Open\+Mesh\+::\+Vec3d} {\bfseries bbmin\+\_\+}}\label{a00385_a06839dc3b4f069cb0d5210a46fc27e18}

\item 
\hypertarget{a00385_a8c594ce2ebb0d8c544fbf4aca6502a7a}{\hyperlink{a01409}{Open\+Mesh\+::\+Vec3d} {\bfseries bbmax\+\_\+}}\label{a00385_a8c594ce2ebb0d8c544fbf4aca6502a7a}

\item 
\hypertarget{a00385_a2976a9759a9f221600378da23f49c35d}{\hyperlink{a00637}{A\+C\+G\+::\+G\+L\+Matrixd} {\bfseries model\+View\+\_\+}}\label{a00385_a2976a9759a9f221600378da23f49c35d}

\item 
\hypertarget{a00385_ae872f33acbf6b328df38edc8db2ee0e3}{\hyperlink{a00637}{A\+C\+G\+::\+G\+L\+Matrixd} {\bfseries projection\+\_\+}}\label{a00385_ae872f33acbf6b328df38edc8db2ee0e3}

\item 
\hypertarget{a00385_a6b99779f29fdb0ac4ecc0a02ac872a92}{int {\bfseries width\+\_\+}}\label{a00385_a6b99779f29fdb0ac4ecc0a02ac872a92}

\item 
\hypertarget{a00385_a1c1eec7f3a888a1e2d546fe55cb15059}{int {\bfseries height\+\_\+}}\label{a00385_a1c1eec7f3a888a1e2d546fe55cb15059}

\item 
\hypertarget{a00385_a27feb4a6f27901f34e8eeb5b643a6154}{double {\bfseries fovy\+\_\+}}\label{a00385_a27feb4a6f27901f34e8eeb5b643a6154}

\item 
\hypertarget{a00385_a3bf85136b7b8d6d45d48aab424730717}{double {\bfseries half\+\_\+height\+\_\+}}\label{a00385_a3bf85136b7b8d6d45d48aab424730717}

\item 
\hypertarget{a00385_a1a689412de220cf2b512750977fa5d32}{double {\bfseries half\+\_\+width\+\_\+}}\label{a00385_a1a689412de220cf2b512750977fa5d32}

\item 
\hypertarget{a00385_a9a78df85ee882b9559ae4fe6a98bb076}{double {\bfseries far\+\_\+half\+\_\+height\+\_\+}}\label{a00385_a9a78df85ee882b9559ae4fe6a98bb076}

\item 
\hypertarget{a00385_a8380c800d5e88a10fe1f8166a2dc194f}{double {\bfseries far\+\_\+half\+\_\+width\+\_\+}}\label{a00385_a8380c800d5e88a10fe1f8166a2dc194f}

\item 
\hypertarget{a00385_a0da7519c5f4fc96277868a2a7cd06d58}{double {\bfseries aspect\+Ratio\+\_\+}}\label{a00385_a0da7519c5f4fc96277868a2a7cd06d58}

\item 
\hypertarget{a00385_a0c7021b68de500da0f0277443cf48618}{double {\bfseries near\+\_\+}}\label{a00385_a0c7021b68de500da0f0277443cf48618}

\item 
\hypertarget{a00385_a4f79d3c8126becc2ce68a1f48bff1b6f}{double {\bfseries far\+\_\+}}\label{a00385_a4f79d3c8126becc2ce68a1f48bff1b6f}

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

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

\item 
\hypertarget{a00385_a99ad790b0dfdde4be5d7897ed3b39a1e}{Q\+String {\bfseries encoded\+View\+\_\+}}\label{a00385_a99ad790b0dfdde4be5d7897ed3b39a1e}

\item 
\hypertarget{a00385_a54bc497ade65e7112ce181be6f3a26ab}{bool {\bfseries show\+Frustum\+\_\+}}\label{a00385_a54bc497ade65e7112ce181be6f3a26ab}

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


\subsection{Detailed Description}
This class is able to render spheres colorcoding the vertex Camera\+Vis 

Definition at line 89 of file Camera\+Node.\+hh.



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