IMP
2.3.0
The Integrative Modeling Platform
|
#include <IMP/kinematics/DOF.h>
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
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. More... | |
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 () |
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... | |
virtual void | do_destroy () |
|
virtual |
Get information about the module and version of the object.
Reimplemented from IMP::base::Object.