9 #ifndef IMPROTAMER_ROTAMER_CALCULATOR_H
10 #define IMPROTAMER_ROTAMER_CALCULATOR_H
20 IMPROTAMER_BEGIN_NAMESPACE
61 double get_probability(
unsigned index)
const;
64 out <<
"ResidueRotamer"; });
75 xmin = ymin = zmin = std::numeric_limits<double>::max();
76 xmax = ymax = zmax = -std::numeric_limits<double>::max();
83 static bool intersect(
const Box3D &b1,
const Box3D &b2);
85 typedef std::vector<Box3D> Boxes3D;
87 void create_bounding_boxes(Box3D &bb_box, Box3D &sc_box, Boxes3D &rot_boxes);
91 void push_coordinates();
93 void set_coordinates(
unsigned index,
96 friend class RotamerCalculator;
98 typedef std::vector<IMP::algebra::Vector3D> AtomCoordinates;
99 typedef std::vector<AtomCoordinates> ResidueCoordinates;
100 ResidueCoordinates residue_coordinates_;
101 std::vector<double> probabilities_;
140 double K,
int num_iter)
const;
151 return n_angles == 0;
155 std::vector<IMP::atom::AtomType> at_axes;
156 std::vector<char> rot_atoms;
160 std::vector<ResidueData> residues_;
163 IMPROTAMER_END_NAMESPACE
Object representing rotamer library.
A smart pointer to a ref-counted Object that is a class memeber.
A class storing a whole rotamer library read from a file.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.
#define IMP_SHOWABLE_INLINE(Name, how_to_show)
Declare the methods needed by an object that can be printed.
A class storing the rotated coordinates of the atoms in the residue.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
The standard decorator for manipulating molecular structures.
A class performing the rotations of atoms in the residues.
A decorator for Residues.
Import IMP/kernel/PairScore.h in the namespace.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Common base class for heavy weight IMP objects.
A decorator for a residue.
unsigned get_size() const
get number of rotamers