10 #ifndef IMPKINEMATICS_DO_F_H
11 #define IMPKINEMATICS_DO_F_H
13 #include "kinematics_config.h"
17 IMPKINEMATICS_BEGIN_NAMESPACE
38 DOF(
double v,
double min,
double max,
double step_size);
40 double get_value()
const {
return value_; }
42 void set_value(
double v) { value_ = v; }
44 std::pair<double, double> get_range()
const {
return range_; }
46 void set_range(std::pair<double, double> range) { range_ = range; }
49 double get_step_size()
const
50 {
return step_size_; }
52 void set_step_size(
double step_size)
53 { step_size_ = step_size; }
56 int get_number_of_steps(
double value)
const;
59 int get_number_of_steps(
double value1,
double value2)
const;
67 std::pair<double, double> range_;
75 IMPKINEMATICS_END_NAMESPACE
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Common base class for heavy weight IMP objects.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Various general useful macros for IMP.
A shared base class to help in debugging and things.