EMAN2
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions
EMAN::MakeRadiusSquaredProcessor Class Reference

overwrites input, f(x) = radius * radius More...

#include <processor.h>

Inheritance diagram for EMAN::MakeRadiusSquaredProcessor:
Inheritance graph
[legend]
Collaboration diagram for EMAN::MakeRadiusSquaredProcessor:
Collaboration graph
[legend]

List of all members.

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

static ProcessorNEW ()

Static Public Attributes

static const string NAME = "math.toradiussqr"

Protected Member Functions

void process_dist_pixel (float *pixel, float dist) const

Detailed Description

overwrites input, f(x) = radius * radius

Definition at line 2953 of file processor.h.


Member Function Documentation

string EMAN::MakeRadiusSquaredProcessor::get_desc ( ) const [inline, virtual]

Get the descrition of this specific processor.

This function must be overwritten by a subclass.

Returns:
The description of this processor.

Reimplemented from EMAN::CircularMaskProcessor.

Definition at line 2965 of file processor.h.

                {
                        return "overwrites input, f(x) = radius * radius";
                }
string EMAN::MakeRadiusSquaredProcessor::get_name ( ) const [inline, virtual]

Get the processor's name.

Each processor is identified by a unique name.

Returns:
The processor's name.

Implements EMAN::Processor.

Definition at line 2956 of file processor.h.

References NAME.

                {
                        return NAME;
                }
static Processor* EMAN::MakeRadiusSquaredProcessor::NEW ( ) [inline, static]

Definition at line 2960 of file processor.h.

                {
                        return new MakeRadiusSquaredProcessor();
                }
void EMAN::MakeRadiusSquaredProcessor::process_dist_pixel ( float *  pixel,
float  dist 
) const [inline, protected, virtual]

Implements EMAN::CircularMaskProcessor.

Definition at line 2973 of file processor.h.

References dist().

                {
                        *pixel = dist;
                }

Member Data Documentation

const string MakeRadiusSquaredProcessor::NAME = "math.toradiussqr" [static]

Definition at line 2970 of file processor.h.

Referenced by get_name().


The documentation for this class was generated from the following files: