occ
|
Clean volumetric data representation using Eigen::Tensor. More...
#include <volume_data.h>
Public Member Functions | |
int | nx () const |
int | ny () const |
int | nz () const |
size_t | total_points () const |
Vec3 | spacing () const |
Vec3 | dimensions () const |
Vec3 | grid_to_coords (int i, int j, int k) const |
double & | operator() (int i, int j, int k) |
const double & | operator() (int i, int j, int k) const |
Public Attributes | |
Vec3 | origin |
Mat3 | basis |
IVec3 | steps |
std::vector< core::Atom > | atoms |
Eigen::Tensor< double, 3 > | data |
std::string | name |
VolumePropertyKind | property |
Clean volumetric data representation using Eigen::Tensor.
This struct holds all the data needed to represent a 3D scalar field on a regular grid, with proper linear algebra types.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::vector<core::Atom> occ::isosurface::VolumeData::atoms |
Mat3 occ::isosurface::VolumeData::basis |
Eigen::Tensor<double, 3> occ::isosurface::VolumeData::data |
std::string occ::isosurface::VolumeData::name |
Vec3 occ::isosurface::VolumeData::origin |
VolumePropertyKind occ::isosurface::VolumeData::property |
IVec3 occ::isosurface::VolumeData::steps |