#include <HxImgFtorI3Cast.h>
Inheritance diagram for HxImgFtorI3Cast::
Public Types | |
typedef HxImgFtorI3CastKey | KeyType |
The key type of this class. More... | |
typedef Img1SigT::DataPtrType | Img1DataPtrType |
The data pointer type of the first image. More... | |
typedef Img2SigT::DataPtrType | Img2DataPtrType |
The data pointer type of the second image. More... | |
typedef Img3SigT::DataPtrType | Img3DataPtrType |
The data pointer type of the third image. More... | |
Public Methods | |
HxImgFtorI3Cast (const KeyType &) | |
Constructor. More... | |
virtual | ~HxImgFtorI3Cast () |
Destructor. More... | |
virtual void | callIt (HxImageData *img1, HxImageData *img2, HxImageData *img3, HxTagList &tags) |
Converts parameters and calls doIt. More... | |
Protected Methods | |
virtual void | doIt (Img1DataPtrType img1Ptr, Img2DataPtrType img2Ptr, Img3DataPtrType img3Ptr, HxSizes img1Size, HxSizes img2Size, HxSizes img3Size, HxTagList &tags, HxImgFtorDescription *=0)=0 |
doIt is implemented by derived image functors:. More... |
Template parameters:
|
|
The data pointer type of the first image.
|
|
The data pointer type of the second image.
|
|
The data pointer type of the third image.
|
|
Constructor.
00085 : HxImgFtorI3(key) 00086 { 00087 } |
|
Destructor.
00025 { 00026 #ifdef CD_TRACE 00027 HxEnvironment::instance()->outputStream() 00028 << "~HxImgFtorI3Cast()" << STD_ENDL; 00029 HxEnvironment::instance()->flush(); 00030 #endif 00031 } |
|
Converts parameters and calls doIt.
Reimplemented from HxImgFtorI3.
00038 { 00039 TYPENAME Img1SigT::DataPtrType img1Ptr 00040 = HxMakeDataPtr<typename Img1SigT::DataPtrType>(img1); 00041 TYPENAME Img2SigT::DataPtrType img2Ptr 00042 = HxMakeDataPtr<typename Img2SigT::DataPtrType>(img2); 00043 TYPENAME Img3SigT::DataPtrType img3Ptr 00044 = HxMakeDataPtr<typename Img3SigT::DataPtrType>(img3); 00045 00046 HxImgFtorDescription* description = getDescription(); 00047 if (description) 00048 { 00049 description->setTags(tags); 00050 description->addArgument(img1->signature(), img1->sizes()); 00051 description->addArgument(img2->signature(), img2->sizes()); 00052 description->addArgument(img3->signature(), img3->sizes()); 00053 description->startTime(); 00054 } 00055 00056 doIt(img1Ptr, img2Ptr, img3Ptr, 00057 img1->sizes(), img2->sizes(), img3->sizes(), tags, description); 00058 00059 if (description) 00060 description->stopTime(); 00061 } |
|