\hypertarget{a11864}{}\section{Animation\+Helper Class Reference}
\label{a11864}\index{Animation\+Helper@{Animation\+Helper}}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Scalar $>$ }\\static float \hyperlink{a11864_a34048e1a800bcfb7d5411aacbb8b49d7}{approximate\+Cubic\+Bezier\+Parameter} (Scalar \+\_\+atX, Scalar \+\_\+\+P0X, Scalar \+\_\+\+P1X, Scalar \+\_\+\+C0X, Scalar \+\_\+\+C1X)
\begin{DoxyCompactList}\small\item\em Approximates the parameter value for a Bezier curve to get a certain x value Does an iterative De\+Casteljau search for the correct value. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{a11864_ad161eca9b099c38804d97ee047982b0d}\label{a11864_ad161eca9b099c38804d97ee047982b0d}} 
{\footnotesize template$<$typename Scalar $>$ }\\static std\+::vector$<$ Scalar $>$ \hyperlink{a11864_ad161eca9b099c38804d97ee047982b0d}{evaluate\+Bezier} (float at, std\+::vector$<$ Scalar $>$ \+\_\+\+P0, std\+::vector$<$ Scalar $>$ \+\_\+\+P1, std\+::vector$<$ Scalar $>$ \+\_\+\+C0, std\+::vector$<$ Scalar $>$ \+\_\+\+C1)
\begin{DoxyCompactList}\small\item\em Evaluates the cubic Bezier curve parameterized by P0, P1, C0 and C1 at the parameter value \char`\"{}at\char`\"{}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Private Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{a11864_a04bc7ed2077b7b22f15b6b94401fbcc1}\label{a11864_a04bc7ed2077b7b22f15b6b94401fbcc1}} 
{\footnotesize template$<$typename Scalar $>$ }\\static Scalar {\bfseries clamp\+To01\+Interval} (Scalar \+\_\+value)
\item 
\mbox{\Hypertarget{a11864_aa60b6c8c22b331fb6debb309f7818c9e}\label{a11864_aa60b6c8c22b331fb6debb309f7818c9e}} 
{\footnotesize template$<$typename Scalar $>$ }\\static Scalar {\bfseries abs} (Scalar \+\_\+value)
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 46 of file Animation\+Helper.\+hh.



\subsection{Member Function Documentation}
\mbox{\Hypertarget{a11864_a34048e1a800bcfb7d5411aacbb8b49d7}\label{a11864_a34048e1a800bcfb7d5411aacbb8b49d7}} 
\index{Animation\+Helper@{Animation\+Helper}!approximate\+Cubic\+Bezier\+Parameter@{approximate\+Cubic\+Bezier\+Parameter}}
\index{approximate\+Cubic\+Bezier\+Parameter@{approximate\+Cubic\+Bezier\+Parameter}!Animation\+Helper@{Animation\+Helper}}
\subsubsection{\texorpdfstring{approximate\+Cubic\+Bezier\+Parameter()}{approximateCubicBezierParameter()}}
{\footnotesize\ttfamily template$<$typename Scalar $>$ \\
float Animation\+Helper\+::approximate\+Cubic\+Bezier\+Parameter (\begin{DoxyParamCaption}\item[{Scalar}]{\+\_\+atX,  }\item[{Scalar}]{\+\_\+\+P0X,  }\item[{Scalar}]{\+\_\+\+P1X,  }\item[{Scalar}]{\+\_\+\+C0X,  }\item[{Scalar}]{\+\_\+\+C1X }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Approximates the parameter value for a Bezier curve to get a certain x value Does an iterative De\+Casteljau search for the correct value. 

$^\wedge$ $\vert$ C0-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/---C1 $\vert$ / \textbackslash{} $\vert$ / \textbackslash{} $\vert$ / \textbackslash{} $\vert$ P0 P1 $\vert$ +-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/---at\+X-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/---$>$


\begin{DoxyParams}{Parameters}
{\em \+\_\+atX} & The X value that the parameter value should be found for \\
\hline
{\em \+\_\+\+P0X} & The X value of the first key point \\
\hline
{\em \+\_\+\+P1X} & The X value of the second key point \\
\hline
{\em \+\_\+\+C0X} & The X value of the first control point \\
\hline
{\em \+\_\+\+C1X} & The X value of the second control point \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The parameter value that has to be used to get the specified X value 
\end{DoxyReturn}


Definition at line 73 of file Animation\+Helper.\+cc.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Type-\/\+Skeleton/\+Object\+Types/\+Skeleton/\+Animation/Animation\+Helper.\+hh\item 
Type-\/\+Skeleton/\+Object\+Types/\+Skeleton/\+Animation/Animation\+Helper.\+cc\end{DoxyCompactItemize}
