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


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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_scale_controller_function_a3e6000bf99e2f0ebd5fbbf3cb4c74338}{Scale\+Controller\+Function}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} scalefactor, bool delta\+Input)
\item 
\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} \mbox{\hyperlink{class_ogre_1_1_scale_controller_function_a7c920fe250fc003fb45e819ed058c824}{calculate}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} source)
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{group___general_gafa8597a66f145eabb45e932f28fbb0b8}{Controller\+Function\+Real\+Ptr}} \mbox{\hyperlink{class_ogre_1_1_scale_controller_function_a3c9ae53a9366b89c6fc3d3d2bb8f5fa5}{create}} (\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} scalefactor, bool delta\+Input=false)
\begin{DoxyCompactList}\small\item\em Constructor, requires a scale factor. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

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

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000108}{Deprecated}}]use \mbox{\hyperlink{class_ogre_1_1_scale_controller_function_a3c9ae53a9366b89c6fc3d3d2bb8f5fa5}{create()}} \end{DoxyRefDesc}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_scale_controller_function_a3c9ae53a9366b89c6fc3d3d2bb8f5fa5}\label{class_ogre_1_1_scale_controller_function_a3c9ae53a9366b89c6fc3d3d2bb8f5fa5}} 
\index{Ogre::ScaleControllerFunction@{Ogre::ScaleControllerFunction}!create@{create}}
\index{create@{create}!Ogre::ScaleControllerFunction@{Ogre::ScaleControllerFunction}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{group___general_gafa8597a66f145eabb45e932f28fbb0b8}{Controller\+Function\+Real\+Ptr}} Ogre\+::\+Scale\+Controller\+Function\+::create (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{scalefactor,  }\item[{bool}]{delta\+Input = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



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}
\mbox{\Hypertarget{class_ogre_1_1_scale_controller_function_a7c920fe250fc003fb45e819ed058c824}\label{class_ogre_1_1_scale_controller_function_a7c920fe250fc003fb45e819ed058c824}} 
\index{Ogre::ScaleControllerFunction@{Ogre::ScaleControllerFunction}!calculate@{calculate}}
\index{calculate@{calculate}!Ogre::ScaleControllerFunction@{Ogre::ScaleControllerFunction}}
\doxysubsubsection{\texorpdfstring{calculate()}{calculate()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}} Ogre\+::\+Scale\+Controller\+Function\+::calculate (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{namespace_ogre_aa3a7b6dfb905e6572d62f0dfa3d4274d}{Real}}}]{source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Implements \mbox{\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 
\mbox{\hyperlink{_ogre_predefined_controllers_8h}{Ogre\+Predefined\+Controllers.\+h}}\end{DoxyCompactItemize}
