#include <projector.h>
Inheritance diagram for EMAN::Projector:


Public Member Functions | |
| virtual | ~Projector () |
| virtual EMData * | project3d (EMData *image) const =0 |
| Project an 3D image into a 2D image. | |
| virtual EMData * | backproject3d (EMData *image) const =0 |
| Back-project a 2D image into a 3D image. | |
| virtual string | get_name () const =0 |
| Get the projector's name. | |
| virtual string | get_desc () const =0 |
| virtual Dict | get_params () const |
| Get the projector parameters in a key/value dictionary. | |
| void | set_params (const Dict &new_params) |
| Set the projector parameters using a key/value dictionary. | |
| virtual TypeDict | get_param_types () const |
| Get processor parameter information in a dictionary. | |
Protected Attributes | |
| Dict | params |
Projector class is the base class for all projectors. Each specific projector has a unique name and should be called through the name.
All Projector classes in EMAN are managed by a Factory pattern. So each Projector class must define:
Typical usage of Projectors:
vector<string> all_projectors = Factory<Projector>::get_list();
Definition at line 81 of file projector.h.
|
|
Definition at line 84 of file projector.h. 00085 {
00086 }
|
|
|
Back-project a 2D image into a 3D image.
Implemented in EMAN::XYZProjector, EMAN::GaussFFTProjector, EMAN::FourierGriddingProjector, EMAN::PawelProjector, EMAN::StandardProjector, and EMAN::ChaoProjector. Referenced by EMAN::EMData::backproject(). |
|
|
Implemented in EMAN::XYZProjector, EMAN::GaussFFTProjector, EMAN::FourierGriddingProjector, EMAN::PawelProjector, EMAN::StandardProjector, and EMAN::ChaoProjector. |
|
|
Get the projector's name. Each projector is indentified by unique name.
Implemented in EMAN::XYZProjector, EMAN::GaussFFTProjector, EMAN::FourierGriddingProjector, EMAN::PawelProjector, EMAN::StandardProjector, and EMAN::ChaoProjector. |
|
|
Get processor parameter information in a dictionary. Each parameter has one record in the dictionary. Each record contains its name, data-type, and description.
Reimplemented in EMAN::XYZProjector, EMAN::GaussFFTProjector, EMAN::FourierGriddingProjector, EMAN::PawelProjector, EMAN::StandardProjector, and EMAN::ChaoProjector. Definition at line 125 of file projector.h. 00126 {
00127 TypeDict d;
00128 return d;
00129 }
|
|
|
Get the projector parameters in a key/value dictionary. return A key/value pair dictionary containing the parameters. Definition at line 110 of file projector.h. 00111 {
00112 return params;
00113 }
|
|
|
Project an 3D image into a 2D image.
Implemented in EMAN::XYZProjector, EMAN::GaussFFTProjector, EMAN::FourierGriddingProjector, EMAN::PawelProjector, EMAN::StandardProjector, and EMAN::ChaoProjector. Referenced by EMAN::EMData::project(). |
|
|
Set the projector parameters using a key/value dictionary.
Reimplemented in EMAN::GaussFFTProjector. Definition at line 115 of file projector.h. 00116 {
00117 params = new_params;
00118 }
|
|
|
Definition at line 132 of file projector.h. |
1.3.9.1