9 #ifndef IMPEM_FIT_RESTRAINT_H
10 #define IMPEM_FIT_RESTRAINT_H
12 #include "em_config.h"
58 FloatKey weight_key= atom::Mass::get_mass_key(),
60 bool use_rigid_bodies=
true,
61 KernelType kt=GAUSSIAN);
64 return model_dens_map_;
66 void set_scale_factor(
float scale) {scalefac_=scale;}
67 float get_scale_factor()
const {
return scalefac_;}
71 IMP_LIST(
private, Particle, particle, Particle*, Particles);
75 void store_particles(ParticlesTemp ps);
77 void resample()
const;
79 void initialize_model_density_map(
FloatKey weight_key);
83 mutable SampledDensityMaps rb_model_dens_map_;
85 none_rb_model_dens_map_;
91 algebra::Vector3Ds dv_;
92 algebra::ReferenceFrame3Ds rbs_orig_rf_;
94 KernelParameters *kernel_params_;
95 DistanceMask *dist_mask_;
97 bool use_rigid_bodies_;
102 Particles not_part_of_rb_;
103 Particles part_of_rb_;
104 core::RigidBodies rbs_;