10 #ifndef IMPKINEMATICS_DO_F_H
11 #define IMPKINEMATICS_DO_F_H
13 #include "kinematics_config.h"
17 IMPKINEMATICS_BEGIN_NAMESPACE
37 DOF(
double v,
double min,
double max,
double step_size);
39 double get_value()
const {
return value_; }
41 void set_value(
double v) { value_ = v; }
43 std::pair<double, double> get_range()
const {
return range_; }
45 void set_range(std::pair<double, double> range) { range_ = range; }
48 double get_step_size()
const {
return step_size_; }
50 void set_step_size(
double step_size) { step_size_ = step_size; }
53 int get_number_of_steps(
double value)
const;
56 int get_number_of_steps(
double value1,
double value2)
const;
64 std::pair<double, double> range_;
72 IMPKINEMATICS_END_NAMESPACE
Various general useful macros for IMP.
#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 lists of object pointers.
A shared base class to help in debugging and things.