25 #ifndef WDATACREATORSINGLEDIRECTION_H
26 #define WDATACREATORSINGLEDIRECTION_H
28 #include "core/common/WObjectNDIP.h"
29 #include "WDataSetSingleCreatorInterface.h"
31 #include "WMDataCreatorScalar.h"
Sets all voxels to the same vector.
WDataCreatorSingleDirection()
Default constructor.
virtual ~WDataCreatorSingleDirection()
Destructor.
WPropPosition m_vector
The vector to copy to the voxels.
virtual WValueSetBase::SPtr operator()(WProgress::SPtr progress, WGridRegular3D::ConstSPtr grid, unsigned char order=1, unsigned char dimension=3, 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...