6#ifndef imath_CSampledFunction2d_included
7#define imath_CSampledFunction2d_included
59 return m_samplesContainer.
GetSizes();
67 return m_samplesContainer.
GetAt(index);
75 m_samplesContainer.
SetAt(index, value);
Implementation of the resampled 2D-function.
virtual bool GetValueAt(const ArgumentType &argument, ResultType &result) const
istd::CIndex2d GetGridSize2d() const
bool CreateGrid2d(const istd::CIndex2d &size, double defaultValue=0)
CSampledFunction2d(const imath::ISampledFunction2d &function2d)
virtual istd::CRange GetResultValueRange(int dimensionIndex, int resultDimension=-1) const
Get range of result value for the given axis.
CSampledFunction2d(const CSampledFunction2d &function2d)
virtual istd::CRange GetLogicalRange(int dimensionIndex) const
Get logical grid position range for specified dimension.
CSampledFunction2d(const istd::CIndex2d &size, double defaultValue=0)
virtual ResultType GetValueAt(const ArgumentType &argument) const
virtual bool CreateFunction(double *dataPtr, const ArgumentType &sizes)
Create function from input data.
virtual int GetTotalSamplesCount() const
Get number of samples stored in this container.
virtual int GetGridSize(int dimensionIndex) const
Get number of samples for specified dimension.
void SetSampleValue(const istd::CIndex2d &index, double value)
double GetSampleValue(const istd::CIndex2d &index) const
Interface for a resampled function with a regular grid design.
BaseClass::ArgumentType ArgumentType
Implementation of fixed-size mathematical vector with specified type of elements.
Index implementation for addressing elements in 2D-space.
Multidimensional array with fixed number of dimensions.
const Element & GetAt(const IndexType &index) const
Get element stored at specified index.
void SetAt(const IndexType &index, const Element &value)
Set element at specified index.
const SizesType & GetSizes() const
Get list of all sizes.
bool IsInside(const TIndex &boundaries) const
Check if index is inside boundaries.
Package with mathematical functions and algebraical primitives.