7 #ifndef IMPEM2D_PROJECTION_PARAMETERS_H
8 #define IMPEM2D_PROJECTION_PARAMETERS_H
10 #include "IMP/em2d/em2d_config.h"
21 IMPEM2D_BEGIN_NAMESPACE
40 void set_proper_ranges_for_keys(
Model *m,
55 for(
int i=0;i<6;++i) {
56 if(
get_particle()->get_is_optimized(get_keys()[i])==
false) {
71 set_translation_x(v[0]);
72 set_translation_y(v[1]);
75 algebra::Rotation3D get_rotation()
const {
83 return algebra::Rotation3D(unit[0],
89 void set_rotation(
const algebra::Rotation3D &R) {
90 set_quaternion_1(R.get_quaternion()[0]);
91 set_quaternion_2(R.get_quaternion()[1]);
92 set_quaternion_3(R.get_quaternion()[2]);
93 set_quaternion_4(R.get_quaternion()[3]);
98 for(
int i=0;i<6;++i) {
135 Pointer<Particle> proj_params_;
140 IMPEM2D_END_NAMESPACE