ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change
on this file since b46f285 was
d85c194,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago
|
Remaining modules refactored
|
-
Property mode set to
100644
|
File size:
750 bytes
|
Rev | Line | |
---|
[aa639ea] | 1 | /** \file complex_model.h child class of PointsModel */ |
---|
| 2 | |
---|
| 3 | #ifndef COMPLEX_MODEL_H |
---|
| 4 | #define COMPLEX_MODEL_H |
---|
| 5 | |
---|
| 6 | #include "points_model.h" |
---|
| 7 | #include <string> |
---|
| 8 | #include <map> |
---|
| 9 | |
---|
| 10 | /** |
---|
| 11 | * Class ComplexModel : container class for LORESModel & PDBModel |
---|
| 12 | * The main functionality is to merge points from instances of |
---|
| 13 | * LORESModel & PDBModel |
---|
| 14 | */ |
---|
| 15 | |
---|
| 16 | class ComplexModel : public PointsModel { |
---|
| 17 | public: |
---|
| 18 | ComplexModel(); |
---|
| 19 | |
---|
| 20 | //add PointsModel instance |
---|
| 21 | void Add(PointsModel *); |
---|
| 22 | |
---|
| 23 | //Parse all coordinates from ATOM section |
---|
| 24 | //of the PDB file into vector of points |
---|
| 25 | int GetPoints(Point3DVector &); |
---|
| 26 | |
---|
| 27 | //Get distance boundary for the pointsmodel instances |
---|
| 28 | double GetDimBound(); |
---|
| 29 | |
---|
| 30 | vector<double> GetCenter(); |
---|
| 31 | |
---|
| 32 | private: |
---|
| 33 | vector<PointsModel *> models_; |
---|
| 34 | }; |
---|
| 35 | |
---|
| 36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.