OEShapeQuery¶
class OEShapeQuery : public OEShapeQueryBase
The OEShapeQuery class defines an interface for creating a shape query, useful for defining a reference system for shape/color overlap calculations.
- The following methods are publicly inherited from OEBase:
- The following methods are publicly inherited from OEShapeQueryBase:
- The OEShapeQuery class defines the following public methods:
AddColorGaussian¶
void AddColorGaussian(const OESystem::OEGaussianBase&)
Adds the specified color gaussian to the query.
AddShapeGaussian¶
void AddShapeGaussian(const OESystem::OEGaussianBase&)
Adds the specified shape gaussian to the query.
DeleteColorGaussian¶
bool DeleteColorGaussian(OESystem::OEGaussianBase*)
Removes the specified color gaussian from the query.
DeleteShapeGaussian¶
bool DeleteShapeGaussian(OESystem::OEGaussianBase*)
Removes the specified shape gaussian from the query.
SetAtomStrength¶
bool SetAtomStrength(OEChem::OEAtomBase& atom, const unsigned strength)
Sets the strength of the specified atom. A strength of larger than 1 means
that the atom should be represented by multiple atoms at the same location.
The atom must be a part of the molecule contained in the query, and may not
be a color atom. Method returns False
is the strength could not be set.
SetShapeGrid¶
void SetShapeGrid(const OESystem::OEScalarGrid&)
Adds the specified shape grid to the query.