Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxImgFunctor Class Reference

The base class of all image functors. More...

#include <HxImgFunctor.h>

Inheritance diagram for HxImgFunctor::

HxImgFtorI1 HxImgFtorI2 HxImgFtorI3 HxImgFtorIM HxImgFtorIMN HxImgFtorI1Cast HxImgFtorI2Cast HxImgFtorI2Cast< ImgSigT, KerImgSigT > HxImgFtorI3Cast HxImgFtorI3Cast< DstImgSigT, SrcImgSigT, KerImgSigT > HxImgFtorIMCast HxImgFtorIMNCast HxImgFtorIMNCast< DstImgSigT, SrcImgsSigT > List of all members.

Public Methods

 HxImgFunctor (const HxImgFtorKey &)
virtual ~HxImgFunctor ()
virtual STD_OSTREAM & put (STD_OSTREAM &) const
virtual HxSizes minimumBorderSize (HxTagList &tags) const
 some functor instantiations can determine the minimum border size needed to perform the operation correctly. More...

virtual bool probeOp (HxTagList &) const
 some operator instantiations can be queried for pre-condition information. More...


Protected Methods

HxImgFtorDescriptiongetDescription () const
HxSizes getBorderSize (HxTagList &tags, HxSizes defSize=HxSizes(0, 0, 0)) const
 Support method that reads a border size from the tag list if set. More...


Detailed Description

The base class of all image functors.


Member Function Documentation

HxSizes HxImgFunctor::minimumBorderSize HxTagList   tags const [virtual]
 

some functor instantiations can determine the minimum border size needed to perform the operation correctly.

MNPO IMPORTANT DESIGN NOTES: this (obsolete) function should be implemented by means of the probeOp MNPO

Reimplemented in HxImgFtorKernelNgb2d, and HxImgFtorNgb2d.

00030 {
00031     return HxSizes(0,0,0);
00032 }

bool HxImgFunctor::probeOp HxTagList   tags const [virtual]
 

some operator instantiations can be queried for pre-condition information.

Reimplemented in HxImgFtorMNpo.

00044 {
00045     return true;
00046 }

HxSizes HxImgFunctor::getBorderSize HxTagList   tags,
HxSizes    defSize = HxSizes(0, 0, 0)
const [protected]
 

Support method that reads a border size from the tag list if set.

Returns a border size of (0, 0, 0) otherwise.

00036 {
00037     return HxGetTag(tags, "borderSize", defSize);
00038 }


The documentation for this class was generated from the following files:
Generated on Tue Jan 8 13:59:30 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001