TransformDistance

Class that allows to compute rmsd between two transformations in constant time

[ GAMB | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

AUTHORS
GOALS
USAGE

Class Summary

class TransformDistance
{
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:
}; // TransformDistance

Back to the top of TransformDistance


AUTHORS

Dina, Yuval (duhovka , inbaryuv @tau.ac.il)

Back to the top of TransformDistance


GOALS

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


USAGE

Molecule<Atom> mol;

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


All Members

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


Ancestors

Class does not inherit from any other class.

Back to the top of TransformDistance


Descendants

Class is not inherited by any others.

Back to the top of TransformDistance


Generated from source by the Cocoon utilities on Sun Nov 15 13:35:26 2009 .

Report problems to jkotula@unimax.com