IMP Reference Guide
2.6.1
The Integrative Modeling Platform
|
#include <IMP/kinematics/KinematicNode.h>
A KinematicNode is a rigid body that is connected by a joint to other rigid bodies
Definition at line 29 of file KinematicNode.h.
Public Member Functions | |
KinematicNode (::IMP::Model *m,::IMP::ParticleIndex id) | |
KinematicNode (const IMP::ParticleAdaptor &d) | |
void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::core::RigidBody | |
RigidBody (::IMP::Model *m,::IMP::ParticleIndex id) | |
RigidBody (const IMP::ParticleAdaptor &d) | |
void | add_member (ParticleIndexAdaptor p) |
void | add_non_rigid_member (ParticleIndexAdaptor p) |
const ParticleIndexes & | get_body_member_particle_indexes () const |
algebra::Vector3D | get_coordinates () const |
Get the coordinates of the particle. More... | |
bool | get_coordinates_are_optimized () const |
ParticleIndexes | get_member_indexes () const |
const ParticleIndexes & | get_member_particle_indexes () const |
IMP::algebra::ReferenceFrame3D | get_reference_frame () const |
Get the reference frame for the local coordinates. More... | |
RigidMembers | get_rigid_members () const |
algebra::VectorD< 4 > | get_rotational_derivatives () const |
Get the derivatives of the quaternion. More... | |
algebra::Vector3D | get_torque () const |
void | normalize_rotation () |
Normalize the quaternion. More... | |
void | set_coordinates_are_optimized (bool tf) |
void | set_is_rigid_member (ParticleIndex pi, bool tf) |
void | set_reference_frame (const IMP::algebra::ReferenceFrame3D &tr) |
Set the current reference frame. More... | |
void | set_reference_frame_from_members (const ParticleIndexes &members) |
void | set_reference_frame_lazy (const IMP::algebra::ReferenceFrame3D &tr) |
Change the reference, delay updating the members until evaluate. More... | |
void | show (std::ostream &out=std::cout) const |
void | update_members () |
Public Member Functions inherited from IMP::core::XYZ | |
XYZ (::IMP::Model *m,::IMP::ParticleIndex id) | |
XYZ (const IMP::ParticleAdaptor &d) | |
void | add_to_derivative (int i, Float v, DerivativeAccumulator &d) |
Add something to the derivative of the ith coordinate. More... | |
void | add_to_derivatives (const algebra::Vector3D &v, DerivativeAccumulator &d) |
Add something to the derivative of the coordinates. More... | |
Float | get_coordinate (int i) const |
Get the ith coordinate. More... | |
const algebra::Vector3D & | get_coordinates () const |
Convert it to a vector. More... | |
bool | get_coordinates_are_optimized () const |
Get whether the coordinates are optimized. More... | |
Float | get_derivative (int i) const |
Get the ith coordinate derivative. More... | |
algebra::Vector3D | get_derivatives () const |
Get the vector of derivatives. More... | |
algebra::Vector3D | get_vector_to (const XYZ &b) const |
Get the vector from this particle to another. More... | |
Float | get_x () const |
Float | get_y () const |
Float | get_z () const |
void | set_coordinate (unsigned int i, Float v) |
set the ith coordinate More... | |
void | set_coordinates (const algebra::Vector3D &v) |
set all coordinates from a vector More... | |
void | set_coordinates_are_optimized (bool tf) const |
Set whether the coordinates are optimized. More... | |
void | set_x (Float t) |
void | set_y (Float t) |
void | set_z (Float t) |
void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::Decorator | |
bool | get_is_valid () const |
Returns true if constructed with a non-default constructor. More... | |
Model * | get_model () const |
Returns the Model containing the particle. More... | |
Particle * | get_particle () const |
Returns the particle decorated by this decorator. More... | |
ParticleIndex | get_particle_index () const |
Returns the particle index decorated by this decorator. More... | |
operator Particle * () const | |
operator ParticleIndex () const | |
Particle * | operator-> () const |
Static Public Member Functions | |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
Return true if the particle is a kinematic node (has the appropriate properties). More... | |
static KinematicNode | setup_particle (Model *m, ParticleIndex pi, KinematicForest *owner) |
static KinematicNode | setup_particle (IMP::ParticleAdaptor decorator, KinematicForest *owner) |
static KinematicNode | setup_particle (IMP::ParticleAdaptor decorator, KinematicForest *owner, Joint *in_joint) |
static KinematicNode | setup_particle (Model *m, ParticleIndex pi, KinematicForest *owner, Joint *in_joint) |
static KinematicNode | setup_particle (Model *m, ParticleIndex pi, KinematicForest *owner, Joint *in_joint, Joints out_joints) |
static KinematicNode | setup_particle (IMP::ParticleAdaptor decorator, KinematicForest *owner, Joint *in_joint, Joints out_joints) |
Static Public Member Functions inherited from IMP::core::RigidBody | |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
Return true if the particle is a rigid body. More... | |
static RigidBody | setup_particle (Model *m, ParticleIndex pi, ParticleIndexesAdaptor ps) |
static RigidBody | setup_particle (IMP::ParticleAdaptor decorator, ParticleIndexesAdaptor ps) |
static RigidBody | setup_particle (Model *m, ParticleIndex pi, algebra::ReferenceFrame3D rf) |
static RigidBody | setup_particle (IMP::ParticleAdaptor decorator, algebra::ReferenceFrame3D rf) |
static void | teardown_particle (RigidBody rb) |
Make the rigid body no longer rigid. More... | |
Static Public Member Functions inherited from IMP::core::XYZ | |
static FloatKey | get_coordinate_key (unsigned int i) |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
static const FloatKeys & | get_xyz_keys () |
Get a vector containing the keys for x,y,z. More... | |
static XYZ | setup_particle (IMP::ParticleAdaptor decorator) |
static XYZ | setup_particle (Model *m, ParticleIndex pi) |
static XYZ | setup_particle (IMP::ParticleAdaptor decorator, algebra::Vector3D v) |
static XYZ | setup_particle (Model *m, ParticleIndex pi, algebra::Vector3D v) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Decorator | |
Decorator (Model *m, ParticleIndex pi) | |
Decorator (ParticleAdaptor p) | |
|
static |
Return true if the particle is a kinematic node (has the appropriate properties).
Definition at line 85 of file KinematicNode.h.
|
static |
Definition at line 39 of file KinematicNode.h.
|
static |
Setup the particle so that it can be used with this decorator
Definition at line 39 of file KinematicNode.h.
|
static |
Setup the particle so it can be used with this decorator.
Definition at line 41 of file KinematicNode.h.
|
static |
Setup the particle so it can be used with this decorator.
Definition at line 43 of file KinematicNode.h.