#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 1067 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 1079 of file processor.h. 01080 { 01081 return "f(x) = 0 if x = 0; f(x) = 1 if x != 0;"; 01082 }
|
|
Get the processor's name. Each processor is identified by a unique name.
Implements EMAN::Processor. Definition at line 1070 of file processor.h. 01071 {
01072 return NAME;
01073 }
|
|
Definition at line 1074 of file processor.h. 01075 { 01076 return new BooleanProcessor(); 01077 }
|
|
Implements EMAN::RealPixelProcessor. Definition at line 1087 of file processor.h. References x.
|
|
Definition at line 75 of file processor.cpp. |