25 #ifndef WMTRANSFERFUNCTION1D_H
26 #define WMTRANSFERFUNCTION1D_H
33 #include "core/kernel/WModule.h"
34 #include "core/kernel/WModuleInputData.h"
35 #include "core/kernel/WModuleOutputData.h"
59 virtual const std::string
getName()
const;
73 virtual std::shared_ptr< WModule >
factory()
const;
A module to provide 1D transfer functions, e.g., for volume rendering.
virtual void connectors()
Initialize the connectors this module is using.
virtual void requirements()
Initialize requirements for this module.
WPropTransferFunction m_transferFunction
The transfer function property.
virtual const std::string getDescription() const
Gives back a description of this module.
virtual void properties()
Initialize the properties for this module.
WPropInt m_binSize
Histogram bin size.
WPropDouble m_opacityScale
Histogram bin size.
WModuleOutputData< WDataSetSingle >::SPtr m_output
The output connector used to provide the calculated data to other modules.
virtual void moduleMain()
Entry point after loading the module.
WPropInt m_resolution
Resolution of the transfer function.
WModuleInputData< WDataSetSingle >::SPtr m_input
virtual const std::string getName() const
Gives back the name of this module.
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 const char ** getXPMIcon() const
Get the icon for this module in XPM format.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
Class offering an instantiate-able data connection between modules.
Class representing a single module of OpenWalnut.