Decorator for particles representing the parameters Rotation and tranlation. In this cases, the translation is the translation to apply to the model in 3D, in order to perform the registration
Inheritance diagram for IMP::em2d::ProjectionParameters:Public Member Functions | |
| ProjectionParameters (Model *m, ParticleIndex id) | |
| ProjectionParameters (::IMP::Particle *p) | |
| bool | get_parameters_optimized () const |
| Get whether the parameters are optimized. | |
| double | get_quaternion_1 () const |
| Get and set functions for the parameters. | |
| double | get_quaternion_2 () const |
| double | get_quaternion_3 () const |
| double | get_quaternion_4 () const |
| algebra::Rotation3D | get_rotation () const |
| algebra::Vector3D | get_translation () const |
| double | get_translation_x () const |
| double | get_translation_y () const |
| void | set_parameters_optimized (bool tf) const |
| Set whether the parameters are optimized. | |
| void | set_proper_ranges_for_keys (Model *m, const algebra::Vector3D &min_translation_values, const algebra::Vector3D &max_translation_values) |
| void | set_quaternion_1 (double t) |
| void | set_quaternion_2 (double t) |
| void | set_quaternion_3 (double t) |
| void | set_quaternion_4 (double t) |
| void | set_rotation (const algebra::Rotation3D &R) |
| void | set_translation (const algebra::Vector3D &v) |
| void | set_translation_x (double t) |
| void | set_translation_y (double t) |
| void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::Decorator | |
| std::size_t | __hash__ () const |
| ParticleIndex | get_particle_index () const |
| Particle * | get_particle () const |
| Model * | get_model () const |
| Returns the Model containing the particle. | |
| Decorator (Particle *p) | |
| Decorator () | |
Static Public Member Functions | |
| static ProjectionParameters | decorate_particle (::IMP::Particle *p) |
| static const FloatKeys & | get_keys () |
| Keys of the decorator. | |
| static bool | particle_is_instance (Particle *p) |
| Return true of the particle is a set of projection parameters. | |
| static ProjectionParameters | setup_particle (Particle *p) |
| Create the proper attributes for a particle. | |
| static Decorator | setup_particle (Particle *p, extra_arguments) |
Additional Inherited Members | |
Protected Member Functions inherited from IMP::Decorator | |
| Decorator (Model *m, ParticleIndex pi) | |
| Decorator (Particle *p) | |
| int | compare (base::Object *o) const |
|
static |
Keys of the decorator.
| bool IMP::em2d::ProjectionParameters::get_parameters_optimized | ( | ) | const |
Get whether the parameters are optimized.
| double IMP::em2d::ProjectionParameters::get_quaternion_1 | ( | ) | const |
Get and set functions for the parameters.
|
static |
Return true of the particle is a set of projection parameters.
Reimplemented from IMP::Decorator.
| void IMP::em2d::ProjectionParameters::set_parameters_optimized | ( | bool | tf | ) | const |
Set whether the parameters are optimized.
| void IMP::em2d::ProjectionParameters::set_proper_ranges_for_keys | ( | Model * | m, |
| const algebra::Vector3D & | min_translation_values, | ||
| const algebra::Vector3D & | max_translation_values | ||
| ) |
ranges for the keys. Only adjust the translations, the rotations are self adjusted
|
static |
Create the proper attributes for a particle.