SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
SourceXtractor::MinAreaPartitionStep Class Reference

A PartitionStep that rejects Sources if they do not have at least a given number of pixels. More...

#include <MinAreaPartitionStep.h>

Inheritance diagram for SourceXtractor::MinAreaPartitionStep:
[legend]
Collaboration diagram for SourceXtractor::MinAreaPartitionStep:
[legend]

Public Member Functions

virtual ~MinAreaPartitionStep ()=default
 Destructor. More...
 
 MinAreaPartitionStep (unsigned int min_pixel_count)
 Constructor. More...
 
virtual std::vector
< std::shared_ptr
< SourceInterface > > 
partition (std::shared_ptr< SourceInterface > source) const override
 
- Public Member Functions inherited from SourceXtractor::PartitionStep
virtual ~PartitionStep ()=default
 Destructor. More...
 

Private Attributes

unsigned int m_min_pixel_count
 

Detailed Description

A PartitionStep that rejects Sources if they do not have at least a given number of pixels.

Definition at line 35 of file MinAreaPartitionStep.h.

Constructor & Destructor Documentation

virtual SourceXtractor::MinAreaPartitionStep::~MinAreaPartitionStep ( )
virtualdefault

Destructor.

SourceXtractor::MinAreaPartitionStep::MinAreaPartitionStep ( unsigned int  min_pixel_count)

Constructor.

Definition at line 28 of file MinAreaPartitionStep.cpp.

Member Function Documentation

std::vector< std::shared_ptr< SourceInterface > > SourceXtractor::MinAreaPartitionStep::partition ( std::shared_ptr< SourceInterface source) const
overridevirtual

Implements SourceXtractor::PartitionStep.

Definition at line 31 of file MinAreaPartitionStep.cpp.

References SourceXtractor::PixelCoordinateList::getCoordinateList(), and m_min_pixel_count.

Here is the call graph for this function:

Member Data Documentation

unsigned int SourceXtractor::MinAreaPartitionStep::m_min_pixel_count
private

Definition at line 49 of file MinAreaPartitionStep.h.

Referenced by partition().


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