IMP  2.2.1
The Integrative Modeling Platform
IMP::kinematics::DOF Class Reference

#include <IMP/kinematics/DOF.h>

+ Inheritance diagram for IMP::kinematics::DOF:

Public Member Functions

 DOF (double v)
 
 DOF (double v, double min, double max, double step_size)
 
int get_number_of_steps (double value) const
 
int get_number_of_steps (double value1, double value2) const
 
std::pair< double, double > get_range () const
 
double get_step_size () const
 
virtual std::string get_type_name () const
 
double get_value () const
 
virtual ::IMP::base::VersionInfo get_version_info () const
 Get information about the module and version of the object.
 
void set_range (std::pair< double, double > range)
 
void set_step_size (double step_size)
 
void set_value (double v)
 
- Public Member Functions inherited from IMP::base::Object
virtual void clear_caches ()
 
virtual void do_destroy ()
 
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 Member Functions inherited from IMP::base::Object
 Object (std::string name)
 Construct an object with the given name. More...
 

Detailed Description

A general class for representing one degree of freedom (DOF) that is a double. the class holds min/max range for the DOF, as well as the step size for passing the DOFs values around. It relies on a DOFValues class that only holds DOF value for each DOF

Note
Typically, a DOF would correspond to one joint, with the exception of transformation joint that has 6 DOFs (though collective joints such as normal modes might be supported in principle)

Definition at line 30 of file DOF.h.


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