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

02732                 {
02733                         return "overwrites input, f(x) = radius * radius";
02734                 }

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

References NAME.

02723                 {
02724                         return NAME;
02725                 }

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

Definition at line 2726 of file processor.h.

02727                 {
02728                         return new MakeRadiusSquaredProcessor();
02729                 }

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

Implements EMAN::CircularMaskProcessor.

Definition at line 2739 of file processor.h.

02740                 {
02741                         *pixel = dist;
02742                 }


Member Data Documentation

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

Definition at line 2736 of file processor.h.

Referenced by get_name().


The documentation for this class was generated from the following files:
Generated on Thu Nov 17 12:46:14 2011 for EMAN2 by  doxygen 1.4.7