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

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

Remaining modules refactored

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