\hypertarget{a00869_source}{}\doxysection{AAX\+\_\+\+Map.\+h}
\label{a00869_source}\index{AAX\_Map.h@{AAX\_Map.h}}
\mbox{\hyperlink{a00869}{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-\/2024\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ This\ file\ is\ part\ of\ the\ Avid\ AAX\ SDK.}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ The\ AAX\ SDK\ is\ subject\ to\ commercial\ or\ open-\/source\ licensing.}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ \ By\ using\ the\ AAX\ SDK,\ you\ agree\ to\ the\ terms\ of\ both\ the\ Avid\ AAX\ SDK\ License}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ Agreement\ and\ Avid\ Privacy\ Policy.}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ \ AAX\ SDK\ License:\ https://developer.avid.com/aax}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ Privacy\ Policy:\ https://www.avid.com/legal/privacy-\/policy-\/statement}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ \ Or:\ You\ may\ also\ use\ this\ code\ under\ the\ terms\ of\ the\ GPL\ v3\ (see}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ \ www.gnu.org/licenses).}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ \ THE\ AAX\ SDK\ IS\ PROVIDED\ "{}AS\ IS"{}\ WITHOUT\ ANY\ WARRANTY,\ AND\ ALL\ WARRANTIES,\ WHETHER}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ \ EXPRESSED\ OR\ IMPLIED,\ INCLUDING\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ PURPOSE,\ ARE}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ \ DISCLAIMED.}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00030\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00031\ }
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#ifndef\ AAX\_MAP\_H}}
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#define\ AAX\_MAP\_H}}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00542}{AAX.h}}"{}}}
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_BEGIN}}
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_ALG}}
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_END}}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \textcolor{comment}{//==============================================================================}}
\DoxyCodeLine{00044\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a02474}{AAX\_Map}}}
\DoxyCodeLine{00045\ \{}
\DoxyCodeLine{00046\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00047\ \ \ \ \ \mbox{\hyperlink{a02474_af8f82cb6fc13729dde0eef7cd9ac3846}{AAX\_Map}}()\ \{\};}
\DoxyCodeLine{00048\ \ \ \ \ \mbox{\hyperlink{a02474_a1ebcf52434b45b6e64f5a559efba9bdb}{\string~AAX\_Map}}()\ \{\};}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a02474_a0023c63be213ba32b1c50eca2301edf7}{SetCoefficients}}(\textcolor{keywordtype}{int}\ aSize,\ \textcolor{keywordtype}{double}*\ aInpX,\ \textcolor{keywordtype}{double}*\ aInpY);}
\DoxyCodeLine{00051\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a02474_a7776a526306675b9a302efea3941d41a}{GetCoefficient}}(\textcolor{keywordtype}{int}\ aIndex,\ \textcolor{keywordtype}{double}*\ aOutX,\ \textcolor{keywordtype}{double}*\ aOutY);}
\DoxyCodeLine{00052\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a02474_a20957b576d8a3a8b04596adf7c24ff07}{GetUpperBoundIndex}}(\textcolor{keywordtype}{double}\ inp);}
\DoxyCodeLine{00053\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02474_a5448134aa48e106699d799d7cac3794d}{GetX}}(\textcolor{keywordtype}{int}\ aIndex)\ \{\textcolor{keywordflow}{return}\ mX[aIndex];\};}
\DoxyCodeLine{00054\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02474_a095b47a4216633fe5167e3d661f80371}{GetY}}(\textcolor{keywordtype}{int}\ aIndex)\ \{\textcolor{keywordflow}{return}\ mY[aIndex];\};}
\DoxyCodeLine{00055\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02474_a1933116dc2522c0d2196ed36c2d99bcc}{GetFirstX}}()\ \{\textcolor{keywordflow}{return}\ mX[0];\};}
\DoxyCodeLine{00056\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02474_aa41cd9f24307874e62e07f75d637dde6}{GetFirstY}}()\ \{\textcolor{keywordflow}{return}\ mY[0];\};}
\DoxyCodeLine{00057\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02474_a8f3190a633e010e6f521b8582705e29b}{GetLastX}}()\ \{\textcolor{keywordflow}{return}\ mX[mSize\ -\/\ 1];\};}
\DoxyCodeLine{00058\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{double}\ \mbox{\hyperlink{a02474_add422d45b54cd4c109a5764434bbe6d6}{GetLastY}}()\ \{\textcolor{keywordflow}{return}\ mY[mSize\ -\/\ 1];\};}
\DoxyCodeLine{00059\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a02474_a51dd6cb01b5b743536765d559907de28}{GetSize}}()\ \{\textcolor{keywordflow}{return}\ mSize;\};}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ mMaxSize\ =\ 13;}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00065\ \ \ \ \ \textcolor{keywordtype}{int}\ mSize;}
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00067\ \ \ \ \ \textcolor{keywordtype}{double}\ mX[mMaxSize];}
\DoxyCodeLine{00068\ \ \ \ \ \textcolor{keywordtype}{double}\ mY[mMaxSize];}
\DoxyCodeLine{00069\ \};}
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00071\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_BEGIN}}
\DoxyCodeLine{00072\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_RESET}}
\DoxyCodeLine{00073\ \textcolor{preprocessor}{\#include\ AAX\_ALIGN\_FILE\_END}}
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00075\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//AAX\_MAP\_H}}

\end{DoxyCode}
