Public Types | |
typedef HxTagTransInVar | TransVarianceCategory |
Functor is translation invariant. More... | |
Public Methods | |
HxBpoHighlightRegion (HxTagList &tags) | |
Constructor : empty. More... | |
DstValT | doIt (const SrcValT &x, const LabelValT &y) |
Actual operation. More... | |
Static Public Methods | |
DstValT | neutralElement () |
HxString | className () |
The name : "highlightRegion". More... |
|
Functor is translation invariant.
|
|
Constructor : empty.
00030 { 00031 _label = LabelValT(HxGetTag<int>(tags, "label", 1)); 00032 _factor = HxScalarDouble( 00033 HxGetTag<double>(tags,"factor", 0.75)); 00034 } |
|
Actual operation.
00038 { return (y == _label) ? x : x*_factor; } |
|
The name : "highlightRegion".
00045 { return HxString("highlightRegion"); } |