25 #ifndef WMWEBGLSUPPORT_H
26 #define WMWEBGLSUPPORT_H
33 #include "core/dataHandler/WDataSetScalar.h"
34 #include "core/dataHandler/WDataSetVector.h"
35 #include "core/graphicsEngine/WTriangleMesh.h"
36 #include "core/kernel/WModule.h"
37 #include "core/kernel/WModuleInputData.h"
38 #include "core/kernel/WModuleOutputData.h"
68 virtual const std::string
getName()
const;
82 virtual std::shared_ptr< WModule >
factory()
const;
Someone should add some documentation here.
std::shared_ptr< WModuleInputData< WTriangleMesh > > m_meshInput
Input connector for a mesh.
WPropTrigger m_propTriggerSaveRGB
This property triggers the actual writing,.
std::shared_ptr< WDataSetScalar > m_datasetScalar
A pointer to the currently processed dataset.
std::shared_ptr< WDataSetVector > m_datasetVector
A pointer to the currently processed dataset.
std::shared_ptr< WModuleInputData< WDataSetScalar > > m_datasetInputScalar
Input connector required by this module.
WPropTrigger m_propTriggerSaveGray
This property triggers the actual writing,.
std::shared_ptr< WCondition > m_propCondition
A condition used to notify about changes in several properties.
virtual void connectors()
Initialize the connectors this module is using.
virtual const char ** getXPMIcon() const
Get the icon for this module in XPM format.
virtual void properties()
Initialize the properties for this module.
WPropFilename m_meshFile
The mesh will be written to this file.
void colorTriMeshGray()
colors a connected triangle mesh with the connected gray scale texture
virtual ~WMWebglSupport()
destructor
std::shared_ptr< WTriangleMesh > m_triMesh
A pointer to the currently processed tri mesh.
virtual void moduleMain()
Entry point after loading the module.
std::shared_ptr< WItemSelection > m_fileTypeSelectionsList
A list of file type selection types.
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.
void saveSlicesRGB()
saves a connected rgb 3D texture as set of 2D textures
WPropTrigger m_propTriggerUpdateOutputGray
This property triggers the actual writing,.
WPropTrigger m_propTriggerUpdateOutputRGB
This property triggers the actual writing,.
std::shared_ptr< WModuleOutputData< WTriangleMesh > > m_meshOutput
Input connector required by this module.
void saveSlicesGray()
saves a connected gray scale 3D texture as set of 2D textures
void colorTriMeshRGB()
colors a connected triangle mesh with the connected rgb texture
WPropSelection m_fileTypeSelection
Selection property for file types.
std::shared_ptr< WModuleInputData< WDataSetVector > > m_datasetInputVector
Input connector required by this module.
virtual const std::string getName() const
Gives back the name of this module.
WPropFilename m_fileName
The mesh will be written to this file.
WMWebglSupport()
constructor
Class representing a single module of OpenWalnut.