IMP Reference Guide
2.11.1
The Integrative Modeling Platform
|
A particle with angular velocity. More...
#include <IMP/atom/MolecularDynamics.h>
A particle with angular velocity.
Typically this is used for RigidBody particles in combination with the MolecularDynamics optimizer. The velocity is stored as a quaternion.
Definition at line 71 of file atom/MolecularDynamics.h.
Public Member Functions | |
algebra::Vector4D | get_velocity () const |
IMP_DECORATOR_METHODS (AngularVelocity, Decorator) | |
IMP_DECORATOR_SETUP_0 (AngularVelocity) | |
IMP_DECORATOR_SETUP_1 (AngularVelocity, algebra::Vector4D, v) | |
void | set_velocity (const algebra::Vector4D &v) |
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 (Model *m, ParticleIndex pi) |
static FloatKey | get_velocity_key (unsigned int i) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Decorator | |
Decorator (Model *m, ParticleIndex pi) | |
Decorator (ParticleAdaptor p) | |