/** * \file IMP/multifit/anchors_reader.h * \brief handles reading of anchors data * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ #ifndef IMPMULTIFIT_ANCHORS_READER_H #define IMPMULTIFIT_ANCHORS_READER_H #include #include #include #include #include #include #include "DataPointsAssignment.h" IMPMULTIFIT_BEGIN_NAMESPACE class IMPMULTIFITEXPORT AnchorsData { public: AnchorsData(){} AnchorsData(algebra::Vector3Ds points, IntPairs edges){ points_=points;edges_=edges; secondary_structure_ps_=Particles(); //set true to consider all points for (unsigned int i=0;i consider_point_; IntPairs edges_; protected: Particles secondary_structure_ps_; }; IMP_VALUES(AnchorsData, AnchorsDataList); IMPMULTIFITEXPORT AnchorsData read_anchors_data(const char *txt_filename); IMPMULTIFITEXPORT void write_txt(const std::string &txt_filename, const AnchorsData &ad); IMPMULTIFITEXPORT void write_cmm(const std::string &cmm_filename, const std::string &marker_set_name, const AnchorsData &dpa); IMPMULTIFIT_END_NAMESPACE #endif /* IMPMULTIFIT_ANCHORS_READER_H */