\hypertarget{a00961}{\section{Plane Class Reference}
\label{a00961}\index{Plane@{Plane}}
}


{\ttfamily \#include $<$Object\+Types/\+Plane/\+Plane\+Type.\+hh$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{a00961_a78a30577da07cd7145f6a2582b30d71e}{set\+Plane} (const \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+position, const \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+x\+Direction, const \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&)
\begin{DoxyCompactList}\small\item\em Set plane. \end{DoxyCompactList}\item 
void \hyperlink{a00961_ad2a15186758ab944e4a32cfd600b5553}{set\+Plane} (const \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+position, const \hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} \&\+\_\+normal)
\begin{DoxyCompactList}\small\item\em Set plane with given normal and one point. \end{DoxyCompactList}\item 
void \hyperlink{a00961_a8fa7ac60a96cb2072a056c3bd0e86566}{set\+Size} (double \+\_\+x\+Direction, double \+\_\+y\+Direction)
\begin{DoxyCompactList}\small\item\em Set plane size. \end{DoxyCompactList}\item 
void \hyperlink{a00961_a4f2685c3bb7a749bac5ea6dd0b328aee}{transform} (const \hyperlink{a03336_a7f5dece6cb3955c9847f5455509f6147}{A\+C\+G\+::\+Matrix4x4d} \&\+\_\+mat)
\begin{DoxyCompactList}\small\item\em Transform the plane with given matrix. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{a00961_aedf9b1c3d3c0a59d38fa756a00801cc6}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries position}}\label{a00961_aedf9b1c3d3c0a59d38fa756a00801cc6}

\item 
\hypertarget{a00961_a5dd0dda3717584e8c43f9c8edd863977}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries normal}}\label{a00961_a5dd0dda3717584e8c43f9c8edd863977}

\item 
\hypertarget{a00961_af46554a2bccd834350c2ba2671e14ce6}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries x\+Direction}}\label{a00961_af46554a2bccd834350c2ba2671e14ce6}

\item 
\hypertarget{a00961_ab166935fecaf4066aaa29dd093233cd5}{\hyperlink{a03336_ae4a56bb6b65d7f966934982a1e370213}{A\+C\+G\+::\+Vec3d} {\bfseries y\+Direction}}\label{a00961_ab166935fecaf4066aaa29dd093233cd5}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class defines a simple plane 

Definition at line 77 of file Plane\+Type.\+hh.



\subsection{Member Function Documentation}
\hypertarget{a00961_a78a30577da07cd7145f6a2582b30d71e}{\index{Plane@{Plane}!set\+Plane@{set\+Plane}}
\index{set\+Plane@{set\+Plane}!Plane@{Plane}}
\subsubsection[{set\+Plane}]{\setlength{\rightskip}{0pt plus 5cm}void Plane\+::set\+Plane (
\begin{DoxyParamCaption}
\item[{const {\bf A\+C\+G\+::\+Vec3d} \&}]{\+\_\+position, }
\item[{const {\bf A\+C\+G\+::\+Vec3d} \&}]{\+\_\+x\+Direction, }
\item[{const {\bf A\+C\+G\+::\+Vec3d} \&}]{\+\_\+y\+Direction}
\end{DoxyParamCaption}
)}}\label{a00961_a78a30577da07cd7145f6a2582b30d71e}


Set plane. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+position} & One point on the plane. Will be used as corner point point for rendering in the \hyperlink{a00964}{Plane\+Node} \\
\hline
{\em \+\_\+x\+Direction} & Vector pointing in planes x direction \\
\hline
{\em \+\_\+y\+Direction} & Vector pointing in planes y direction \\
\hline
\end{DoxyParams}


Definition at line 56 of file Plane\+Type.\+cc.

\hypertarget{a00961_ad2a15186758ab944e4a32cfd600b5553}{\index{Plane@{Plane}!set\+Plane@{set\+Plane}}
\index{set\+Plane@{set\+Plane}!Plane@{Plane}}
\subsubsection[{set\+Plane}]{\setlength{\rightskip}{0pt plus 5cm}void Plane\+::set\+Plane (
\begin{DoxyParamCaption}
\item[{const {\bf A\+C\+G\+::\+Vec3d} \&}]{\+\_\+position, }
\item[{const {\bf A\+C\+G\+::\+Vec3d} \&}]{\+\_\+normal}
\end{DoxyParamCaption}
)}}\label{a00961_ad2a15186758ab944e4a32cfd600b5553}


Set plane with given normal and one point. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+position} & One point on the plane. Will be used as corner point for rendering in the \hyperlink{a00964}{Plane\+Node} \\
\hline
{\em \+\_\+normal} & \hyperlink{a00961}{Plane} normal \\
\hline
\end{DoxyParams}


Definition at line 66 of file Plane\+Type.\+cc.

\hypertarget{a00961_a8fa7ac60a96cb2072a056c3bd0e86566}{\index{Plane@{Plane}!set\+Size@{set\+Size}}
\index{set\+Size@{set\+Size}!Plane@{Plane}}
\subsubsection[{set\+Size}]{\setlength{\rightskip}{0pt plus 5cm}void Plane\+::set\+Size (
\begin{DoxyParamCaption}
\item[{double}]{\+\_\+x\+Direction, }
\item[{double}]{\+\_\+y\+Direction}
\end{DoxyParamCaption}
)}}\label{a00961_a8fa7ac60a96cb2072a056c3bd0e86566}


Set plane size. 

Scales the plane such that the x and y direction vectors have the given lengths


\begin{DoxyParams}{Parameters}
{\em \+\_\+x\+Direction} & Size in x direction \\
\hline
{\em \+\_\+y\+Direction} & Size in y direction \\
\hline
\end{DoxyParams}


Definition at line 108 of file Plane\+Type.\+cc.

\hypertarget{a00961_a4f2685c3bb7a749bac5ea6dd0b328aee}{\index{Plane@{Plane}!transform@{transform}}
\index{transform@{transform}!Plane@{Plane}}
\subsubsection[{transform}]{\setlength{\rightskip}{0pt plus 5cm}void Plane\+::transform (
\begin{DoxyParamCaption}
\item[{const {\bf A\+C\+G\+::\+Matrix4x4d} \&}]{\+\_\+mat}
\end{DoxyParamCaption}
)}}\label{a00961_a4f2685c3bb7a749bac5ea6dd0b328aee}


Transform the plane with given matrix. 


\begin{DoxyParams}{Parameters}
{\em \+\_\+mat} & Transformation matrix. \\
\hline
\end{DoxyParams}


Definition at line 97 of file Plane\+Type.\+cc.



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