SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SourceXtractor::Segmentation::LabellingListener Class Reference

#include <Segmentation.h>

Collaboration diagram for SourceXtractor::Segmentation::LabellingListener:
Collaboration graph
[legend]

Public Member Functions

 LabellingListener (const Segmentation &segmentation, std::shared_ptr< DetectionImageFrame > detection_frame)
 
void publishSource (std::unique_ptr< SourceInterface > source) const
 
void notifyProgress (int position, int total)
 
void requestProcessing (const ProcessSourcesEvent &event)
 

Private Attributes

const Segmentationm_segmentation
 
std::shared_ptr< DetectionImageFramem_detection_frame
 

Detailed Description

Definition at line 83 of file Segmentation.h.

Constructor & Destructor Documentation

◆ LabellingListener()

SourceXtractor::Segmentation::LabellingListener::LabellingListener ( const Segmentation segmentation,
std::shared_ptr< DetectionImageFrame detection_frame 
)
inline

Definition at line 85 of file Segmentation.h.

Member Function Documentation

◆ notifyProgress()

void SourceXtractor::Segmentation::LabellingListener::notifyProgress ( int  position,
int  total 
)
inline

Definition at line 94 of file Segmentation.h.

References m_segmentation.

◆ publishSource()

void SourceXtractor::Segmentation::LabellingListener::publishSource ( std::unique_ptr< SourceInterface source) const
inline

Definition at line 89 of file Segmentation.h.

References m_detection_frame, m_segmentation, std::move(), and SourceXtractor::PipelineEmitter< T >::sendSource().

Referenced by SourceXtractor::BFSSegmentation::labelSource().

Here is the call graph for this function:

◆ requestProcessing()

void SourceXtractor::Segmentation::LabellingListener::requestProcessing ( const ProcessSourcesEvent event)
inline

Definition at line 98 of file Segmentation.h.

References m_segmentation, and SourceXtractor::PipelineEmitter< T >::sendProcessSignal().

Here is the call graph for this function:

Member Data Documentation

◆ m_detection_frame

std::shared_ptr<DetectionImageFrame> SourceXtractor::Segmentation::LabellingListener::m_detection_frame
private

Definition at line 104 of file Segmentation.h.

Referenced by publishSource().

◆ m_segmentation

const Segmentation& SourceXtractor::Segmentation::LabellingListener::m_segmentation
private

Definition at line 103 of file Segmentation.h.

Referenced by notifyProgress(), publishSource(), and requestProcessing().


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