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

Public Types | |
| typedef HxImgFtorUpoKey | KeyType |
| The key type of this class. More... | |
Public Methods | |
| HxImgFtorUpo () | |
| Constructor. More... | |
| virtual | ~HxImgFtorUpo () |
| Destructor. More... | |
Protected Methods | |
| virtual void | doIt (DstDataPtrType dstPtr, SrcDataPtrType srcPtr, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *=0) |
| Calls HxFuncUnaryPixOp to do the actual work. More... | |
|
|||||
|
The key type of this class.
Reimplemented from HxImgFtorI2Cast. |
|
|||||||||
|
Constructor.
00023 : HxImgFtorI2Cast<DstImgSigT, SrcImgSigT>( 00024 HxImgFtorUpoKey(HxClassName<DstImgSigT>(), HxClassName<SrcImgSigT>(), 00025 HxClassName<UpoT>())) 00026 { 00027 #ifdef CD_TRACE 00028 HxEnvironment::instance()->outputStream() 00029 << "HxImgFtorUpo::HxImgFtorUpo()" << STD_ENDL; 00030 #endif 00031 static HxRegKey* upoKey 00032 = HxRegistry::instance().insertKey("/imagefunctortable/upo"); 00033 00034 HxRegKey* k = upoKey->insertKey(HxClassName<UpoT>()); 00035 k = k->insertKey("resulttype"); 00036 k->insertValue( 00037 HxClassName<SrcImgSigT>(), HxRegData(HxClassName<DstImgSigT>())); 00038 } |
|
|||||||||
|
Destructor.
00042 {
00043 #ifdef CD_TRACE
00044 HxEnvironment::instance()->outputStream()
00045 << "HxImgFtorUpo::~HxImgFtorUpo()" << STD_ENDL;
00046 #endif
00047 }
|
|
||||||||||||||||||||||||||||||||
|
Calls HxFuncUnaryPixOp to do the actual work.
Reimplemented from HxImgFtorI2Cast.
00054 {
00055 UpoT upo(tags);
00056
00057 int nPix = dstSize.x() * dstSize.y() * dstSize.z();
00058 HxFuncUnaryPixOp(
00059 dstPtr, srcPtr, nPix, upo);
00060 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001