25 #ifndef WMEFFECTIVECONNECTIVITYCLUSTER_H
26 #define WMEFFECTIVECONNECTIVITYCLUSTER_H
35 #include "core/common/math/linearAlgebra/WPosition.h"
36 #include "core/dataHandler/WDataSetFibers.h"
37 #include "core/dataHandler/WDataSetScalar.h"
38 #include "core/graphicsEngine/WGEGroupNode.h"
39 #include "core/kernel/WModule.h"
40 #include "core/kernel/WModuleContainer.h"
41 #include "core/kernel/WModuleInputForwardData.h"
42 #include "core/kernel/WModuleOutputForwardData.h"
66 virtual const std::string
getName()
const;
80 virtual std::shared_ptr< WModule >
factory()
const;
116 void fiberDataChange( std::shared_ptr< WModuleConnector > input, std::shared_ptr< WModuleConnector > output );
122 std::shared_ptr< WModuleInputForwardData< WDataSetFibers > >
m_fiberInput;
127 std::shared_ptr< WModuleInputForwardData< WDataSetSingle > >
m_VOI1;
132 std::shared_ptr< WModuleInputForwardData< WDataSetSingle > >
m_VOI2;
137 std::shared_ptr< WModuleOutputForwardData< WDataSetScalar > >
m_paramOutput;
142 std::shared_ptr< WModuleOutputForwardData< WDataSetScalar > >
m_voxelOutput;
147 std::shared_ptr< WModuleOutputForwardData< WDataSetFibers > >
m_fiberOutput;
This module is able to visualize connectome data in the context of MRI data.
WPosition m_labelPos2
The position of the second label showing m_voi2Name.
void fiberDataChange(std::shared_ptr< WModuleConnector > input, std::shared_ptr< WModuleConnector > output)
This method is called whenever the data on the fiberSelection module output changes.
virtual void moduleMain()
Entry point after loading the module.
WPropString m_voi2Name
The name of the first region of interest.
WPropString m_voi1Name
The name of the first region of interest.
std::shared_ptr< WModuleOutputForwardData< WDataSetScalar > > m_voxelOutput
The voxelized fibers used.
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
virtual void properties()
Initialize the properties for this module.
bool m_labelActive
True if the labels should be drawn.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
std::shared_ptr< WModuleOutputForwardData< WDataSetScalar > > m_paramOutput
The parameter dataset used.
virtual const std::string getDescription() const
Gives back a description of this module.
WMEffectiveConnectivityCluster()
Standard constructor.
WPropInt m_labelCharacterSize
Size of the label font.
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...
std::shared_ptr< WModule > m_voxelizer
The voxelizer module.
virtual void activate()
Callback for m_active.
std::shared_ptr< WModuleInputForwardData< WDataSetSingle > > m_VOI1
The volume of interest 1.
std::shared_ptr< WModule > m_fiberSelection
The fiber selection module.
WPosition m_labelPos1
The position of the first label showing m_voi1Name.
virtual const std::string getName() const
Gives back the name of this module.
virtual void connectors()
Initialize the connectors this module is using.
std::shared_ptr< WModule > m_animation
The final animation.
std::shared_ptr< WModule > m_gauss
The Gauss filter which filters the voxelized fibers.
~WMEffectiveConnectivityCluster()
Destructor.
std::shared_ptr< WModuleInputForwardData< WDataSetFibers > > m_fiberInput
The fiber dataset used.
osg::ref_ptr< WGEGroupNode > m_rootNode
The root node used for this modules graphics.
std::shared_ptr< WModuleInputForwardData< WDataSetSingle > > m_VOI2
The volume of interest 2.
std::shared_ptr< WModuleOutputForwardData< WDataSetFibers > > m_fiberOutput
The fibers used.
Class able to contain other modules.
This only is a 3d double vector.