#include <HxImgFtorI1Cast.h>
Inheritance diagram for HxImgFtorI1Cast::
Public Types | |
typedef HxImgFtorI1CastKey | KeyType |
The key type of this class. More... | |
typedef ImgSigT::DataPtrType | ImgDataPtrType |
The data pointer type of the image. More... | |
Public Methods | |
HxImgFtorI1Cast (const KeyType &) | |
Constructor. More... | |
virtual | ~HxImgFtorI1Cast () |
Destructor. More... | |
virtual void | callIt (HxImageData *img, HxTagList &tags) |
Converts parameters and calls doIt. More... | |
Protected Methods | |
virtual void | doIt (ImgDataPtrType ptr, HxSizes size, HxTagList &tags, HxImgFtorDescription *=0)=0 |
doIt is implemented by derived image functors:. More... |
Template parameters:
|
|
The data pointer type of the image.
|
|
Constructor.
00069 : HxImgFtorI1(key) 00070 { 00071 } |
|
Destructor.
00020 { 00021 } |
|
Converts parameters and calls doIt.
Reimplemented from HxImgFtorI1.
00026 { 00027 TYPENAME ImgSigT::DataPtrType ptr 00028 = HxMakeDataPtr<typename ImgSigT::DataPtrType>(img); 00029 00030 HxImgFtorDescription* description = getDescription(); 00031 if (description) 00032 { 00033 description->setTags(tags); 00034 description->addArgument(img->signature(), img->sizes()); 00035 description->startTime(); 00036 } 00037 00038 doIt(ptr, img->sizes(), tags, description); 00039 if (description) 00040 description->stopTime(); 00041 00042 } |
|