Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
grid.hpp File Reference

Contains the interface for creating grids. More...

#include "datatype/world.hpp"
Include dependency graph for grid.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 obsidian
 
 obsidian::world
 

Functions

Eigen::MatrixXd obsidian::world::internalGrid2D (std::pair< double, double > xMinMax, std::pair< double, double > yMinMax, uint resx, uint resy)
 
Eigen::MatrixXd obsidian::world::internalGrid2DX (std::pair< double, double > xMinMax, std::pair< double, double > yMinMax, uint resx, uint resy)
 
Eigen::MatrixXd obsidian::world::edgeGrid2D (std::pair< double, double > xMinMax, std::pair< double, double > yMinMax, uint resx, uint resy)
 
Eigen::VectorXd obsidian::world::flatten (const Eigen::MatrixXd &matrix)
 Maps all the columns of a matrix into a single column vector. Equivalent to the colon operator A(:) in MATLAB. More...
 
Eigen::VectorXi obsidian::world::flatten (const Eigen::MatrixXi &matrix)
 Maps all the columns of a matrix into a single column vector. Equivalent to the colon operator A(:) in MATLAB. More...
 
std::pair< Eigen::MatrixXd,
std::pair< Eigen::MatrixXd,
Eigen::MatrixXd > > 
obsidian::world::makeGrid (const Eigen::Vector2d &boundaryStart, const Eigen::Vector2d &boundaryEnd, const Eigen::Vector2i &resolution, int padding=0)
 Compute a regular 2D grid given the boundaries and resolutions in the x and y directions. More...
 
Eigen::MatrixXd obsidian::world::sensorGrid (const WorldSpec &worldSpec, uint resx, uint resy, double sensorZ)
 
Eigen::MatrixXd obsidian::world::sensorGrid3d (const WorldSpec &worldSpec, uint resx, uint resy, uint resz)
 

Detailed Description

Contains the interface for creating grids.

Author
Alistair Reid
Darren Shen
Date
2014
License:
Affero General Public License version 3 or later