iRoCS Toolbox
1.1.0
|
The BoundaryTreatmentFactory class contains a factory method for creating a BoundaryTreatment object from the given BoundaryTreatment enumeration value. More...
#include "libArrayToolbox/BoundaryTreatment.hh"
Static Public Member Functions | |
static BoundaryTreatment< DataT, Dim > * | get (BoundaryTreatmentType type, DataT const &value=traits< DataT >::zero) |
Get a new BoundaryTreatment object corresponding to the given enumeration value. More... | |
The BoundaryTreatmentFactory class contains a factory method for creating a BoundaryTreatment object from the given BoundaryTreatment enumeration value.
Definition at line 1012 of file BoundaryTreatment.hh.
|
static |
Get a new BoundaryTreatment object corresponding to the given enumeration value.
Ownership of the returned pointer is passed to the caller, who then is responsible for cleaning up the object using delete
when the BoundaryTreatment object is not needed any more.
type | The boundary treatment type |
value | The default value of out-of-Array pixels for the ValueBoundaryTreatment class. For all other boundary treatment strategies this parameter is ignored. |
RuntimeError | If no boundary treatment object could be created this exception is thrown |