IMP Reference Guide
2.6.2
The Integrative Modeling Platform
|
#include <IMP/kinematics/CompositeJoint.h>
A joint that combines several inner joints, acting on the same pair of rigid bodies
Definition at line 33 of file CompositeJoint.h.
Public Member Functions | |
CompositeJoint (IMP::core::RigidBody parent, IMP::core::RigidBody child, Joints joints=Joints()) | |
void | add_downstream_joint (Joint *j) |
void | add_upstream_joint (Joint *j) |
const Joints & | get_inner_joints () const |
Joints & | get_inner_joints () |
void | set_joints (Joints joints) |
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::VersionInfo | get_version_info () const |
Get information about the module and version of the object. More... | |
Public Member Functions inherited from IMP::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) |
Protected Member Functions | |
virtual void | update_child_node_reference_frame () const |
virtual void | update_joint_from_cartesian_witnesses () |
Protected Member Functions inherited from IMP::kinematics::Joint | |
virtual const IMP::algebra::Transformation3D & | get_transformation_child_to_parent_no_checks () const |
void | set_owner_kf (KinematicForest *kf) |
void | set_transformation_child_to_parent_no_checks (IMP::algebra::Transformation3D transformation) |
Protected Member Functions inherited from IMP::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
virtual void | do_destroy () |
IMP::kinematics::CompositeJoint::CompositeJoint | ( | IMP::core::RigidBody | parent, |
IMP::core::RigidBody | child, | ||
Joints | joints = Joints() |
||
) |
Constructs a composite joint between parent and child, with the specified list of inner joints connecting them.
parent | rigid body upstream of this joint | |
child | rigid body downstream of this joint | |
[in] | joints | The list of inner joints connecting the two rigid bodies. These will be applied by their specified order in the list, from the parent rigid body to the child rigid body. It is assumed all these joints share the same parent and child as the composite joint. |
void IMP::kinematics::CompositeJoint::add_downstream_joint | ( | Joint * | j | ) |
adds a joint at the end of the list of joints (closest to the child rigid body)
Definition at line 57 of file CompositeJoint.h.
void IMP::kinematics::CompositeJoint::add_upstream_joint | ( | Joint * | j | ) |
adds a joint at the front of the list of joints (closest to the parent rigid body)
Definition at line 72 of file CompositeJoint.h.
const Joints& IMP::kinematics::CompositeJoint::get_inner_joints | ( | ) | const |
returns the list of inner joints, ordered from the parent rigid body downstream to the child rigid body
Definition at line 98 of file CompositeJoint.h.
Joints& IMP::kinematics::CompositeJoint::get_inner_joints | ( | ) |
returns the list of inner joints, ordered from the parent rigid body downstream to the child rigid body
Definition at line 105 of file CompositeJoint.h.
void IMP::kinematics::CompositeJoint::set_joints | ( | Joints | joints | ) |
Sets the list of inner joints instead of the existing one,
joints | the new joints, ordered from the parent rigid body downstream to the child rigid body. |
|
protectedvirtual |
update the child node reference frame by applying all the inner joints
Reimplemented from IMP::kinematics::Joint.
|
protectedvirtual |
Updates all inner joints value, and the overall transformation resulting from their combinations, based on the external coordinates of the witnesses to each of the inner joints.
Reimplemented from IMP::kinematics::Joint.