SourceXtractorPlusPlus  0.11
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::LutzLabellingListener Class Reference
Inheritance diagram for SourceXtractor::LutzLabellingListener:
[legend]
Collaboration diagram for SourceXtractor::LutzLabellingListener:
[legend]

Public Member Functions

 LutzLabellingListener (Segmentation::LabellingListener &listener, std::shared_ptr< SourceFactory > source_factory, int window_size)
 
virtual ~LutzLabellingListener ()=default
 
void publishGroup (Lutz::PixelGroup &pixel_group) override
 
void notifyProgress (int line, int total) override
 

Private Attributes

Segmentation::LabellingListenerm_listener
 
std::shared_ptr< SourceFactorym_source_factory
 
int m_window_size
 

Detailed Description

Definition at line 38 of file LutzSegmentation.cpp.

Constructor & Destructor Documentation

SourceXtractor::LutzLabellingListener::LutzLabellingListener ( Segmentation::LabellingListener listener,
std::shared_ptr< SourceFactory source_factory,
int  window_size 
)
inline

Definition at line 40 of file LutzSegmentation.cpp.

virtual SourceXtractor::LutzLabellingListener::~LutzLabellingListener ( )
virtualdefault

Member Function Documentation

void SourceXtractor::LutzLabellingListener::notifyProgress ( int  line,
int  total 
)
inlineoverridevirtual

Reimplemented from SourceXtractor::Lutz::LutzListener.

Definition at line 55 of file LutzSegmentation.cpp.

References m_listener, m_window_size, SourceXtractor::Segmentation::LabellingListener::notifyProgress(), and SourceXtractor::Segmentation::LabellingListener::requestProcessing().

Here is the call graph for this function:

void SourceXtractor::LutzLabellingListener::publishGroup ( Lutz::PixelGroup pixel_group)
inlineoverridevirtual

Implements SourceXtractor::Lutz::LutzListener.

Definition at line 48 of file LutzSegmentation.cpp.

References m_listener, m_source_factory, SourceXtractor::Lutz::PixelGroup::pixel_list, and SourceXtractor::Segmentation::LabellingListener::publishSource().

Here is the call graph for this function:

Member Data Documentation

Segmentation::LabellingListener& SourceXtractor::LutzLabellingListener::m_listener
private

Definition at line 64 of file LutzSegmentation.cpp.

Referenced by notifyProgress(), and publishGroup().

std::shared_ptr<SourceFactory> SourceXtractor::LutzLabellingListener::m_source_factory
private

Definition at line 65 of file LutzSegmentation.cpp.

Referenced by publishGroup().

int SourceXtractor::LutzLabellingListener::m_window_size
private

Definition at line 66 of file LutzSegmentation.cpp.

Referenced by notifyProgress().


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