#include <Goptical/Data/Grid>
namespace Goptical {
namespace Data {
class Grid;
};
};
This class is a member of the Data namespace.
This class provides a numerical data container where data value can be defined for each point of a 2d rectangular grid. The grid is defined by grid samples count (n1, n2), a 2d origin vector and 2 steps values.
Severals interpolation algorithms are available to guess values between grid defined knots, see Interpolation .
See also the full member list section for this class.
Create a Grid object with given sample counts and metrics.
No documentation available
This virtual function implements the get_count pure function declared in the Set base abstract class.
Documentation inherited from base class:
Get total number of data stored for dimension n in data set
Get 1st derivative/gradient vector at sample point index (n1, n2). Only available when Data::BicubicDeriv interpolation is selected.
Get modifiable reference to 1st derivative/gradient vector at sample point index (n1, n2). Only available when Data::BicubicDeriv interpolation is selected.
This virtual function implements the get_dimensions pure function declared in the Set base abstract class.
Documentation inherited from base class:
Get total number of dimensions
Get 1st derivative/gradient vector stored at nearest sample point from 2d vector on grid. Only available when Data::BicubicDeriv interpolation is selected.
Get modifiable reference to 1st derivative/gradient vector stored at nearest sample point from 2d vector on grid. Only available when Data::BicubicDeriv interpolation is selected.
Get value stored at nearest sample point from 2d vector on grid
Get modifiable reference to value stored at nearest sample point from 2d vector on grid
Get origin vector
Get step values vector
This virtual function implements the get_x_range pure function declared in the Set base abstract class.
Documentation inherited from base class:
Get minimal and maximal x values on dimension n found in data set
This virtual function implements the get_x_value pure function declared in the Set base abstract class.
Documentation inherited from base class:
Get data stored at position n on dimension dim in data set
Get 2d vector on grid of the sample point at index (n1, n2)
Get value stored at sample point index (n1, n2)
Get modifiable reference to value stored at sample point index (n1, n2)
This virtual function implements the get_y_value pure function declared in the Set base abstract class.
Documentation inherited from base class:
Get y data stored at position (x0, x1, ...) in data set
Interpolate data at given 2d vector point on grid using currently selected interpolation algorithm
This virtual function implements the interpolate pure function declared in the Set base abstract class.
Documentation inherited from base class:
Interpolate y value corresponding to given x value(s) in data set.
This virtual function implements the interpolate pure function declared in the Set base abstract class.
Documentation inherited from base class:
Interpolate y value corresponding to given x value in data set. Data may be differentiated several times along the requested dimension.
Interpolate gradient at given 2d vector point on grid using currently selected interpolation algorithm
Change grid size by defining new sample counts for each dimensions
Change all grid points stored gradient. Only available when Data::BicubicDeriv interpolation is selected.
Change all grid points stored values
This virtual function implements the set_interpolation pure function declared in the Set base abstract class.
Documentation inherited from base class:
Select interpolation method
Set grid origin 2d vector and step values
Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:23 2012 using MkDoc