25 #ifndef WMWRITETRANSFERFUNCTION_H
26 #define WMWRITETRANSFERFUNCTION_H
31 #include "core/common/WProperties.h"
32 #include "core/kernel/WModule.h"
33 #include "core/kernel/WModuleInputData.h"
34 #include "core/kernel/WModuleOutputData.h"
65 virtual const std::string
getName()
const;
79 virtual std::shared_ptr< WModule >
factory()
const;
Module to export transferfunctions.
WPropTrigger m_saveTrigger
DO the save operation.
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 std::string getDescription() const
Gives back a description of this module.
WPropFilename m_savePath
Where to save the file to.
WModuleInputData< WDataSetSingle >::SPtr m_input
The connector used to get the TF.
virtual ~WMWriteTransferFunction()
Destructor.
virtual void moduleMain()
Entry point after loading the module.
virtual const std::string getName() const
Gives back the name of this module.
const char ** getXPMIcon() const
Get the icon for this module in XPM format.
virtual void properties()
Initialize the properties for this module.
WMWriteTransferFunction()
Constructor.
WPropBool m_saveAsRaw
Allows saving as raw data file instead of ascii.
virtual void connectors()
Initialize the connectors this module is using.
std::shared_ptr< WCondition > m_propCondition
Condition used throughout the module to notify the thread if some changes happened (like properties h...
Class representing a single module of OpenWalnut.