OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WMDataCreatorVector::DataCreatorInterface Class Referenceabstract

Define the interface which is injected into an WObjectNDIP. More...

#include <WMDataCreatorVector.h>

Public Member Functions

virtual WValueSetBase::SPtr operator() (WProgress::SPtr progress, WGridRegular3D::ConstSPtr grid, dataType type=W_DT_FLOAT)=0
 Create the dataset. More...
 
virtual ~DataCreatorInterface ()
 Destructor. More...
 

Detailed Description

Define the interface which is injected into an WObjectNDIP.

Definition at line 87 of file WMDataCreatorVector.h.

Constructor & Destructor Documentation

◆ ~DataCreatorInterface()

virtual WMDataCreatorVector::DataCreatorInterface::~DataCreatorInterface ( )
inlinevirtual

Destructor.

Definition at line 104 of file WMDataCreatorVector.h.

Member Function Documentation

◆ operator()()

virtual WValueSetBase::SPtr WMDataCreatorVector::DataCreatorInterface::operator() ( WProgress::SPtr  progress,
WGridRegular3D::ConstSPtr  grid,
dataType  type = W_DT_FLOAT 
)
pure virtual

Create the dataset.

This needs to be implemented by all the creators you write.

Parameters
progressthe progress instance you should increment each time you fill the value for one voxel.
gridthe grid on which the value set has to be build
typethe value type in the value set
Returns
the value set for the given grid

The documentation for this class was generated from the following file: