EMAN2
|
Projector class defines a method to generate 2D projections from a 3D model. More...
#include <projector.h>
Public Member Functions | |
virtual | ~Projector () |
virtual EMData * | project3d (EMData *image) const =0 |
Project an 3D image into a 2D image. More... | |
virtual EMData * | backproject3d (EMData *image) const =0 |
Back-project a 2D image into a 3D image. More... | |
virtual string | get_name () const =0 |
Get the projector's name. More... | |
virtual string | get_desc () const =0 |
virtual Dict | get_params () const |
Get the projector parameters in a key/value dictionary. More... | |
void | set_params (const Dict &new_params) |
Set the projector parameters using a key/value dictionary. More... | |
virtual TypeDict | get_param_types () const |
Get processor parameter information in a dictionary. More... | |
Protected Attributes | |
Dict | params |
Projector class defines a method to generate 2D projections from a 3D model.
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: - a unique name to idenfity itself in the factory. - a static method to register itself in the factory.
Typical usage of Projectors:
Definition at line 77 of file projector.h.
|
inlinevirtual |
Definition at line 80 of file projector.h.
Back-project a 2D image into a 3D image.
Implemented in EMAN::XYZProjector, EMAN::GaussFFTProjector, EMAN::FourierGriddingProjector, EMAN::PawelProjector, EMAN::MaxValProjector, EMAN::StandardProjector, and EMAN::ChaoProjector.
|
pure virtual |
|
pure virtual |
Get the projector's name.
Each projector is indentified by unique name.
Implemented in EMAN::XYZProjector, EMAN::GaussFFTProjector, EMAN::FourierGriddingProjector, EMAN::PawelProjector, EMAN::MaxValProjector, EMAN::StandardProjector, and EMAN::ChaoProjector.
|
inlinevirtual |
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::MaxValProjector, EMAN::StandardProjector, and EMAN::ChaoProjector.
Definition at line 121 of file projector.h.
|
inlinevirtual |
Get the projector parameters in a key/value dictionary.
return A key/value pair dictionary containing the parameters.
Definition at line 106 of file projector.h.
References params.
Project an 3D image into a 2D image.
Implemented in EMAN::XYZProjector, EMAN::GaussFFTProjector, EMAN::FourierGriddingProjector, EMAN::PawelProjector, EMAN::MaxValProjector, EMAN::StandardProjector, and EMAN::ChaoProjector.
|
inline |
Set the projector parameters using a key/value dictionary.
Definition at line 111 of file projector.h.
References params.
Referenced by EMAN::GaussFFTProjector::set_params().
|
protected |
Definition at line 128 of file projector.h.
Referenced by EMAN::PawelProjector::backproject3d(), EMAN::ChaoProjector::backproject3d(), get_params(), EMAN::GaussFFTProjector::project3d(), EMAN::FourierGriddingProjector::project3d(), EMAN::PawelProjector::project3d(), EMAN::MaxValProjector::project3d(), EMAN::StandardProjector::project3d(), EMAN::ChaoProjector::project3d(), set_params(), and EMAN::GaussFFTProjector::set_params().