source: sasview/src/sas/sascalc/simulation/pointsmodelpy/libpointsmodelpy/complex_model.h @ acefa2b

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since acefa2b was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 750 bytes
Line 
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
16class 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.