\hypertarget{a00287}{\section{Animation\+Helper Class Reference}
\label{a00287}\index{Animation\+Helper@{Animation\+Helper}}
}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Scalar $>$ }\\static float \hyperlink{a00287_a34048e1a800bcfb7d5411aacbb8b49d7}{approximate\+Cubic\+Bezier\+Parameter} (Scalar \+\_\+at\+X, Scalar \+\_\+\+P0\+X, Scalar \+\_\+\+P1\+X, Scalar \+\_\+\+C0\+X, Scalar \+\_\+\+C1\+X)
\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 
\hypertarget{a00287_ad161eca9b099c38804d97ee047982b0d}{{\footnotesize template$<$typename Scalar $>$ }\\static std\+::vector$<$ Scalar $>$ \hyperlink{a00287_ad161eca9b099c38804d97ee047982b0d}{evaluate\+Bezier} (float at, std\+::vector$<$ Scalar $>$ \+\_\+\+P0, std\+::vector$<$ Scalar $>$ \+\_\+\+P1, std\+::vector$<$ Scalar $>$ \+\_\+\+C0, std\+::vector$<$ Scalar $>$ \+\_\+\+C1)}\label{a00287_ad161eca9b099c38804d97ee047982b0d}

\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 
\hypertarget{a00287_a04bc7ed2077b7b22f15b6b94401fbcc1}{{\footnotesize template$<$typename Scalar $>$ }\\static Scalar {\bfseries clamp\+To01\+Interval} (Scalar \+\_\+value)}\label{a00287_a04bc7ed2077b7b22f15b6b94401fbcc1}

\item 
\hypertarget{a00287_aa60b6c8c22b331fb6debb309f7818c9e}{{\footnotesize template$<$typename Scalar $>$ }\\static Scalar {\bfseries abs} (Scalar \+\_\+value)}\label{a00287_aa60b6c8c22b331fb6debb309f7818c9e}

\end{DoxyCompactItemize}


\subsection{Detailed Description}


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



\subsection{Member Function Documentation}
\hypertarget{a00287_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[{approximate\+Cubic\+Bezier\+Parameter}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Scalar $>$ float Animation\+Helper\+::approximate\+Cubic\+Bezier\+Parameter (
\begin{DoxyParamCaption}
\item[{Scalar}]{\+\_\+at\+X, }
\item[{Scalar}]{\+\_\+\+P0\+X, }
\item[{Scalar}]{\+\_\+\+P1\+X, }
\item[{Scalar}]{\+\_\+\+C0\+X, }
\item[{Scalar}]{\+\_\+\+C1\+X}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{a00287_a34048e1a800bcfb7d5411aacbb8b49d7}


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 \+\_\+at\+X} & The X value that the parameter value should be found for \\
\hline
{\em \+\_\+\+P0\+X} & The X value of the first key point \\
\hline
{\em \+\_\+\+P1\+X} & The X value of the second key point \\
\hline
{\em \+\_\+\+C0\+X} & The X value of the first control point \\
\hline
{\em \+\_\+\+C1\+X} & 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 79 of file Animation\+Helper.\+cc.



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