IMP logo
Public Member Functions
IMP::algebra::ReferenceFrame3D Class Reference

Detailed Description

A reference frame in 3D.

Note:
This class is a geometric primitive. Also, this class is not not initialized by its default constructor.

Examples: cg pdb, dock with crosslinks, rigid brownian dynamics, local fitting, rigid body excluded volume, analyze convergence, rigid body and excluded volume restraint

List of all members.

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 Transformation3Dget_transformation_from () const
 Get the transformation from this one to the global reference.
const Transformation3Dget_transformation_to () const
 Get the transformation taking the global reference frame to this one.
void show (std::ostream &out=std::cout) const

Constructor & Destructor Documentation

IMP::algebra::ReferenceFrame3D::ReferenceFrame3D ( )

Create the default reference frame.

That is, the origin with x,y,z axis as the principle axes.


Member Function Documentation

Vector3D IMP::algebra::ReferenceFrame3D::get_global_coordinates ( const Vector3D v) const

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.

Vector3D IMP::algebra::ReferenceFrame3D::get_local_coordinates ( const Vector3D v) const

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.


The documentation for this class was generated from the following file:

Generated on Tue May 22 2012 23:33:25 for IMP by doxygen 1.8.1