\hypertarget{class_ogre_1_1_transform_key_frame}{}\doxysection{Ogre\+::Transform\+Key\+Frame Class Reference}
\label{class_ogre_1_1_transform_key_frame}\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}


Specialised \mbox{\hyperlink{class_ogre_1_1_key_frame}{Key\+Frame}} which stores a full transform.  




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



Inheritance diagram for Ogre\+::Transform\+Key\+Frame\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=223pt]{class_ogre_1_1_transform_key_frame__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_transform_key_frame_a697d9705922b17bd0ca908eccd23ecf3}{Transform\+Key\+Frame}} (const \mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}} $\ast$parent, \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} time)
\begin{DoxyCompactList}\small\item\em Default constructor, you should not call this but use \mbox{\hyperlink{class_ogre_1_1_animation_track_a4517a1b16d6cb601754d98841bb4d7d6}{Animation\+Track\+::create\+Key\+Frame}} instead. \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_ogre_1_1_transform_key_frame_ab3f1fdf74fd7841e65efea2a011100d9}{$\sim$\+Transform\+Key\+Frame}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_key_frame}{Key\+Frame}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_transform_key_frame_a0781a2dd8c7d953273c298eadda24e40}{\+\_\+clone}} (\mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}} $\ast$new\+Parent) const
\begin{DoxyCompactList}\small\item\em Clone a keyframe (internal use only) \end{DoxyCompactList}\item 
virtual const \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} \& \mbox{\hyperlink{class_ogre_1_1_transform_key_frame_ae0f42fe82770d8d7be56c03ea012bfe9}{get\+Rotation}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the rotation applied by this keyframe. \end{DoxyCompactList}\item 
virtual const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \& \mbox{\hyperlink{class_ogre_1_1_transform_key_frame_ad4929d1c6fb40aed007a1992df583097}{get\+Scale}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the scaling factor applied by this keyframe. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_key_frame_a8c4fe7a2c23ed4a24bf5030bc3113b94}{get\+Time}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the time of this keyframe in the animation sequence. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \& \mbox{\hyperlink{class_ogre_1_1_transform_key_frame_abcd55b1f65d3002c037be44bfaa03130}{get\+Translate}} (void) const
\begin{DoxyCompactList}\small\item\em Gets the translation applied by this keyframe. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_transform_key_frame_a871cd8678b1be22dd19be96329794a9a}{set\+Rotation}} (const \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} \&rot)
\begin{DoxyCompactList}\small\item\em Sets the rotation applied by this keyframe. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_transform_key_frame_a46868a5a6248f24b96b2a5a2b54b9cc3}{set\+Scale}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&scale)
\begin{DoxyCompactList}\small\item\em Sets the scaling factor applied by this keyframe to the animable object at it\textquotesingle{}s time index. \end{DoxyCompactList}\item 
virtual void \mbox{\hyperlink{class_ogre_1_1_transform_key_frame_a8d82e03beea51388e7daf005b76b00a1}{set\+Translate}} (const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&trans)
\begin{DoxyCompactList}\small\item\em Sets the translation associated with this keyframe. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Specialised \mbox{\hyperlink{class_ogre_1_1_key_frame}{Key\+Frame}} which stores a full transform. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_a697d9705922b17bd0ca908eccd23ecf3}\label{class_ogre_1_1_transform_key_frame_a697d9705922b17bd0ca908eccd23ecf3}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!TransformKeyFrame@{TransformKeyFrame}}
\index{TransformKeyFrame@{TransformKeyFrame}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{TransformKeyFrame()}{TransformKeyFrame()}}
{\footnotesize\ttfamily Ogre\+::\+Transform\+Key\+Frame\+::\+Transform\+Key\+Frame (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}} $\ast$}]{parent,  }\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{time }\end{DoxyParamCaption})}



Default constructor, you should not call this but use \mbox{\hyperlink{class_ogre_1_1_animation_track_a4517a1b16d6cb601754d98841bb4d7d6}{Animation\+Track\+::create\+Key\+Frame}} instead. 

\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_ab3f1fdf74fd7841e65efea2a011100d9}\label{class_ogre_1_1_transform_key_frame_ab3f1fdf74fd7841e65efea2a011100d9}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!````~TransformKeyFrame@{$\sim$TransformKeyFrame}}
\index{````~TransformKeyFrame@{$\sim$TransformKeyFrame}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{$\sim$TransformKeyFrame()}{~TransformKeyFrame()}}
{\footnotesize\ttfamily Ogre\+::\+Transform\+Key\+Frame\+::$\sim$\+Transform\+Key\+Frame (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_a8d82e03beea51388e7daf005b76b00a1}\label{class_ogre_1_1_transform_key_frame_a8d82e03beea51388e7daf005b76b00a1}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!setTranslate@{setTranslate}}
\index{setTranslate@{setTranslate}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{setTranslate()}{setTranslate()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Transform\+Key\+Frame\+::set\+Translate (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{trans }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the translation associated with this keyframe. 

\begin{DoxyRemark}{Remarks}
~\newline
 The translation factor affects how much the keyframe translates (moves) it\textquotesingle{}s animable object at it\textquotesingle{}s time index. 
\end{DoxyRemark}

\begin{DoxyParams}{Parameters}
{\em trans} & The vector to translate by \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_abcd55b1f65d3002c037be44bfaa03130}\label{class_ogre_1_1_transform_key_frame_abcd55b1f65d3002c037be44bfaa03130}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!getTranslate@{getTranslate}}
\index{getTranslate@{getTranslate}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{getTranslate()}{getTranslate()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}}\& Ogre\+::\+Transform\+Key\+Frame\+::get\+Translate (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const}



Gets the translation applied by this keyframe. 

\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_a46868a5a6248f24b96b2a5a2b54b9cc3}\label{class_ogre_1_1_transform_key_frame_a46868a5a6248f24b96b2a5a2b54b9cc3}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!setScale@{setScale}}
\index{setScale@{setScale}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{setScale()}{setScale()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Transform\+Key\+Frame\+::set\+Scale (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}} \&}]{scale }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the scaling factor applied by this keyframe to the animable object at it\textquotesingle{}s time index. 


\begin{DoxyParams}{Parameters}
{\em scale} & The vector to scale by (beware of supplying zero values for any component of this vector, it will scale the object to zero dimensions) \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_ad4929d1c6fb40aed007a1992df583097}\label{class_ogre_1_1_transform_key_frame_ad4929d1c6fb40aed007a1992df583097}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!getScale@{getScale}}
\index{getScale@{getScale}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{getScale()}{getScale()}}
{\footnotesize\ttfamily virtual const \mbox{\hyperlink{namespace_ogre_ac94fc4008c1165dea017263fee56b273}{Vector3}}\& Ogre\+::\+Transform\+Key\+Frame\+::get\+Scale (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the scaling factor applied by this keyframe. 

\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_a871cd8678b1be22dd19be96329794a9a}\label{class_ogre_1_1_transform_key_frame_a871cd8678b1be22dd19be96329794a9a}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!setRotation@{setRotation}}
\index{setRotation@{setRotation}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{setRotation()}{setRotation()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Transform\+Key\+Frame\+::set\+Rotation (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} \&}]{rot }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Sets the rotation applied by this keyframe. 


\begin{DoxyParams}{Parameters}
{\em rot} & The rotation applied; use \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}} methods to convert from angle/axis or \mbox{\hyperlink{class_ogre_1_1_matrix3}{Matrix3}} if you don\textquotesingle{}t like using Quaternions directly. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_ae0f42fe82770d8d7be56c03ea012bfe9}\label{class_ogre_1_1_transform_key_frame_ae0f42fe82770d8d7be56c03ea012bfe9}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!getRotation@{getRotation}}
\index{getRotation@{getRotation}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{getRotation()}{getRotation()}}
{\footnotesize\ttfamily virtual const \mbox{\hyperlink{class_ogre_1_1_quaternion}{Quaternion}}\& Ogre\+::\+Transform\+Key\+Frame\+::get\+Rotation (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Gets the rotation applied by this keyframe. 

\mbox{\Hypertarget{class_ogre_1_1_transform_key_frame_a0781a2dd8c7d953273c298eadda24e40}\label{class_ogre_1_1_transform_key_frame_a0781a2dd8c7d953273c298eadda24e40}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!\_clone@{\_clone}}
\index{\_clone@{\_clone}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{\_clone()}{\_clone()}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_key_frame}{Key\+Frame}}$\ast$ Ogre\+::\+Transform\+Key\+Frame\+::\+\_\+clone (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_ogre_1_1_animation_track}{Animation\+Track}} $\ast$}]{new\+Parent }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Clone a keyframe (internal use only) 



Reimplemented from \mbox{\hyperlink{class_ogre_1_1_key_frame_a7ab9d65fa65db74d5c101ceb70c9e843}{Ogre\+::\+Key\+Frame}}.

\mbox{\Hypertarget{class_ogre_1_1_key_frame_a8c4fe7a2c23ed4a24bf5030bc3113b94}\label{class_ogre_1_1_key_frame_a8c4fe7a2c23ed4a24bf5030bc3113b94}} 
\index{Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}!getTime@{getTime}}
\index{getTime@{getTime}!Ogre::TransformKeyFrame@{Ogre::TransformKeyFrame}}
\doxysubsubsection{\texorpdfstring{getTime()}{getTime()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Key\+Frame\+::get\+Time (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [inherited]}}



Gets the time of this keyframe in the animation sequence. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{_ogre_key_frame_8h}{Ogre\+Key\+Frame.\+h}}\end{DoxyCompactItemize}
