25 #ifndef WMPROJECTIONSASCONTEXT_H
26 #define WMPROJECTIONSASCONTEXT_H
33 #include "core/common/WItemSelection.h"
34 #include "core/common/WItemSelectionItem.h"
35 #include "core/common/WItemSelectionItemTyped.h"
36 #include "core/common/WItemSelector.h"
37 #include "core/common/WPropertyHelper.h"
38 #include "core/kernel/WModule.h"
39 #include "core/kernel/WModuleInputData.h"
40 #include "core/kernel/WModuleOutputData.h"
44 NONE, MIP, COMPOSITING_F2B, COMPOSITING_B2F
74 virtual const std::string
getName()
const;
88 virtual std::shared_ptr< WModule >
factory()
const;
120 std::shared_ptr< WModuleInputData< WDataSetScalar > >
m_scalarIC;
This data set type contains scalars as values.
This class adds some convenience methods to WGEGroupNode.
Class encapsulating the OSG Program class for a more convenient way of adding and modifying shader.
A derivation of WItemSelection which can store a value of any type.
Computes contour lines (aka isolines) for the given data and render them on a 2D plane.
WPropSelection m_singleSelectionCoronalTop
Plane orientation type.
osg::ref_ptr< osg::Geode > m_geode
Geode holding the planes.
WPropSelection m_singleSelectionSagittalTop
Plane orientation type.
virtual ~WMProjectionsAsContext()
Destroys this module.
virtual void requirements()
Initialize requirements for this module.
std::shared_ptr< WCondition > m_propCondition
Needed for recreating the geometry, incase when resolution changes.
WPropSelection m_singleSelectionAxialTop
Plane orientation type.
WPropSelection m_singleSelectionAxialBottom
Plane orientation type.
WMProjectionsAsContext()
Creates the module for drawing contour lines.
WPropSelection m_singleSelectionSagittalBottom
Plane orientation type.
std::shared_ptr< WDataSetScalar > scalarData
The treated data set.
WItemSelectionItemTyped< PlaneType > MyItemType
Typedef for plane orientation selection.
std::shared_ptr< WItemSelection > m_possibleSelectionsUsingTypes
Plane orientation type selection.
virtual void moduleMain()
Entry point after loading the module.
WPropPosition m_normalOut
Info property.
osg::ref_ptr< WGEShader > m_shader
Reference to shader object.
virtual const std::string getDescription() const
Gives back a description of this module.
osg::ref_ptr< WGEManagedGroupNode > m_rootNode
The OSG root node for this module.
WPropSelection m_singleSelectionCoronalBottom
Plane orientation type.
std::shared_ptr< WModuleInputData< WDataSetSingle > > m_transferFunction
The transfer function as an input data set.
virtual void properties()
Initialize the properties for this module.
virtual void connectors()
Initialize the connectors this module is using.
std::shared_ptr< WModuleInputData< WDataSetScalar > > m_scalarIC
Input connector for scalar data.
WPropPosition m_maxCoordsPosition
Info property.
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...
WPropDouble m_earlyRayTerminationAlpha
Threshold for early ray termination of DVR.
virtual const std::string getName() const
Gives back the name of this module.
WPropInt m_planeTypes[6]
Info property.
Class representing a single module of OpenWalnut.