OEOverlayOptions
class OEOverlayOptions : public OESystem::OEOptions
This class provides an interface to setup options required for OEOverlay.
- The OEOverlayOptions class defines the following public methods:
Constructors
OEOverlayOptions()
OEOverlayOptions(const OEOverlayOptions&)
Default and copy constructors.
operator=
OEOverlayOptions &operator=(const OEOverlayOptions &)
GetColorFuncType
unsigned GetColorFuncType() constSee
SetColorFuncTypemethod.
GetColorOptions
OEColorOptions& GetColorOptions() const OEColorOptions& GetColorOptions() constSee
SetColorOptionsmethod.
GetMaxOptSteps
unsigned GetMaxOptSteps() constSee
SetMaxOptStepsmethod.
GetOverlapFunc
const OEOverlapFuncBase& GetOverlapFunc() constSee
SetOverlapFuncmethod.
GetShapeFuncType
unsigned GetShapeFuncType() constSee
SetShapeFuncTypemethod.
GetShapeOptions
OEShapeOptions& GetShapeOptions() const OEShapeOptions& GetShapeOptions() constSee
SetShapeOptionsmethod.
SetColorFuncType
bool SetColorFuncType(const unsigned)Set the type of color func to be used for estimating color scores, as defined in the
OEColorTypenamespace. Default:OEColorType::Exact.
SetMaxOptSteps
bool SetMaxOptSteps(const unsigned int)Set the maximum number of optimization iteration steps. Default: 200
SetOverlapFunc
void SetOverlapFunc(const OEOverlapFuncBase&)Set the overlap function by by passing in an OEOverlapFuncBase instance. This defines the shape/color interactions to be optimized for overlay.
SetShapeFuncType
bool SetShapeFuncType(const unsigned)Set the type of shape func to be used for estimating shape overlap, as defined in the
OEShapeTypenamespace. Default:OEShapeType::Grid.