#include <openbabel/grid.h>
◆ OBGrid()
◆ Init()
Initialize the grid based on a box around the molecule box
Subclasses should overload this method – this only tracks the dimension of the box itself.
◆ GetXmin()
- Returns
- the minimum x point of the grid
◆ GetYmin()
- Returns
- the minimum y point of the grid
◆ GetZmin()
- Returns
- the minimum z point of the grid
◆ GetXmax()
- Returns
- the maximum x point of the grid
◆ GetYmax()
- Returns
- the maximum y point of the grid
◆ GetZmax()
- Returns
- the maximum z point of the grid
◆ PointIsInBox() [1/3]
bool PointIsInBox |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
- Returns
- whether the supplied XYZ coordinates fall within the box
◆ PointIsInBox() [2/3]
bool PointIsInBox |
( |
double * |
c | ) |
|
|
inline |
- Returns
- true if the point falls within the box
◆ PointIsInBox() [3/3]
- Returns
- true if the point falls within the box
◆ Clear()
◆ DoTransformations()
virtual OBBase* DoTransformations |
( |
const std::map< std::string, std::string > * |
, |
|
|
OBConversion * |
|
|
) |
| |
|
inlinevirtualinherited |
◆ ClassDescription()
static const char* ClassDescription |
( |
| ) |
|
|
inlinestaticinherited |
◆ CastAndClear()
T* CastAndClear |
( |
bool |
clear = true | ) |
|
|
inlineinherited |
By default clears the object. Called from ReadMolecule of most format classes.
◆ GetTitle()
virtual const char* GetTitle |
( |
bool |
replaceNewlines = true | ) |
const |
|
inlinevirtualinherited |
◆ SetTitle()
virtual void SetTitle |
( |
const char * |
| ) |
|
|
inlinevirtualinherited |
◆ HasData() [1/3]
bool HasData |
( |
const std::string & |
s | ) |
|
|
inherited |
- Returns
- whether the generic attribute/value pair exists
Referenced by OBDepict::AddAtomLabels(), OBDepict::DrawMolecule(), AliasData::Expand(), OBForceField::GetAtomTypes(), OBForceField::GetConformers(), OBForceField::GetCoordinates(), OBMol::GetEnergies(), OBMol::GetEnergy(), OBForceField::GetPartialCharges(), OBDescriptor::MatchPairData(), OBMoleculeFormat::ReadChemObjectImpl(), and OBMol::SetEnergies().
◆ HasData() [2/3]
bool HasData |
( |
const char * |
s | ) |
|
|
inherited |
- Returns
- whether the generic attribute/value pair exists
◆ HasData() [3/3]
bool HasData |
( |
const unsigned int |
type | ) |
|
|
inherited |
- Returns
- whether the generic attribute/value pair exists, for a given OBGenericDataType
◆ DeleteData() [1/4]
void DeleteData |
( |
unsigned int |
type | ) |
|
|
inherited |
◆ DeleteData() [2/4]
Delete the given generic data from this object.
◆ DeleteData() [3/4]
Delete all of the given generic data from this object.
◆ DeleteData() [4/4]
bool DeleteData |
( |
const std::string & |
s | ) |
|
|
inherited |
Deletes the generic data with the specified attribute, returning false if not found.
◆ SetData()
Adds a data object; does nothing if d==NULL.
Referenced by OBGastChrg::AssignPartialCharges(), OBMol::CopySubstructure(), AliasData::Expand(), OBForceField::GetAtomTypes(), OBForceField::GetConformers(), OBForceField::GetCoordinates(), OBMol::GetEnergies(), OBMol::GetEnergy(), OBForceField::GetPartialCharges(), OBMoleculeFormat::MakeCombinedMolecule(), OBDescriptor::PredictAndSave(), AliasData::RevertToAliasForm(), and OBMol::SetEnergies().
◆ CloneData()
Adds a copy of a data object; does nothing if d == NULL
- Since
- version 2.2
Referenced by AliasData::Expand().
◆ DataSize()
size_t DataSize |
( |
| ) |
const |
|
inlineinherited |
- Returns
- the number of OBGenericData items attached to this molecule.
◆ GetData() [1/5]
- Returns
- the first matching data for a given type from OBGenericDataType or NULL if nothing matches
Referenced by OBDepict::AddAtomLabels(), OBDepict::DrawMolecule(), OpenBabel::extract_thermochemistry(), OBDescriptor::FilterCompare(), OpenBabel::GetAtomSymClass(), OBForceField::GetAtomTypes(), OBForceField::GetConformers(), OBForceField::GetCoordinates(), OBForceField::GetPartialCharges(), OBDescriptor::GetValues(), OpenBabel::IsSuppressibleHydrogen(), OBMoleculeFormat::MakeCombinedMolecule(), OBMolAngleIter::OBMolAngleIter(), OBMolRingIter::OBMolRingIter(), OBMolTorsionIter::OBMolTorsionIter(), and OBDescriptor::PredictAndSave().
◆ GetData() [2/5]
- Returns
- any data matching the given attribute name or NULL if nothing matches
-
the value given an attribute name
◆ GetData() [3/5]
- Returns
- any data matching the given attribute name or NULL if nothing matches
-
the value given an attribute name
◆ GetData() [4/5]
◆ GetData() [5/5]
- Returns
- all data with a specific origin, suitable for iterating
◆ GetAllData()
std::vector< OBGenericData * > GetAllData |
( |
const unsigned int |
type | ) |
|
|
inherited |
◆ BeginData()
◆ EndData()
◆ _xmin
◆ _xmax
◆ _ymin
◆ _ymax
◆ _zmin
◆ _zmax
◆ _vdata
The documentation for this class was generated from the following files: