A reference frame in 3D.
Examples: cg pdb, dock with crosslinks, rigid brownian dynamics, local fitting, rigid body excluded volume, analyze convergence, rigid body and excluded volume restraint
Public Member Functions | |
| ReferenceFrame3D () | |
| Create the default reference frame. | |
| ReferenceFrame3D (const Transformation3D &tr) | |
| Vector3D | get_global_coordinates (const Vector3D &v) const |
| ReferenceFrame3D | get_global_reference_frame (const ReferenceFrame3D &v) const |
| Vector3D | get_local_coordinates (const Vector3D &v) const |
| ReferenceFrame3D | get_local_reference_frame (const ReferenceFrame3D &v) const |
| const Transformation3D & | get_transformation_from () const |
| Get the transformation from this one to the global reference. | |
| const Transformation3D & | get_transformation_to () const |
| Get the transformation taking the global reference frame to this one. | |
| void | show (std::ostream &out=std::cout) const |
| IMP::algebra::ReferenceFrame3D::ReferenceFrame3D | ( | ) |
Create the default reference frame.
That is, the origin with x,y,z axis as the principle axes.
Assume the input vector is in local coordinates and transform it to global ones.
| ReferenceFrame3D IMP::algebra::ReferenceFrame3D::get_global_reference_frame | ( | const ReferenceFrame3D & | v | ) | const |
Assume the input vector is in local coordinates and transform it to global ones.
Assume the input vector is in global coordinates and get the local coordinates.
| ReferenceFrame3D IMP::algebra::ReferenceFrame3D::get_local_reference_frame | ( | const ReferenceFrame3D & | v | ) | const |
Assume the input vector is in global coordinates and get the local coordinates.
| const Transformation3D& IMP::algebra::ReferenceFrame3D::get_transformation_from | ( | ) | const |
Get the transformation from this one to the global reference.
| const Transformation3D& IMP::algebra::ReferenceFrame3D::get_transformation_to | ( | ) | const |
Get the transformation taking the global reference frame to this one.