\XtoCBlock{LookupTable3D}
\label{block:LookupTable3D}
\begin{figure}[H]\includegraphics{LookupTable3D}\end{figure} 
Three dimensional look-up table with selectable number of data points.

  Table data must be an array of size DimX*DimY*DimZ.

  If input is out of specified range, output will be cut off (no extrapolation).

\begin{XtoCtabular}{Inports}
x & Table index in x direction\\
\hline
y & Table index in y direction\\
\hline
z & Table index in z direction\\
\hline
\end{XtoCtabular}


\begin{XtoCtabular}{Outports}
Out & Table output\\
\hline
\end{XtoCtabular}

\begin{XtoCMaskParamTabular}{Mask Parameters}
TableData & 1 & Look-up table data\\
\hline
DimX & 2 & Number of data points in x-direction\\
\hline
x\_min & 3 & Minimum input value of x-dimension for look-up table\\
\hline
x\_max & 4 & Maximum input value of x-dimension for look-up table\\
\hline
DimY & 5 & Number of data points in y-direction\\
\hline
y\_max & 6 & Maximum input value of y-dimension for look-up table\\
\hline
y\_min & 7 & Minimum input value of y-dimension for look-up table\\
\hline
DimZ & 8 & Number of data points in z-direction\\
\hline
z\_min & 9 & Minimum input value of z-dimension for look-up table\\
\hline
z\_max & 10 & Maximum input value of z-dimension for look-up table\\
\hline
\end{XtoCMaskParamTabular}

\ifdefined \XcOverviewDocu
% omit optional documentation file
\else
% include optional documentation file
\IfFileExists{\XcHomePath/Library/General/Doc/LookupTable3D_Info.tex}
  {\subsubsection*{Description:}
   \input{\XcHomePath/Library/General/Doc/LookupTable3D_Info.tex}}
  {\vspace{1ex}}
\fi

\subsubsection*{Implementations:}
\begin{tabular}{l l}
\textbf{FiP16} & 16 Bit Fixed Point Implementation\\
\textbf{FiP32} & 32 Bit Fixed Point Implementation\\
\textbf{Float32} & 32 Bit Floating Point Implementation\\
\textbf{Float64} & 64 Bit Floating Point Implementation\\
\end{tabular}

\ifdefined \XcOverviewDocu
% omit implementation details and test reports
\else
\XtoCImplementation{FiP16}
\nopagebreak[0]

16 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
x & int16\\
\hline
y & int16\\
\hline
z & int16\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & int16\\
\hline
\end{XtoCtabular}

\XtoCImplementation{FiP32}
\nopagebreak[0]

32 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
x & int32\\
\hline
y & int32\\
\hline
z & int32\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & int32\\
\hline
\end{XtoCtabular}

\XtoCImplementation{Float32}
\nopagebreak[0]

32 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
x & float32\\
\hline
y & float32\\
\hline
z & float32\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & float32\\
\hline
\end{XtoCtabular}

\XtoCImplementation{Float64}
\nopagebreak[0]

64 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
x & float64\\
\hline
y & float64\\
\hline
z & float64\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & float64\\
\hline
\end{XtoCtabular}

\ifdefined \AddTestReports
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable3D_FiP16.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable3D_FiP32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable3D_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable3D_Float64.tex}{}{}
\fi
\fi
