IMP
2.3.1
The Integrative Modeling Platform
|
#include <IMP/kinematics/revolute_joints.h>
A revolute joint that is parameterized as a bond angle between three particles
Definition at line 242 of file revolute_joints.h.
Public Member Functions | |
BondAngleRevoluteJoint (IMP::core::RigidBody parent, IMP::core::RigidBody child, IMP::core::XYZ a, IMP::core::XYZ b, IMP::core::XYZ c) | |
Public Member Functions inherited from IMP::kinematics::RevoluteJoint | |
RevoluteJoint (IMP::core::RigidBody parent, IMP::core::RigidBody child) | |
double | get_angle () const |
void | set_angle (double angle) |
Public Member Functions inherited from IMP::kinematics::Joint | |
Joint (IMP::core::RigidBody parent, IMP::core::RigidBody child) | |
IMP::core::RigidBody | get_child_node () const |
KinematicForest * | get_owner_kf () const |
IMP::core::RigidBody | get_parent_node () const |
virtual const IMP::algebra::Transformation3D & | get_transformation_child_to_parent () const |
virtual std::string | get_type_name () const |
virtual ::IMP::base::VersionInfo | get_version_info () const |
Get information about the module and version of the object. More... | |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
CheckLevel | get_check_level () const |
LogLevel | get_log_level () const |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
Additional Inherited Members | |
Protected Attributes inherited from IMP::kinematics::RevoluteJoint | |
double | angle_ |
double | last_updated_angle_ |
IMP::algebra::Vector3D | rot_axis_origin_ |
IMP::algebra::Vector3D | rot_axis_unit_vector_ |
IMP::kinematics::BondAngleRevoluteJoint::BondAngleRevoluteJoint | ( | IMP::core::RigidBody | parent, |
IMP::core::RigidBody | child, | ||
IMP::core::XYZ | a, | ||
IMP::core::XYZ | b, | ||
IMP::core::XYZ | c | ||
) |
constructs a joint that controls the angle a-b-c. The joint revolves around the axis that passes through b, normal to the plane containing a, b and c. a,b and c are the witnesses for the bond angle.
parent,child | kinematic nodes upstream and downstream (resp.) of this joint |
a,b,c | 'witnesses' whose coordinates define the joint angle a-b-c |
|
protectedvirtual |
this protected method uses the Cartesian witnesses to compute the actual current bond angle of this joint (assuming external coordinates of required Cartesian witnesses are up to date)
Implements IMP::kinematics::RevoluteJoint.
|
protectedvirtual |
updates the rot_axis_unit_vector_ and rot_axis_origin_ variables using b_ as origin of rotation and a vector perpendicular to the plane containing a_,b_,c_ as axis of rotation, in global coordinates
Implements IMP::kinematics::RevoluteJoint.
Definition at line 276 of file revolute_joints.h.