25 #ifndef WMWRITEAMIRAMESH_H
26 #define WMWRITEAMIRAMESH_H
34 #include "core/dataHandler/WDataSetFibers.h"
35 #include "core/kernel/WModule.h"
36 #include "core/kernel/WModuleInputData.h"
37 #include "core/kernel/WModuleOutputData.h"
67 virtual const std::string
getName()
const;
81 virtual std::shared_ptr< WModule >
factory()
const;
Someone should add some documentation here.
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 std::string getDescription() const
Gives back a description of this module.
virtual void requirements()
Initialize requirements for this module.
WPropTrigger m_run
Button to start saving.
std::shared_ptr< WModuleInputData< const WDataSetFibers > > m_tractConnector
Input connector for writing directly tracts to a file.
void writeFile()
Writes the data to file.
virtual void connectors()
Initialize the connectors this module is using.
virtual void properties()
Initialize the properties for this module.
virtual void moduleMain()
Entry point after loading the module.
WPropFilename m_savePath
Path where tracts should be stored.
Class representing a single module of OpenWalnut.