\hypertarget{struct_ogre_1_1_transform_base_real}{}\doxysection{Ogre\+::Transform\+Base\+Real Struct Reference}
\label{struct_ogre_1_1_transform_base_real}\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}


{\ttfamily \#include $<$Ogre\+Matrix4.\+h$>$}



Inheritance diagram for Ogre\+::Transform\+Base\+Real\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=262pt]{struct_ogre_1_1_transform_base_real__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_a9abae638b21413a41bc5b004ecacecd4}{determinant}} () const
\item 
void \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_a3f43524c27cb439313bd081ae280642c}{extract3x3\+Matrix}} (\mbox{\hyperlink{class_ogre_1_1_matrix3}{Matrix3}} \&m3x3) const
\item 
\mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_aef6aefde7236f81a2343af8a1d81da50}{extract\+Quaternion}} () const
\item 
\mbox{\hyperlink{class_ogre_1_1_vector}{Vector}}$<$ 3, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $>$ \mbox{\hyperlink{class_ogre_1_1_transform_base_a92260a3e504b84292acac6d600c9ef36}{get\+Trans}} () const
\begin{DoxyCompactList}\small\item\em Extracts the translation transformation part of the matrix. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_matrix3}{Matrix3}} \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_a99c2bd12bee6aedcb27fcd4cd70e1a6b}{linear}} () const
\begin{DoxyCompactList}\small\item\em Extracts the rotation / scaling part of the Matrix as a 3x3 matrix. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_abf2a16142c5dfd6360fb5e697fbf578d}{make\+Inverse\+Transform}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&position, const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&scale, const \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} \&orientation)
\begin{DoxyCompactList}\small\item\em Building an inverse \mbox{\hyperlink{class_ogre_1_1_affine3}{Affine3}} from orientation / scale / position. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_ab5d6ffc4f1604d59552be2c4d9f4a01a}{make\+Trans}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&v)
\begin{DoxyCompactList}\small\item\em Builds a translation matrix. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_aa0f27bb6d140ca1d09a03c9e27c5f96c}{make\+Trans}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} tx, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} ty, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} tz)
\item 
void \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_ad58c2d3fb3345558228fe3bafdf1b732}{make\+Transform}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&position, const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&scale, const \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} \&orientation)
\begin{DoxyCompactList}\small\item\em Building a \mbox{\hyperlink{class_ogre_1_1_affine3}{Affine3}} from orientation / scale / position. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_transform_base_a8cb72d4aa4fcb719ea6110758bb6e89e}{operator\mbox{[}$\,$\mbox{]}}} (size\+\_\+t i\+Row)
\item 
const \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_transform_base_afbc5442e28735144fe9e1f41daa89c3a}{operator\mbox{[}$\,$\mbox{]}}} (size\+\_\+t i\+Row) const
\item 
void \mbox{\hyperlink{struct_ogre_1_1_transform_base_real_aebf4846bf9c86970bc9569d132892708}{set3x3\+Matrix}} (const \mbox{\hyperlink{class_ogre_1_1_matrix3}{Matrix3}} \&mat3)
\begin{DoxyCompactList}\small\item\em Assignment from 3x3 matrix. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_transform_base_ac029df849f85850a59921e5f361927c4}{set\+Scale}} (const \mbox{\hyperlink{class_ogre_1_1_vector}{Vector}}$<$ 3, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $>$ \&v)
\begin{DoxyCompactList}\small\item\em Sets the scale part of the matrix. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_transform_base_acd424a976abe0bd586dd6b46876dc235}{set\+Trans}} (const \mbox{\hyperlink{class_ogre_1_1_vector}{Vector}}$<$ 3, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $>$ \&v)
\begin{DoxyCompactList}\small\item\em Sets the translation transformation part of the matrix. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_matrix4}{Matrix4}} \mbox{\hyperlink{group___math_gaebc7c568cc1d6f13405a756be1af73fa}{transpose}} () const
\end{DoxyCompactItemize}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_ab5d6ffc4f1604d59552be2c4d9f4a01a}\label{struct_ogre_1_1_transform_base_real_ab5d6ffc4f1604d59552be2c4d9f4a01a}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!makeTrans@{makeTrans}}
\index{makeTrans@{makeTrans}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{makeTrans()}{makeTrans()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Transform\+Base\+Real\+::make\+Trans (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Builds a translation matrix. 

\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_aa0f27bb6d140ca1d09a03c9e27c5f96c}\label{struct_ogre_1_1_transform_base_real_aa0f27bb6d140ca1d09a03c9e27c5f96c}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!makeTrans@{makeTrans}}
\index{makeTrans@{makeTrans}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{makeTrans()}{makeTrans()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Ogre\+::\+Transform\+Base\+Real\+::make\+Trans (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{tx,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{ty,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{tz }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_aebf4846bf9c86970bc9569d132892708}\label{struct_ogre_1_1_transform_base_real_aebf4846bf9c86970bc9569d132892708}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!set3x3Matrix@{set3x3Matrix}}
\index{set3x3Matrix@{set3x3Matrix}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{set3x3Matrix()}{set3x3Matrix()}}
{\footnotesize\ttfamily void Ogre\+::\+Transform\+Base\+Real\+::set3x3\+Matrix (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_matrix3}{Matrix3}} \&}]{mat3 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Assignment from 3x3 matrix. 

\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_a99c2bd12bee6aedcb27fcd4cd70e1a6b}\label{struct_ogre_1_1_transform_base_real_a99c2bd12bee6aedcb27fcd4cd70e1a6b}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!linear@{linear}}
\index{linear@{linear}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{linear()}{linear()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_matrix3}{Matrix3}} Ogre\+::\+Transform\+Base\+Real\+::linear (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Extracts the rotation / scaling part of the Matrix as a 3x3 matrix. 

\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_a3f43524c27cb439313bd081ae280642c}\label{struct_ogre_1_1_transform_base_real_a3f43524c27cb439313bd081ae280642c}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!extract3x3Matrix@{extract3x3Matrix}}
\index{extract3x3Matrix@{extract3x3Matrix}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{extract3x3Matrix()}{extract3x3Matrix()}}
{\footnotesize\ttfamily void Ogre\+::\+Transform\+Base\+Real\+::extract3x3\+Matrix (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_matrix3}{Matrix3}} \&}]{m3x3 }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_aef6aefde7236f81a2343af8a1d81da50}\label{struct_ogre_1_1_transform_base_real_aef6aefde7236f81a2343af8a1d81da50}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!extractQuaternion@{extractQuaternion}}
\index{extractQuaternion@{extractQuaternion}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{extractQuaternion()}{extractQuaternion()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} Ogre\+::\+Transform\+Base\+Real\+::extract\+Quaternion (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_a9abae638b21413a41bc5b004ecacecd4}\label{struct_ogre_1_1_transform_base_real_a9abae638b21413a41bc5b004ecacecd4}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!determinant@{determinant}}
\index{determinant@{determinant}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{determinant()}{determinant()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Transform\+Base\+Real\+::determinant (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}

\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_ad58c2d3fb3345558228fe3bafdf1b732}\label{struct_ogre_1_1_transform_base_real_ad58c2d3fb3345558228fe3bafdf1b732}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!makeTransform@{makeTransform}}
\index{makeTransform@{makeTransform}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{makeTransform()}{makeTransform()}}
{\footnotesize\ttfamily void Ogre\+::\+Transform\+Base\+Real\+::make\+Transform (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{position,  }\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{scale,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} \&}]{orientation }\end{DoxyParamCaption})}



Building a \mbox{\hyperlink{class_ogre_1_1_affine3}{Affine3}} from orientation / scale / position. 

\begin{DoxyRemark}{Remarks}
Transform is performed in the order scale, rotate, translation, i.\+e. translation is independent of orientation axes, scale does not affect size of translation, rotation and scaling are always centered on the origin. 
\end{DoxyRemark}
\mbox{\Hypertarget{struct_ogre_1_1_transform_base_real_abf2a16142c5dfd6360fb5e697fbf578d}\label{struct_ogre_1_1_transform_base_real_abf2a16142c5dfd6360fb5e697fbf578d}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!makeInverseTransform@{makeInverseTransform}}
\index{makeInverseTransform@{makeInverseTransform}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{makeInverseTransform()}{makeInverseTransform()}}
{\footnotesize\ttfamily void Ogre\+::\+Transform\+Base\+Real\+::make\+Inverse\+Transform (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{position,  }\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{scale,  }\item[{const \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} \&}]{orientation }\end{DoxyParamCaption})}



Building an inverse \mbox{\hyperlink{class_ogre_1_1_affine3}{Affine3}} from orientation / scale / position. 

\begin{DoxyRemark}{Remarks}
As make\+Transform except it build the inverse given the same data as make\+Transform, so performing -\/translation, -\/rotate, 1/scale in that order. 
\end{DoxyRemark}
\mbox{\Hypertarget{class_ogre_1_1_transform_base_a8cb72d4aa4fcb719ea6110758bb6e89e}\label{class_ogre_1_1_transform_base_a8cb72d4aa4fcb719ea6110758bb6e89e}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{operator[]()}{operator[]()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_transform_base}{Ogre\+::\+Transform\+Base}}$<$ rows, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}  $>$\+::operator\mbox{[}$\,$\mbox{]} (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{i\+Row }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_transform_base_afbc5442e28735144fe9e1f41daa89c3a}\label{class_ogre_1_1_transform_base_afbc5442e28735144fe9e1f41daa89c3a}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!operator\mbox{[}\mbox{]}@{operator[]}}
\index{operator\mbox{[}\mbox{]}@{operator[]}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{operator[]()}{operator[]()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_transform_base}{Ogre\+::\+Transform\+Base}}$<$ rows, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}  $>$\+::operator\mbox{[}$\,$\mbox{]} (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{i\+Row }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}

\mbox{\Hypertarget{class_ogre_1_1_transform_base_acd424a976abe0bd586dd6b46876dc235}\label{class_ogre_1_1_transform_base_acd424a976abe0bd586dd6b46876dc235}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!setTrans@{setTrans}}
\index{setTrans@{setTrans}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{setTrans()}{setTrans()}}
{\footnotesize\ttfamily void \mbox{\hyperlink{class_ogre_1_1_transform_base}{Ogre\+::\+Transform\+Base}}$<$ rows, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}  $>$\+::set\+Trans (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_vector}{Vector}}$<$ 3, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}  $>$ \&}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets the translation transformation part of the matrix. 

\mbox{\Hypertarget{class_ogre_1_1_transform_base_a92260a3e504b84292acac6d600c9ef36}\label{class_ogre_1_1_transform_base_a92260a3e504b84292acac6d600c9ef36}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!getTrans@{getTrans}}
\index{getTrans@{getTrans}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{getTrans()}{getTrans()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_vector}{Vector}}$<$3, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} $>$ \mbox{\hyperlink{class_ogre_1_1_transform_base}{Ogre\+::\+Transform\+Base}}$<$ rows, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}  $>$\+::get\+Trans (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Extracts the translation transformation part of the matrix. 

\mbox{\Hypertarget{class_ogre_1_1_transform_base_ac029df849f85850a59921e5f361927c4}\label{class_ogre_1_1_transform_base_ac029df849f85850a59921e5f361927c4}} 
\index{Ogre::TransformBaseReal@{Ogre::TransformBaseReal}!setScale@{setScale}}
\index{setScale@{setScale}!Ogre::TransformBaseReal@{Ogre::TransformBaseReal}}
\doxysubsubsection{\texorpdfstring{setScale()}{setScale()}}
{\footnotesize\ttfamily void \mbox{\hyperlink{class_ogre_1_1_transform_base}{Ogre\+::\+Transform\+Base}}$<$ rows, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}  $>$\+::set\+Scale (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_vector}{Vector}}$<$ 3, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}  $>$ \&}]{v }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Sets the scale part of the matrix. 



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_matrix4_8h}{Ogre\+Matrix4.\+h}}\end{DoxyCompactItemize}
