25 #ifndef WDATACREATORSPHERE_H
26 #define WDATACREATORSPHERE_H
28 #include <core/common/WObjectNDIP.h>
30 #include "WDataSetSingleCreatorInterface.h"
Creates a sphere inside a given grid.
WPropDouble m_lowerClampValue
To which value should be clamped?
WPropDouble m_upperClampValue
To which value should be clamped?
virtual ~WDataCreatorSphere()
Destructor.
WPropDouble m_upperClamp
Clamp to 0 for all values above.
WPropDouble m_lowerClamp
Clamp to 0 for all values below this one.
WDataCreatorSphere()
Default constructor.
WPropDouble m_radius
The radius of the sphere in relative coordinates.
WPropPosition m_center
Relative center coordinates.
virtual WValueSetBase::SPtr operator()(WProgress::SPtr progress, WGridRegular3D::ConstSPtr grid, unsigned char order=0, unsigned char dimension=1, dataType type=W_DT_FLOAT)
Create the dataset.
std::shared_ptr< const WGridRegular3DTemplate > ConstSPtr
Convenience typedef for a std::shared_ptr< const WGridRegular3DTemplate >.
This is a base class for everything which has a Name,Description,Icon and Properties (=NDIP).
std::shared_ptr< WProgress > SPtr
Shared pointer on a WProgress.
std::shared_ptr< WValueSetBase > SPtr
Shared pointer to an instance of this class.
dataType
Data types and number values taken from the nifti1.h, at this point it's unknown if it makes sense to...