Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions
EMAN::MakeRadiusProcessor Class Reference

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

#include <processor.h>

Inheritance diagram for EMAN::MakeRadiusProcessor:
Inheritance graph
Collaboration diagram for EMAN::MakeRadiusProcessor:
Collaboration graph

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.toradius"

Protected Member Functions

void process_dist_pixel (float *pixel, float dist) const

Detailed Description

overwrites input, f(x) = radius

Definition at line 2981 of file processor.h.

Member Function Documentation

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

Get the descrition of this specific processor.

This function must be overwritten by a subclass.

The description of this processor.

Reimplemented from EMAN::CircularMaskProcessor.

Definition at line 2993 of file processor.h.

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

Get the processor's name.

Each processor is identified by a unique name.

The processor's name.

Implements EMAN::Processor.

Definition at line 2984 of file processor.h.

References NAME.

                        return NAME;
static Processor* EMAN::MakeRadiusProcessor::NEW ( ) [inline, static]

Definition at line 2988 of file processor.h.

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

Implements EMAN::CircularMaskProcessor.

Definition at line 3001 of file processor.h.

References sqrt().

                        *pixel = sqrt(dist);

Member Data Documentation

const string MakeRadiusProcessor::NAME = "math.toradius" [static]

Definition at line 2998 of file processor.h.

Referenced by get_name().

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