ArraySamplers.hpp
Go to the documentation of this file.
NearestArraySampler()=default
Default constructor.
Definition: ArraySamplers.hpp:252
Definition: ArrayView.hpp:60
NearestArraySampler & operator=(const NearestArraySampler &other)
Copy assignment operator.
Definition: ArraySamplers-Impl.hpp:207
typename GetScalarType< T >::value ScalarType
Definition: ArraySamplers.hpp:266
typename GetScalarType< CubbyFlow::Matrix< double, N > >::value ScalarType
Definition: ArraySamplers.hpp:111
~NearestArraySampler()=default
Default destructor.
typename GetScalarType< T >::value ScalarType
Definition: ArraySamplers.hpp:254
typename GetScalarType< T >::value ScalarType
Definition: ArraySamplers.hpp:34
Definition: Matrix.hpp:27
T operator()(const VectorType &pt) const
Returns sampled value at point pt.
Definition: ArraySamplers-Impl.hpp:231
T operator()(const T &f0, const T &f1, const T &f2, const T &f3, ScalarType t) const
Definition: ArraySamplers.hpp:256
Definition: pybind11Utils.hpp:20
std::function< T(const VectorType &)> Functor() const
Returns a std::function object that wraps this instance.
Definition: ArraySamplers-Impl.hpp:257
std::enable_if_t< std::is_arithmetic< T >::value, S > CatmullRom(const S &f0, const S &f1, const S &f2, const S &f3, T t)
Computes Catmull-Rom interpolation.
Definition: MathUtils-Impl.hpp:318
Definition: ArraySamplers.hpp:264
std::enable_if_t< std::is_arithmetic< T >::value, T > MonotonicCatmullRom(const T &f0, const T &f1, const T &f2, const T &f3, T t)
Computes monotonic Catmull-Rom interpolation.
Definition: MathUtils-Impl.hpp:336
CoordIndexType GetCoordinate(const VectorType &pt) const
Returns the nearest array index for point pt.
Definition: ArraySamplers-Impl.hpp:238
N-D array sampler using linear interpolation.
Definition: ArraySamplers.hpp:106
T operator()(const T &f0, const T &f1, const T &f2, const T &f3, ScalarType t) const
Definition: ArraySamplers.hpp:268
typename GetScalarType< T >::value ScalarType
Definition: ArraySamplers.hpp:200