25 #ifndef WMFIBERFILTERROI_H
26 #define WMFIBERFILTERROI_H
31 #include "core/dataHandler/WDataSetFiberClustering.h"
32 #include "core/dataHandler/WDataSetFibers.h"
33 #include "core/kernel/WFiberSelector.h"
34 #include "core/kernel/WModule.h"
35 #include "core/kernel/WModuleInputData.h"
36 #include "core/kernel/WModuleOutputData.h"
60 virtual const std::string
getName()
const;
74 virtual std::shared_ptr< WModule >
factory()
const;
96 std::shared_ptr< WModuleInputData< WDataSetFibers > >
m_input;
std::shared_ptr< WDataSetFibers > SPtr
Pointer to dataset.
std::shared_ptr< WFiberSelector > SPtr
Fiber selector pointer.
This module is intended to allow the user to filter a fiber dataset using the current ROI config.
std::shared_ptr< WModuleOutputData< WDataSetFiberClustering > > m_clusterOutput
The output connector for the resulting clustering.
WFiberSelector::SPtr m_fiberSelector
Selector for the current fiber data or NULL of none.
virtual const std::string getName() const
Gives back the name of this module.
virtual void properties()
Initialize the properties for this module.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
virtual const std::string getDescription() const
Gives back a description of this module.
virtual ~WMFiberFilterROI()
Destructor.
virtual void connectors()
Initialize the connectors this module is using.
void updateOutput()
Updates the output using the ROI configuration.
WMFiberFilterROI()
Default constructor.
std::shared_ptr< WModuleInputData< WDataSetFibers > > m_input
An input for the fiber data.
std::shared_ptr< WModuleOutputData< WDataSetFibers > > m_fiberOutput
The output connector for the filtered data.
WPropTrigger m_aTrigger
Trigger output update.
WDataSetFibers::SPtr m_fibers
Fiber data.
virtual std::shared_ptr< WModule > factory() const
Due to the prototype design pattern used to build modules, this method returns a new instance of this...
virtual void moduleMain()
Entry point after loading the module.
Class representing a single module of OpenWalnut.