diff --git a/core/src/superpose.hh b/core/src/superpose.hh index d9a558da2d51e3e57422e9a6b4ea4428b56077c0..8a169a784d23389fe8244108e22e905f12ecd367 100644 --- a/core/src/superpose.hh +++ b/core/src/superpose.hh @@ -31,15 +31,15 @@ typedef std::vector<EMatX3,Eigen::aligned_allocator<EMatX3> > EMatX3List; // Get minimal possible RMSD between points defined in pos_one and pos_two Real SuperposedRMSD(EMatX3& pos_one, EMatX3& pos_two, - bool apply_superposition = false); + bool apply_superposition = false); // Get transformation to superpose points in pos_one onto the ones in pos_two geom::Mat4 MinRMSDSuperposition(EMatX3& pos_one, EMatX3& pos_two, - bool apply_superposition = false); + bool apply_superposition = false); // Get both things... std::pair<geom::Mat4,Real> Superposition(EMatX3& pos_one, EMatX3& pos_two, - bool apply_superposition = false); + bool apply_superposition = false); // Fill matrix with pairwise RMSD values // The positions you pass will be centered, their mean will be the origin... @@ -52,32 +52,32 @@ void FillRMSDMatrix(EMatX3List& position_list, Real** data); // Get minimal possible RMSD between points defined in pos_one and pos_two Real SuperposedRMSD(EMatX3& pos_one, EMatX3& pos_two, - uint max_iterations, - Real distance_thresh, - std::vector<uint>& indices, - bool apply_superposition = false); + uint max_iterations, + Real distance_thresh, + std::vector<uint>& indices, + bool apply_superposition = false); // Get transformation to superpose points in pos_one onto the ones in pos_two geom::Mat4 MinRMSDSuperposition(EMatX3& pos_one, EMatX3& pos_two, - uint max_iterations, - Real distance_thresh, - std::vector<uint>& indices, - bool apply_superposition = false); + uint max_iterations, + Real distance_thresh, + std::vector<uint>& indices, + bool apply_superposition = false); // Get both things... std::pair<geom::Mat4,Real> Superposition(EMatX3& pos_one, EMatX3& pos_two, - uint max_iterations, - Real distance_thresh, - std::vector<uint>& indices, - bool apply_superposition = false); + uint max_iterations, + Real distance_thresh, + std::vector<uint>& indices, + bool apply_superposition = false); void RigidBlocks(EMatX3& pos_one, EMatX3& pos_two, uint window_length, - uint max_iterations, - Real distance_thresh, - std::vector<std::vector<uint> >& indices, - std::vector<geom::Mat4>& transformations); + uint max_iterations, + Real distance_thresh, + std::vector<std::vector<uint> >& indices, + std::vector<geom::Mat4>& transformations); // Fill row of given Eigen Matrix with 3 entries of Vec3