CFEL - ASG Software Suite  2.5.0
CASS
Public Types | Public Member Functions | Static Public Member Functions | List of all members
cass::pixeldetector::PixelFinderBase Class Referenceabstract

base class for pixel finders More...

#include <pixel_finder_base.h>

+ Inheritance diagram for cass::pixeldetector::PixelFinderBase:

Public Types

typedef std::tr1::shared_ptr< PixelFinderBaseshared_pointer
 typedef the shared pointer of this More...
 
typedef std::vector< Pixelpixels_t
 the list of pixels More...
 

Public Member Functions

virtual ~PixelFinderBase ()
 virtual destructor More...
 
virtual pixels_toperator() (const Frame &frame, pixels_t &pixels)=0
 find the pixels More...
 
virtual void loadSettings (CASSSettings &s)=0
 load the settings of this More...
 

Static Public Member Functions

static shared_pointer instance (const std::string &type)
 create an instance of the requested functor More...
 

Detailed Description

base class for pixel finders

a pixel finder should identifiy the pixels of interest within a frame

Author
Lutz Foucar

Definition at line 67 of file pixel_finder_base.h.

Member Typedef Documentation

the list of pixels

Definition at line 74 of file pixel_finder_base.h.

typedef the shared pointer of this

Definition at line 71 of file pixel_finder_base.h.

Constructor & Destructor Documentation

virtual cass::pixeldetector::PixelFinderBase::~PixelFinderBase ( )
inlinevirtual

virtual destructor

Definition at line 77 of file pixel_finder_base.h.

Member Function Documentation

PixelFinderBase::shared_pointer PixelFinderBase::instance ( const std::string &  type)
static

create an instance of the requested functor

Returns
a shared pointer to the requested type
Parameters
typethe reqested type

Definition at line 22 of file pixel_finder_base.cpp.

Referenced by cass::pixeldetector::AdvancedDetector::loadSettings().

virtual void cass::pixeldetector::PixelFinderBase::loadSettings ( CASSSettings s)
pure virtual
virtual pixels_t& cass::pixeldetector::PixelFinderBase::operator() ( const Frame frame,
pixels_t pixels 
)
pure virtual

find the pixels

take the input frame and search it for pixels which are put into the list of pixels.

Returns
reference to the coalesced pixel list
Parameters
framethe frame containing the pixels of interest
pixelsthe list of pixels that should be found

Implemented in cass::pixeldetector::WithinRange, cass::pixeldetector::PixelFinderSimpleMoreOptions, cass::pixeldetector::AboveNoiseFinder, and cass::pixeldetector::PixelFinderSimple.


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