21 template <
typename Real>
27 Real xSpacing, Real yMin, Real ySpacing, Real zMin, Real zSpacing,
35 inline Real
const*
GetF()
const;
54 Real
operator()(
int xOrder,
int yOrder,
int zOrder, Real x, Real y,
67 template <
typename Real>
69 Real xMin, Real xSpacing, Real yMin, Real ySpacing, Real zMin,
70 Real zSpacing, Real
const* F)
104 template <
typename Real>
inline 110 template <
typename Real>
inline 116 template <
typename Real>
inline 122 template <
typename Real>
inline 128 template <
typename Real>
inline 134 template <
typename Real>
inline 140 template <
typename Real>
inline 146 template <
typename Real>
inline 152 template <
typename Real>
inline 158 template <
typename Real>
inline 164 template <
typename Real>
inline 170 template <
typename Real>
inline 176 template <
typename Real>
inline 182 template <
typename Real>
inline 188 template <
typename Real>
193 int ix =
static_cast<int>(xIndex);
205 int iy =
static_cast<int>(yIndex);
217 int iz =
static_cast<int>(zIndex);
240 Real P[2], Q[2], R[2];
246 for (
int col = 0; col < 2; ++col)
257 for (
int slice = 0; slice < 2; ++slice)
259 int zClamp = iz + slice;
267 int yClamp = iy +
row;
273 for (
int col = 0; col < 2; ++col)
275 int xClamp = ix + col;
281 result += P[col] * Q[
row] * R[slice] *
290 template <
typename Real>
292 Real
x, Real
y, Real
z)
const 296 int ix =
static_cast<int>(xIndex);
308 int iy =
static_cast<int>(yIndex);
320 int iz =
static_cast<int>(zIndex);
330 Real U[2], dx, xMult;
349 Real V[2], dy, yMult;
368 Real W[2], dz, zMult;
388 Real P[2], Q[2], R[2];
394 for (
int col = 0; col < 2; ++col)
405 for (
int slice = 0; slice < 2; ++slice)
407 int zClamp = iz + slice;
415 int yClamp = iy +
row;
421 for (
int col = 0; col < 2; ++col)
423 int xClamp = ix + col;
429 result += P[col] * Q[
row] * R[slice] *
434 result *= xMult * yMult * zMult;
#define LogAssert(condition, message)
GLenum GLenum GLsizei void * row
GLdouble GLdouble GLdouble z
Real const * GetF() const
Real operator()(Real x, Real y, Real z) const
IntpTrilinear3(int xBound, int yBound, int zBound, Real xMin, Real xSpacing, Real yMin, Real ySpacing, Real zMin, Real zSpacing, Real const *F)