32 #include "../filterProtonData/WProtonData.h"
33 #include "core/dataHandler/WDataSetCSV.h"
34 #include "core/dataHandler/WDataSetFibers.h"
35 #include "core/kernel/WModule.h"
36 #include "core/kernel/WModuleInputData.h"
64 virtual const std::string
getName()
const;
78 virtual std::shared_ptr< WModule >
factory()
const;
141 bool contains( std::string sourceString,
float num );
148 size_t createStartCounter( std::list< std::tuple < float, float, float, size_t > > listOfInternalVertex );
155 std::shared_ptr< WModuleInputData< WDataSetCSV > >
m_CSVInput;
std::shared_ptr< WDataSetFibers > SPtr
Pointer to dataset.
test class of the writeCSV class
Class for safe the point-connector data.
void writeToFile()
This performs all work necessary to actually write the data to the file.
std::list< std::tuple< float, float, float, size_t > > getListOfInternalVertex(WDataSetFibers::SPtr fibers)
Helpermethod to create a List of internal vertex with id.
WPropFilename m_filename
The filename property -> where to write the csv file.
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::string getNewCSVHeader()
The Helpermethod goes through the header and searches for -SelectedEventID-, if one was found,...
void propertyCallback()
Trigger Event for Dialogfile.
std::shared_ptr< WModuleInputData< WDataSetCSV > > m_CSVInput
Input connector required by this module.
virtual const std::string getName() const
Gives back the name of this module.
size_t createStartCounter(std::list< std::tuple< float, float, float, size_t > > listOfInternalVertex)
Helpermethod goes through the existing EvenIDs and returns the next one.
std::shared_ptr< WModuleInputData< WDataSetFibers > > m_fibersInput
Input connector required by this module.
virtual const std::string getDescription() const
Gives back a description of this module.
bool contains(std::string sourceString, float num)
Helpermethod: checks whether the source domain contains the specified float.
virtual void properties()
Initialize the properties for this module.
virtual void connectors()
Initialize the connectors this module is using.
virtual void moduleMain()
Entry point after loading the module.
WMWriteCSV()
Standard constructor.
std::string getPathToSave()
Helpermethod: Returns the path from Filedialog.
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
Class representing a single module of OpenWalnut.