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 2764 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 2776 of file processor.h.

02777                 {
02778                         return "overwrites input, f(x) = radius * radius";
02779                 }

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 2767 of file processor.h.

References NAME.

02768                 {
02769                         return NAME;
02770                 }

static Processor* EMAN::MakeRadiusSquaredProcessor::NEW (  )  [inline, static]

Definition at line 2771 of file processor.h.

02772                 {
02773                         return new MakeRadiusSquaredProcessor();
02774                 }

void EMAN::MakeRadiusSquaredProcessor::process_dist_pixel ( float *  pixel,
float  dist 
) const [inline, protected, virtual]

Implements EMAN::CircularMaskProcessor.

Definition at line 2784 of file processor.h.

02785                 {
02786                         *pixel = dist;
02787                 }


Member Data Documentation

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

Definition at line 2781 of file processor.h.

Referenced by get_name().


The documentation for this class was generated from the following files:
Generated on Thu May 3 10:10:03 2012 for EMAN2 by  doxygen 1.4.7