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

ProcessorNEW ()

Static Public Attributes

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

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

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

02770                 {
02771                         return NAME;
02772                 }

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

Definition at line 2773 of file processor.h.

02774                 {
02775                         return new MakeRadiusSquaredProcessor();
02776                 }

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

Implements EMAN::CircularMaskProcessor.

Definition at line 2786 of file processor.h.

02787                 {
02788                         *pixel = dist;
02789                 }


Member Data Documentation

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

Definition at line 111 of file processor.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Jun 11 13:48:37 2013 for EMAN2 by  doxygen 1.3.9.1