BALL
1.4.79
|
#include <BALL/SCORING/COMMON/scoreGridSet.h>
Public Attributes | |
String | name |
Size | reference_interactions |
double | interaction_no_scale_ |
Friends | |
class | GridBasedScoring |
A ScoreGridSet is a set of grids that describes a specified area with one Grid for each AtomType
Definition at line 22 of file scoreGridSet.h.
BALL::ScoreGridSet::ScoreGridSet | ( | GridBasedScoring * | gbs, |
Vector3 & | v_origin, | ||
Vector3 & | size, | ||
double & | resolution | ||
) |
constructor. create a ScoreGridSet with the given given resolution, starting at the specified origin.
size | the number of cells on each axis |
BALL::ScoreGridSet::ScoreGridSet | ( | GridBasedScoring * | gbs | ) |
BALL::ScoreGridSet::ScoreGridSet | ( | ScoreGridSet * | sgs | ) |
creates a ScoreGridSet by use of an existing ScoreGridSet.
This can be helpful for using several ScoreGridSets for the same molecule .
BALL::ScoreGridSet::ScoreGridSet | ( | ) |
Constructor for using a ScoreGridSet independent of a ScoringFunction. Use it only if you just want to read/write/examine grids without using the grids during scoring/docking.
BALL::ScoreGridSet::~ScoreGridSet | ( | ) |
void BALL::ScoreGridSet::binaryRead | ( | std::istream & | input | ) |
void BALL::ScoreGridSet::binaryWrite | ( | std::ostream & | output | ) |
void BALL::ScoreGridSet::clearData | ( | ) |
Reset all grid cells to zero.
std::list<std::pair<String, BALL::RegularData3D*> > BALL::ScoreGridSet::convertToRegularData3DGrids | ( | ) |
Converts the content of this object to RegularData3D grids, e.g. for visualization purposes. For each atom type, one RegularData3D grid is created.
void BALL::ScoreGridSet::disable | ( | ) |
disables the current ScoreGridSet, so that is is not taken into account when calculating scores
void BALL::ScoreGridSet::enable | ( | ) |
enables the current ScoreGridSet, so that is is taken into account when calculating scores
Vector3 BALL::ScoreGridSet::getCenter | ( | ) |
return the geometrical center of this ScoreGridSet
fetches the score for a given atom position from the specified ScoreGrid.
if | set to true, linear interpolation between the neighboring grid cells is done |
Vector3 BALL::ScoreGridSet::getOrigin | ( | ) |
return the origin of this ScoreGridSet
PharmacophoreConstraint* BALL::ScoreGridSet::getPharmacophoreConstraint | ( | ) |
bool BALL::ScoreGridSet::isEnabled | ( | ) |
void BALL::ScoreGridSet::moveTo | ( | Vector3 & | destination | ) |
moves ( == translates, no rotation) the ScoreGridSet in such a way, that its center will be located at the given destination
Size BALL::ScoreGridSet::noGrids | ( | ) |
void BALL::ScoreGridSet::operator+= | ( | ScoreGridSet & | sgs | ) |
Add values of the given ScoreGridSet to this ScoreGridSet. Cells of the given ScoreGridSet that are locate outside of the range of this ScoreGridSet will be ignored ! Note that in order to be able to use this function, both ScoreGridSets must have been created for the same atom types!
void BALL::ScoreGridSet::operator-= | ( | ScoreGridSet & | sgs | ) |
Substracts values of the given ScoreGridSet from this ScoreGridSet. Cells of the given ScoreGridSet that are locate outside of the range of this ScoreGridSet will be ignored ! Note that in order to be able to use this function, both ScoreGridSets must have been created for the same atom types!
ScoreGrid& BALL::ScoreGridSet::operator[] | ( | int | i | ) |
void BALL::ScoreGridSet::readFromFile | ( | std::istream & | input | ) |
void BALL::ScoreGridSet::saveToFile | ( | std::ostream & | output, |
String | receptor_name | ||
) |
void BALL::ScoreGridSet::setParameters | ( | bool | enforce_grid_boundaries, |
double | out_of_grid_penalty, | ||
double | interaction_no_scale | ||
) |
void BALL::ScoreGridSet::setPharmacophoreConstraint | ( | PharmacophoreConstraint * | phc | ) |
Size BALL::ScoreGridSet::sizeX | ( | ) |
Size BALL::ScoreGridSet::sizeY | ( | ) |
Size BALL::ScoreGridSet::sizeZ | ( | ) |
void BALL::ScoreGridSet::transform | ( | TMatrix4x4< float > & | t | ) |
|
friend |
Definition at line 177 of file scoreGridSet.h.
double BALL::ScoreGridSet::interaction_no_scale_ |
Definition at line 114 of file scoreGridSet.h.
String BALL::ScoreGridSet::name |
Definition at line 109 of file scoreGridSet.h.
Size BALL::ScoreGridSet::reference_interactions |
the average number of interactions per reference ligand atom
Definition at line 112 of file scoreGridSet.h.