25 #include <openbabel/babelconfig.h> 35 class GridDataPrivate;
49 typedef enum { BOHR, ANGSTROM, OTHER }
Unit;
53 void GetAxes(
double x[3],
double y[3],
double z[3])
const;
66 void GetNumberOfPoints(
int &nx,
int &ny,
int &nz)
const;
68 int GetNumberOfPoints()
const;
70 void GetNumberOfSteps(
int steps[3])
const;
72 std::vector< double > GetValues()
const;
74 double GetValue(
int i,
int j,
int k)
const;
76 double GetValue (
vector3 pos)
const;
80 double GetMinValue()
const;
82 double GetMaxValue()
const;
84 vector3 GetOriginVector()
const;
88 void GetOriginVector(
double o[3])
const;
92 bool GetUnrestricted()
const;
94 int GetNumSymmetries()
const;
100 void SetNumberOfPoints(
int nx,
int ny,
int nz);
110 void SetLimits(
const double origin[3],
const double x[3],
const double y[3],
113 bool SetValue(
int i,
int j,
int k,
double val);
115 void SetValues(
const std::vector< double >& v);
117 void SetUnit(Unit u);
119 void SetUnrestricted(
bool u);
121 void SetNumSymmetries(
int s);
125 GridDataPrivate *
const d;
Base class for generic data.
Definition: base.h:188
Unit
Unit of measure for grid spacings.
Definition: griddata.h:49
Represents a vector in 3-dimensional real space.
Definition: vector3.h:44
Handle generic data classes. Custom data for atoms, bonds, etc.
Store values for numeric grids such as orbitals or electrostatic potential.
Definition: griddata.h:39
Global namespace for all Open Babel code.
Definition: alias.h:22