#include <HxRgbBinary.h>
Public Types | |
typedef ValDoubleT | ArithTypeDouble |
The "double" arithtype. More... | |
Public Methods | |
HxRgbBinary (HxTagList &) | |
Constructor : empty. More... | |
int | doIt (const ValT &pixV) |
Actual operation for the "standard" arithtype. More... | |
int | doItDouble (const ValDoubleT &pixV) |
Actual operation for the "double" arithtype. More... | |
Static Public Methods | |
HxString | className () |
The name : "Binary". More... |
pixV is 0 or 1.
|
The "double" arithtype.
|
|
Constructor : empty.
00032 {} |
|
Actual operation for the "standard" arithtype.
00036 { 00037 ValT v = HxScalarInt(0); 00038 return (pixV == v) ? 0xFF000000 /*black*/ 00039 : 0xFFFF0000 /*red*/; 00040 } |
|
Actual operation for the "double" arithtype.
00044 { 00045 ValDoubleT v = HxScalarInt(0); 00046 return (pixV == v) ? 0xFF000000 /*black*/ 00047 : 0xFFFF0000 /*red*/; 00048 } |
|
The name : "Binary".
00052 { return HxString("Binary"); } |