Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
obsidian::world::Query Struct Reference

Public Member Functions

 Query (const std::vector< InterpolatorSpec > &boundaries, WorldSpec region, uint resX, uint resY, uint resZ, SamplingStrategy sampling=SamplingStrategy::noAA)
 Create a new query. More...
 
 Query (const std::vector< InterpolatorSpec > &boundaries, WorldSpec region, Eigen::MatrixXd locations)
 
void initInterpolatorWeights (const std::vector< InterpolatorSpec > &boundaries)
 Initialise interpolator weights. More...
 
 Query ()
 Default constructor for global objects.
 
int numPoints () const
 Get the number of points in the query. More...
 

Public Attributes

uint resX
 The control point resolution in the x direction (longitude).
 
uint resY
 The control point resolution in the y direction (latitude).
 
uint resZ
 The control point resolution in the z direction (depth).
 
Eigen::MatrixXd positionXY
 
Eigen::VectorXd edgeX
 A vector containing the.
 
Eigen::VectorXd edgeY
 
Eigen::VectorXd edgeZ
 
SamplingStrategy sampling
 
bool cacheInitialised
 Flag indicating whether the cache has been initialised.
 
bool boundariesAreTimes
 
std::vector< Eigen::MatrixXd > interpolatorWeights
 

Constructor & Destructor Documentation

obsidian::world::Query::Query ( const std::vector< InterpolatorSpec > &  boundaries,
WorldSpec  region,
uint  resX,
uint  resY,
uint  resZ,
SamplingStrategy  sampling = SamplingStrategy::noAA 
)
inline

Create a new query.

Parameters
boundariesList of interpolator specifications.
regionThe world specifications.
resXThe resolution in the X direction.
resYThe resolution in the X direction.
resZThe resolution in the X direction.
samplingThe sampling strategy used.

Member Function Documentation

void obsidian::world::Query::initInterpolatorWeights ( const std::vector< InterpolatorSpec > &  boundaries)
inline

Initialise interpolator weights.

Parameters
boundariesList of interpolator specifications.
int obsidian::world::Query::numPoints ( ) const
inline

Get the number of points in the query.

Returns
The number of points in the query.

The documentation for this struct was generated from the following file: