[ GAMB | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
public: | |
static float | torsionAngleDEG(const Vector3& A, const Vector3& B, const Vector3& C, const Vector3& D); |
static float | torsionAngleRAD(const Vector3& A, const Vector3& B, const Vector3& C, const Vector3& D) ; |
static Matrix3 | calcRotation(const Vector3 &noment, float angle); |
static RigidTrans3 | calcTransformationRAD(const Line& line, float angle); |
static RigidTrans3 | calcTransformationRAD(const Vector3 &a, const Vector3 &b, float angle); |
static RigidTrans3 | calcTransformationRAD(const Segment& segment, float angle) ; |
static RigidTrans3 | calcTransformationDEG(const Vector3 &a, const Vector3 &b, float angle) ; |
protected: |
The class handles rotation around axis. It can compute torsional angle, like phi, psi, or rotational matrix for rotation around an axis.
Given 4 points in 3D space: A,B,C,D, the torsion angle is an angle between two planes defined as A-B-C and B-C-D. Rotations around a B-C axis will therefore lead to different torsion angles. The angle is computed as an angle between the normals to these planes. For definitions of protein torsion angles see: www.mlb.co.jp/linux/science/garlic/doc/commands/dihedrals.html
Yuval, Dina (inbaryuv,duhovka@tau.ac.il)
copyright: SAMBA Group , Tel-Aviv Univ. Israel, 2003.
Copyright: SAMBA group, Tel-Aviv Univ. Israel, 2003.
float torsionAngleDEG(const Vector3& A, const Vector3& B, const Vector3& C, const Vector3& D);
compute torsional angle defined by 4 input points in degrees
static float torsionAngleDEG(const Vector3& A, const Vector3& B, const Vector3& C, const Vector3& D);
float torsionAngleRAD(const Vector3& A, const Vector3& B, const Vector3& C, const Vector3& D) ;
compute torsional angle defined by 4 input points in radians
static float torsionAngleRAD(const Vector3& A, const Vector3& B, const Vector3& C, const Vector3& D) ;
Function is currently defined inline.
Matrix3 calcRotation(const Vector3 &noment, float angle);
compute rotational matrix for rotation around given vector with given angle
static Matrix3 calcRotation(const Vector3 &noment, float angle);
RigidTrans3 calcTransformationRAD(const Line& line, float angle);
compute transformation for rotation around given Line with given angle
// in radians
static RigidTrans3 calcTransformationRAD(const Line& line, float angle);
RigidTrans3 calcTransformationRAD(const Vector3 &a, const Vector3 &b, float angle);
compute transformation for rotation around b-a vector with given angle
// in radians
static RigidTrans3 calcTransformationRAD(const Vector3 &a, const Vector3 &b, float angle);
RigidTrans3 calcTransformationRAD(const Segment& segment, float angle) ;
Compute the transformation for a rotation around the given segment with the given angle in radians
static RigidTrans3 calcTransformationRAD(const Segment& segment, float angle) ;
Function is currently defined inline.
RigidTrans3 calcTransformationDEG(const Vector3 &a, const Vector3 &b, float angle) ;
compute transformation for rotation around b-a vector with given angle
// in degrees
static RigidTrans3 calcTransformationDEG(const Vector3 &a, const Vector3 &b, float angle) ;
Function is currently defined inline.
public: | ||
---|---|---|
static float | torsionAngleDEG(const Vector3& A, const Vector3& B, const Vector3& C, const Vector3& D); | |
static float | torsionAngleRAD(const Vector3& A, const Vector3& B, const Vector3& C, const Vector3& D) ; | |
static Matrix3 | calcRotation(const Vector3 &noment, float angle); | |
static RigidTrans3 | calcTransformationRAD(const Line& line, float angle); | |
static RigidTrans3 | calcTransformationRAD(const Vector3 &a, const Vector3 &b, float angle); | |
static RigidTrans3 | calcTransformationRAD(const Segment& segment, float angle) ; | |
static RigidTrans3 | calcTransformationDEG(const Vector3 &a, const Vector3 &b, float angle) ; | |
protected: |
Report problems to jkotula@unimax.com