/** * \file cn_rmsd.cpp \brief High-level functions for RMSD calculation. * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ #include #include #include #include #include #include #include #include IMPCNMULTIFIT_BEGIN_NAMESPACE Floats get_rmsd_for_models(const std::string param_filename, const std::string trans_filename, const std::string ref_filename, int start_model, int end_model) { std::string protein_filename,surface_filename; int cn_symm_deg; std::cout<<"============= parameters ============"<= static_cast(recs.size())) { end_model = recs.size() - 1; } for (int i = start_model; i >= 0 && i <= end_model; ++i) { algebra::Transformation3D t1 = recs[i].get_dock_transformation(); algebra::Transformation3D t2 = recs[i].get_fit_transformation(); algebra::Transformation3D t2_inv = t1.get_inverse(); transform_cn_assembly(mhs,t1); for(unsigned int j=0;j