9 #ifndef IMPEM2D_EM_2DRESTRAINT_H
10 #define IMPEM2D_EM_2DRESTRAINT_H
12 #include "IMP/em2d/em2d_config.h"
23 IMPEM2D_BEGIN_NAMESPACE
35 Pointer<SingletonContainer> particles_container_;
38 mutable Pointer<ProjectionFinder> finder_;
43 unsigned int number_of_optimized_projections_;
44 bool fast_optimization_mode_;
45 bool only_coarse_registration_;
46 Em2DRestraintParameters params_;
62 const Em2DRestraintParameters ¶ms) {
66 finder_->setup(score_function, params);
67 fast_optimization_mode_ =
false;
68 only_coarse_registration_ =
false;
97 void set_variance_images(
const em2d::Images variance_images);
110 void set_fast_mode(
unsigned int n);
123 if(opt) only_coarse_registration_ =
true;
133 return finder_->get_registration_results();
141 IMPEM2D_END_NAMESPACE