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


Specialised \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}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_transform_key_frame_a697d9705922b17bd0ca908eccd23ecf3}{Transform\+Key\+Frame} (const \hyperlink{class_ogre_1_1_animation_track}{Animation\+Track} $\ast$parent, \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} time)
\begin{DoxyCompactList}\small\item\em Default constructor, you should not call this but use \hyperlink{class_ogre_1_1_animation_track_a4517a1b16d6cb601754d98841bb4d7d6}{Animation\+Track\+::create\+Key\+Frame} instead. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_transform_key_frame_ab3f1fdf74fd7841e65efea2a011100d9}{$\sim$\+Transform\+Key\+Frame} ()
\item 
\hyperlink{class_ogre_1_1_key_frame}{Key\+Frame} $\ast$ \hyperlink{class_ogre_1_1_transform_key_frame_a0781a2dd8c7d953273c298eadda24e40}{\+\_\+clone} (\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 \hyperlink{class_ogre_1_1_quaternion}{Quaternion} \& \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 \hyperlink{class_ogre_1_1_vector3}{Vector3} \& \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 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \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 \hyperlink{class_ogre_1_1_vector3}{Vector3} \& \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 \hyperlink{class_ogre_1_1_transform_key_frame_a871cd8678b1be22dd19be96329794a9a}{set\+Rotation} (const \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 \hyperlink{class_ogre_1_1_transform_key_frame_a46868a5a6248f24b96b2a5a2b54b9cc3}{set\+Scale} (const \hyperlink{class_ogre_1_1_vector3}{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 \hyperlink{class_ogre_1_1_transform_key_frame_a8d82e03beea51388e7daf005b76b00a1}{set\+Translate} (const \hyperlink{class_ogre_1_1_vector3}{Vector3} \&trans)
\begin{DoxyCompactList}\small\item\em Sets the translation associated with this keyframe. \end{DoxyCompactList}\end{DoxyCompactItemize}


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



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



Default constructor, you should not call this but use \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\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}!````~Transform\+Key\+Frame@{$\sim$\+Transform\+Key\+Frame}}
\index{````~Transform\+Key\+Frame@{$\sim$\+Transform\+Key\+Frame}!Ogre\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}}
\subsubsection{\texorpdfstring{$\sim$\+Transform\+Key\+Frame()}{~TransformKeyFrame()}}
{\footnotesize\ttfamily Ogre\+::\+Transform\+Key\+Frame\+::$\sim$\+Transform\+Key\+Frame (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



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



Sets the translation associated with this keyframe. 

\begin{DoxyRemark}{Remarks}
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\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}!get\+Translate@{get\+Translate}}
\index{get\+Translate@{get\+Translate}!Ogre\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}}
\subsubsection{\texorpdfstring{get\+Translate()}{getTranslate()}}
{\footnotesize\ttfamily const \hyperlink{class_ogre_1_1_vector3}{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\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}!set\+Scale@{set\+Scale}}
\index{set\+Scale@{set\+Scale}!Ogre\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}}
\subsubsection{\texorpdfstring{set\+Scale()}{setScale()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Transform\+Key\+Frame\+::set\+Scale (\begin{DoxyParamCaption}\item[{const \hyperlink{class_ogre_1_1_vector3}{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\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}!get\+Scale@{get\+Scale}}
\index{get\+Scale@{get\+Scale}!Ogre\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}}
\subsubsection{\texorpdfstring{get\+Scale()}{getScale()}}
{\footnotesize\ttfamily virtual const \hyperlink{class_ogre_1_1_vector3}{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\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}!set\+Rotation@{set\+Rotation}}
\index{set\+Rotation@{set\+Rotation}!Ogre\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}}
\subsubsection{\texorpdfstring{set\+Rotation()}{setRotation()}}
{\footnotesize\ttfamily virtual void Ogre\+::\+Transform\+Key\+Frame\+::set\+Rotation (\begin{DoxyParamCaption}\item[{const \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 \hyperlink{class_ogre_1_1_quaternion}{Quaternion} methods to convert from angle/axis or \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\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}!get\+Rotation@{get\+Rotation}}
\index{get\+Rotation@{get\+Rotation}!Ogre\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}}
\subsubsection{\texorpdfstring{get\+Rotation()}{getRotation()}}
{\footnotesize\ttfamily virtual const \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\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}!\+\_\+clone@{\+\_\+clone}}
\index{\+\_\+clone@{\+\_\+clone}!Ogre\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}}
\subsubsection{\texorpdfstring{\+\_\+clone()}{\_clone()}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_key_frame}{Key\+Frame}$\ast$ Ogre\+::\+Transform\+Key\+Frame\+::\+\_\+clone (\begin{DoxyParamCaption}\item[{\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 \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\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}!get\+Time@{get\+Time}}
\index{get\+Time@{get\+Time}!Ogre\+::\+Transform\+Key\+Frame@{Ogre\+::\+Transform\+Key\+Frame}}
\subsubsection{\texorpdfstring{get\+Time()}{getTime()}}
{\footnotesize\ttfamily \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. 



References O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD.



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