Public Methods | |
| RGB2Intensity (HxTagList &) | |
| Constructor : get parameters from taglist. More... | |
| DstValT | doIt (const SrcValT &x) |
| Actual operation. More... | |
Static Public Methods | |
| HxString | className () |
| The name : "RGB2Intensity". More... | |
|
||||||||||
|
Constructor : get parameters from taglist.
00035 {
00036 }
|
|
||||||||||
|
Actual operation.
00041 {
00042 return 0.212671*x.x() + 0.715160*x.y() + 0.072169*x.z();
00043 }
|
|
|||||||||
|
The name : "RGB2Intensity".
00048 {
00049 return HxString("RGB2Intensity");
00050 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001