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 &)
GetColorOptions¶
OEColorOptions& GetColorOptions() const OEColorOptions& GetColorOptions() constSee
SetColorOptions
method.
GetShapeOptions¶
OEShapeOptions& GetShapeOptions() const OEShapeOptions& GetShapeOptions() constSee
SetShapeOptions
method.
SetColorFuncType¶
bool SetColorFuncType(const unsigned)Set the type of color func to be used for estimating color scores, as defined in the
OEColorType
namespace. 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
OEShapeType
namespace. Default:OEShapeType.Grid
.