8 #ifndef IMPATOM_HIERARCHY_TOOLS_H
9 #define IMPATOM_HIERARCHY_TOOLS_H
11 #include <IMP/atom/atom_config.h>
12 #include <IMP/algebra/algebra_config.h>
19 #include <boost/graph/adjacency_list.hpp>
21 IMPATOM_BEGIN_NAMESPACE
46 int number_of_residues,
47 int first_residue_index=0,
61 const Ints domain_boundaries);
84 bool keep_detailed=
false);
88 bool keep_detailed=
false);
98 IMPATOMEXPORT std::string get_molecule_name(Hierarchy h);
99 IMPATOMEXPORT
Ints get_residue_indexes(Hierarchy h);
100 IMPATOMEXPORT ResidueType get_residue_type(Hierarchy h);
101 IMPATOMEXPORT
int get_chain_id(Hierarchy h);
102 IMPATOMEXPORT AtomType get_atom_type(Hierarchy h);
103 IMPATOMEXPORT std::string get_domain_name(Hierarchy h);
104 IMPATOMEXPORT
int get_copy_index(Hierarchy h);
118 double resolution=-1);
127 const ParticlesTemp &other
141 double resolution =-1
147 IMPATOMEXPORT
void transform(Hierarchy h,
const algebra::Transformation3D &tr);
178 SingletonGeometry(d), res_(resolution){}
185 for (
unsigned int i=0; i< ps.size(); ++i) {
186 if (components_.find(ps[i])== components_.end()) {
188 components_[ps[i]]=g;
190 ret.push_back(components_.find(ps[i])->second);
203 SingletonsGeometry(sc), res_(resolution){}
207 if (components_.find(_1)
208 == components_.end()) {
212 ret.push_back(components_.find(_1)->second);
217 out << get_container() << std::endl;,{});
220 IMPATOM_END_NAMESPACE