source: sasview/realSpaceModeling/pointsmodelpy/libpointsmodelpy/complex_model.h @ a4cd162

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.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since a4cd162 was f2d6445, checked in by Mathieu Doucet <doucetm@…>, 17 years ago

moving realSpaceModeling to trunk

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