9 #ifndef IMPEM_FIT_RESTRAINT_H
10 #define IMPEM_FIT_RESTRAINT_H
12 #include <IMP/em/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_;}
75 void store_particles(ParticlesTemp ps);
77 void resample()
const;
79 void initialize_model_density_map(
FloatKey weight_key);
81 IMP::OwnerPointer<DensityMap> target_dens_map_;
82 mutable IMP::OwnerPointer<SampledDensityMap> model_dens_map_;
84 mutable IMP::OwnerPointer<SampledDensityMap>
85 none_rb_model_dens_map_;
86 algebra::BoundingBoxD<3> target_bounding_box_;
94 KernelParameters *kernel_params_;
96 bool use_rigid_bodies_;
101 Particles not_part_of_rb_;
102 Particles part_of_rb_;
103 core::RigidBodies rbs_;