23template <
int ArgumentDimensions,
int ResultDimensions>
26 istd::TIndex<ArgumentDimensions>,
27 TVector<ResultDimensions> >,
91template <
int ArgumentDimensions,
int ResultDimensions>
94 return ArgumentDimensions;
98template <
int ArgumentDimensions,
int ResultDimensions>
101 return ResultDimensions;
double operator[](int index) const
Template interface for any mathematical function.
Interface for a resampled function with a regular grid design.
virtual bool CreateFunction(double *dataPtr, const ArgumentType &sizes)=0
Create function from input data.
virtual istd::CRange GetLogicalRange(int dimensionIndex) const =0
Get logical range for the specified dimension.
BaseClass::ResultType ResultType
BaseClass::ArgumentType ArgumentType
virtual istd::CRange GetResultValueRange(int dimensionIndex, int resultDimension=-1) const =0
Get the range (boundary) of possible result values for the given axis.
virtual int GetGridSize(int dimensionIndex) const =0
Get number of samples for specified dimension.
virtual int GetArgumentDimensionality() const
Get the number of argument components.
virtual std::vector< double > GetSamples() const =0
Get all samples as a vector.
virtual double GetSampleAt(const SampleIndex &index) const =0
Get sample value at the given index.
virtual int GetTotalSamplesCount() const =0
Get number of samples stored in this container.
virtual int GetResultDimensionality() const
Get the number of result components.
istd::TIndex< ArgumentDimensions > SampleIndex
imath::TIMathFunction< istd::TIndex< ArgumentDimensions >, imath::TVector< ResultDimensions > > BaseClass
Implementation of fixed-size mathematical vector with specified type of elements.
Common interface for data model objects, which can be changed.
Multidimensional index used to addressing fixed-size array.
Package with mathematical functions and algebraical primitives.
TISampledFunction< 2, 1 > ISampledFunction2d