Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

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

02773                 {
02774                         return "overwrites input, f(x) = radius * radius";
02775                 }

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

References NAME.

02764                 {
02765                         return NAME;
02766                 }

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

Definition at line 2767 of file processor.h.

02768                 {
02769                         return new MakeRadiusSquaredProcessor();
02770                 }

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

Implements EMAN::CircularMaskProcessor.

Definition at line 2780 of file processor.h.

02781                 {
02782                         *pixel = dist;
02783                 }


Member Data Documentation

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

Definition at line 2777 of file processor.h.

Referenced by get_name().


The documentation for this class was generated from the following files:
Generated on Mon Jul 19 13:06:46 2010 for EMAN2 by  doxygen 1.4.4