#include <processor.h>
Inheritance diagram for EMAN::BooleanProcessor:
Public Member Functions | |
string | get_name () const |
Get the processor's name. | |
string | get_desc () const |
Get the descrition of this specific processor. | |
Static Public Member Functions | |
Processor * | NEW () |
Static Public Attributes | |
const string | NAME = "threshold.notzero" |
Protected Member Functions | |
void | process_pixel (float *x) const |
Definition at line 1217 of file processor.h.
|
Get the descrition of this specific processor. This function must be overwritten by a subclass.
Implements EMAN::Processor. Definition at line 1229 of file processor.h. 01230 { 01231 return "f(x) = 0 if x = 0; f(x) = 1 if x != 0;"; 01232 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 1220 of file processor.h. 01221 {
01222 return NAME;
01223 }
|
|
Definition at line 1224 of file processor.h. 01225 { 01226 return new BooleanProcessor(); 01227 }
|
|
Implements EMAN::RealPixelProcessor. Definition at line 1237 of file processor.h. References x.
|
|
Definition at line 76 of file processor.cpp. |