[ GAMB | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
public: | |
// Constructors. | |
TransformDistance() ; | |
template < class ParticleT> | TransformDistance(const vector< ParticleT>& pointSet); |
float | rmsd(const RigidTrans3& trans1, const RigidTrans3& trans2) ; |
float | rmsd2(const RigidTrans3& trans1, const RigidTrans3& trans2); |
float | rmsd(const RigidTrans3& trans) ; |
float | rmsd2(const RigidTrans3& trans); |
protected: |
Back to the top of TransformDistance
Back to the top of TransformDistance
Given a set of points P, and two transformations T1 and T2, the class computes the RMSD between the point set after applying the transformations: RMSD (T1(P), T2(P)) The trivial way to do this, requires O(n) time. However with some preprocessing it can be done in O(1). This class preprocess the point set and afterwards each RMSD query is answered in constant time.
Back to the top of TransformDistance
TransformDistance transformDistance(mol);
RigidTrans3 t1,t2;
float rmsd = transformDistance.rmsd(t1, t2);
Back to the top of TransformDistance
TransformDistance() ;
empty constructor
TransformDistance() ;
Function is currently defined inline.
Back to the top of TransformDistance
template < class ParticleT> TransformDistance(const vector< ParticleT>& pointSet);
init point set
template < class ParticleT> TransformDistance(const vector< ParticleT>& pointSet);
Back to the top of TransformDistance
float rmsd(const RigidTrans3& trans1, const RigidTrans3& trans2) ;
returns rmsd between two transformations
float rmsd(const RigidTrans3& trans1, const RigidTrans3& trans2) ;
Function is currently defined inline.
Back to the top of TransformDistance
float rmsd2(const RigidTrans3& trans1, const RigidTrans3& trans2);
returns squared rmsd between two transformations
float rmsd2(const RigidTrans3& trans1, const RigidTrans3& trans2);
Back to the top of TransformDistance
float rmsd(const RigidTrans3& trans) ;
returns rmsd between point set and point set after applying the transformation
float rmsd(const RigidTrans3& trans) ;
Function is currently defined inline.
Back to the top of TransformDistance
float rmsd2(const RigidTrans3& trans);
returns squared rmsd between point set and point set after applying the transformation
float rmsd2(const RigidTrans3& trans);
Back to the top of TransformDistance
public: | ||
---|---|---|
// Constructors. | ||
template < class ParticleT> | TransformDistance(const vector< ParticleT>& pointSet); | |
float | rmsd(const RigidTrans3& trans1, const RigidTrans3& trans2) ; | |
float | rmsd2(const RigidTrans3& trans1, const RigidTrans3& trans2); | |
float | rmsd(const RigidTrans3& trans) ; | |
float | rmsd2(const RigidTrans3& trans); | |
protected: |
Back to the top of TransformDistance
Back to the top of TransformDistance
Back to the top of TransformDistance
Report problems to jkotula@unimax.com