#include <HxImgFtorRgb3d.h>
Inheritance diagram for HxImgFtorRgb3d::

| Public Types | |
| typedef HxImgFtorRgbKey | KeyType | 
| The key type of this class. More... | |
| Public Methods | |
| HxImgFtorRgb3d () | |
| Constructor. More... | |
| virtual | ~HxImgFtorRgb3d () | 
| Destructor. More... | |
| Protected Methods | |
| virtual void | doIt (ImgDataPtrType ptr, HxSizes size, HxTagList &tags, HxImgFtorDescription *=0) | 
| Do it. More... | |
Template parameters:
| 
 | |||||
| The key type of this class. 
 Reimplemented from HxImgFtorI1Cast. | 
| 
 | |||||||||
| Constructor. 
 
 00020 : HxImgFtorI1Cast<ImgSigT>(HxImgFtorRgbKey(HxClassName<ImgSigT>(), 00021 HxClassName<RgbT>())) 00022 { 00023 #ifdef CD_TRACE 00024 HxEnvironment::instance()->outputStream() 00025 << "HxImgFtorRgb3d::HxImgFtorRgb3d()" << STD_ENDL; 00026 #endif 00027 static HxRegKey* surKey 00028 = HxRegistry::instance().insertKey("/imagefunctortable/rgb"); 00029 surKey->insertValue(HxClassName<RgbT>(), HxRegData(1)); 00030 } | 
| 
 | |||||||||
| Destructor. 
 
 00034 {
00035 #ifdef CD_TRACE
00036     HxEnvironment::instance()->outputStream()
00037         << "HxImgFtorRgb3d::~HxImgFtorRgb3d()" << STD_ENDL;
00038 #endif
00039 }
 | 
| 
 | ||||||||||||||||||||||||
| Do it. 
 
 Reimplemented from HxImgFtorI1Cast. 
 00045 {
00046     int* pixels = HxGetTag<int*>(tags, "pixels");
00047     int dimension = HxGetTag<int>(tags, "dimension");
00048     int coordinate = HxGetTag<int>(tags, "coordinate");
00049     int resWidth = HxGetTag<int>(tags, "resWidth");
00050     int resHeight = HxGetTag<int>(tags, "resHeight");
00051     HxGeoIntType gi = HxGetTag<HxGeoIntType>(tags, "gi");
00052 
00053     RgbT rgb(tags);
00054 
00055     HxFuncRgbOp3d(ptr, size, pixels, dimension, coordinate, resWidth, resHeight,
00056                   gi, rgb);
00057 }
 | 
 1.2.12 written by Dimitri van Heesch,
 © 1997-2001
1.2.12 written by Dimitri van Heesch,
 © 1997-2001