\hypertarget{class_ogre_1_1_scale_controller_function}{}\section{Ogre\+:\+:Scale\+Controller\+Function Class Reference}
\label{class_ogre_1_1_scale_controller_function}\index{Ogre\+::\+Scale\+Controller\+Function@{Ogre\+::\+Scale\+Controller\+Function}}


Predefined controller function which simply scales an input to an output value.  




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



Inheritance diagram for Ogre\+:\+:Scale\+Controller\+Function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=241pt]{class_ogre_1_1_scale_controller_function__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_scale_controller_function_a3e6000bf99e2f0ebd5fbbf3cb4c74338}{Scale\+Controller\+Function} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} scalefactor, bool delta\+Input)
\begin{DoxyCompactList}\small\item\em Constructor, requires a scale factor. \end{DoxyCompactList}\item 
\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} \hyperlink{class_ogre_1_1_scale_controller_function_a7c920fe250fc003fb45e819ed058c824}{calculate} (\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} source)
\begin{DoxyCompactList}\small\item\em Overridden method. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Predefined controller function which simply scales an input to an output value. 

\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scale_controller_function_a3e6000bf99e2f0ebd5fbbf3cb4c74338}\label{class_ogre_1_1_scale_controller_function_a3e6000bf99e2f0ebd5fbbf3cb4c74338}} 
\index{Ogre\+::\+Scale\+Controller\+Function@{Ogre\+::\+Scale\+Controller\+Function}!Scale\+Controller\+Function@{Scale\+Controller\+Function}}
\index{Scale\+Controller\+Function@{Scale\+Controller\+Function}!Ogre\+::\+Scale\+Controller\+Function@{Ogre\+::\+Scale\+Controller\+Function}}
\subsubsection{\texorpdfstring{Scale\+Controller\+Function()}{ScaleControllerFunction()}}
{\footnotesize\ttfamily Ogre\+::\+Scale\+Controller\+Function\+::\+Scale\+Controller\+Function (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{scalefactor,  }\item[{bool}]{delta\+Input }\end{DoxyParamCaption})}



Constructor, requires a scale factor. 


\begin{DoxyParams}{Parameters}
{\em scalefactor} & The multiplier applied to the input to produce the output. \\
\hline
{\em delta\+Input} & If true, signifies that the input will be a delta value such that the function should add it to an internal counter before calculating the output. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scale_controller_function_a7c920fe250fc003fb45e819ed058c824}\label{class_ogre_1_1_scale_controller_function_a7c920fe250fc003fb45e819ed058c824}} 
\index{Ogre\+::\+Scale\+Controller\+Function@{Ogre\+::\+Scale\+Controller\+Function}!calculate@{calculate}}
\index{calculate@{calculate}!Ogre\+::\+Scale\+Controller\+Function@{Ogre\+::\+Scale\+Controller\+Function}}
\subsubsection{\texorpdfstring{calculate()}{calculate()}}
{\footnotesize\ttfamily \hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real} Ogre\+::\+Scale\+Controller\+Function\+::calculate (\begin{DoxyParamCaption}\item[{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}]{source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Overridden method. 



Implements \hyperlink{class_ogre_1_1_controller_function_a0f77d037a78ce3b430c0a18fbe711df0}{Ogre\+::\+Controller\+Function$<$ Real $>$}.



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