#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 1262 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 1274 of file processor.h. 01275 { 01276 return "f(x) = 0 if x = 0; f(x) = 1 if x != 0;"; 01277 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 1265 of file processor.h. 01266 {
01267 return NAME;
01268 }
|
|
Definition at line 1269 of file processor.h. 01270 { 01271 return new BooleanProcessor(); 01272 }
|
|
Implements EMAN::RealPixelProcessor. Definition at line 1282 of file processor.h. References x.
|
|
Definition at line 76 of file processor.cpp. |