6 #ifndef BALL_SCORING_COMMON_SCOREGRIDSET
7 #define BALL_SCORING_COMMON_SCOREGRIDSET
55 void binaryWrite(std::ostream& output);
57 void binaryRead(std::istream& input);
59 void saveToFile(std::ostream& output,
String receptor_name);
61 void readFromFile(std::istream& input);
70 void moveTo(
Vector3& destination);
74 double getGridScore(
Size grid,
Vector3 position,
bool interpolation);
100 std::list<std::pair<String, BALL::RegularData3D*> > convertToRegularData3DGrids();
106 void setParameters(
bool enforce_grid_boundaries,
double out_of_grid_penalty,
double interaction_no_scale);
117 std::map<String, int>* getAtomTypesMap();
120 String getGridAtomTypeName(
int grid_id);
134 bool enforce_grid_boundaries_;
137 double out_of_grid_penalty_;
145 std::vector<ScoreGrid*>* score_grids_;
156 void initializeEmptyGrids(
int no = -1);
173 std::map<BALL::String, int> atom_types_map_no_parent_;
181 #endif // BALL_SCORING_COMMON_SCOREGRIDSET
double interaction_no_scale_
Size reference_interactions
vector< vector< vector< double > > > ScoreGrid