\hypertarget{a00857_source}{}\doxysection{AAX\+\_\+\+Map.\+h}
\label{a00857_source}\index{AAX\_Map.h@{AAX\_Map.h}}
\mbox{\hyperlink{a00857}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ \ Copyright\ 2009-\/2015,\ 2019,\ 2023\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ CONFIDENTIAL:\ this\ document\ contains\ confidential\ information\ of\ Avid.\ Do}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ not\ disclose\ to\ any\ third\ party.\ Use\ of\ the\ information\ contained\ in\ this}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ document\ is\ subject\ to\ an\ Avid\ SDK\ license.}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00017\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#ifndef\ AAX\_MAP\_H}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ AAX\_MAP\_H}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00533}{AAX.h}}"{}}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_BEGIN}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_ALG}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_END}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{comment}{//==============================================================================}}
\DoxyCodeLine{00031\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a02445}{AAX\_Map}}}
\DoxyCodeLine{00032\ \{}
\DoxyCodeLine{00033\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00034\ \ \ \ \ \mbox{\hyperlink{a02445_af8f82cb6fc13729dde0eef7cd9ac3846}{AAX\_Map}}()\ \{\};}
\DoxyCodeLine{00035\ \ \ \ \ \mbox{\hyperlink{a02445_a1ebcf52434b45b6e64f5a559efba9bdb}{\string~AAX\_Map}}()\ \{\};}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a02445_a0023c63be213ba32b1c50eca2301edf7}{SetCoefficients}}(\textcolor{keywordtype}{int}\ aSize,\ \textcolor{keywordtype}{double}*\ aInpX,\ \textcolor{keywordtype}{double}*\ aInpY);}
\DoxyCodeLine{00038\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a02445_a7776a526306675b9a302efea3941d41a}{GetCoefficient}}(\textcolor{keywordtype}{int}\ aIndex,\ \textcolor{keywordtype}{double}*\ aOutX,\ \textcolor{keywordtype}{double}*\ aOutY);}
\DoxyCodeLine{00039\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a02445_a20957b576d8a3a8b04596adf7c24ff07}{GetUpperBoundIndex}}(\textcolor{keywordtype}{double}\ inp);}
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02445_a5448134aa48e106699d799d7cac3794d}{GetX}}(\textcolor{keywordtype}{int}\ aIndex)\ \{\textcolor{keywordflow}{return}\ mX[aIndex];\};}
\DoxyCodeLine{00041\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02445_a095b47a4216633fe5167e3d661f80371}{GetY}}(\textcolor{keywordtype}{int}\ aIndex)\ \{\textcolor{keywordflow}{return}\ mY[aIndex];\};}
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02445_a1933116dc2522c0d2196ed36c2d99bcc}{GetFirstX}}()\ \{\textcolor{keywordflow}{return}\ mX[0];\};}
\DoxyCodeLine{00043\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02445_aa41cd9f24307874e62e07f75d637dde6}{GetFirstY}}()\ \{\textcolor{keywordflow}{return}\ mY[0];\};}
\DoxyCodeLine{00044\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02445_a8f3190a633e010e6f521b8582705e29b}{GetLastX}}()\ \{\textcolor{keywordflow}{return}\ mX[mSize\ -\/\ 1];\};}
\DoxyCodeLine{00045\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02445_add422d45b54cd4c109a5764434bbe6d6}{GetLastY}}()\ \{\textcolor{keywordflow}{return}\ mY[mSize\ -\/\ 1];\};}
\DoxyCodeLine{00046\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a02445_a51dd6cb01b5b743536765d559907de28}{GetSize}}()\ \{\textcolor{keywordflow}{return}\ mSize;\};}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ mMaxSize\ =\ 13;}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00052\ \ \ \ \ \textcolor{keywordtype}{int}\ mSize;}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \ \ \ \ \textcolor{keywordtype}{double}\ mX[mMaxSize];}
\DoxyCodeLine{00055\ \ \ \ \ \textcolor{keywordtype}{double}\ mY[mMaxSize];}
\DoxyCodeLine{00056\ \};}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_BEGIN}}
\DoxyCodeLine{00059\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_RESET}}
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_END}}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00062\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//AAX\_MAP\_H}}

\end{DoxyCode}
