Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxImageTem Class Template Reference

Template class for operations that are independent of image dimensionality. More...

#include <HxImageTem.h>

Inheritance diagram for HxImageTem::

HxImageData HxRcObject HxImageTem2d HxImageTem3d List of all members.

Public Types

typedef TYPENAME ImageSigT::ArithType ArithType
typedef TYPENAME ImageSigT::ArithTypeDouble ArithTypeDouble
typedef TYPENAME ImageSigT::DataPtrType DataPtrType
typedef TYPENAME ImageSigT::ArithImageSigType ArithImageSigType
typedef TYPENAME ImageSigT::ArithImageSigTypeDouble ArithImageSigTypeDouble

Public Methods

 HxImageTem ()
 HxImageTem (const HxImageTem &)
virtual ~HxImageTem ()
int dimensionality () const
int dimensionSize (int i) const
HxSizes sizes () const
int numberOfPixels () const
int pixelDimensionality () const
HxValueType pixelType () const
int pixelPrecision () const
HxImageSignature signature () const
virtual void set (double *pixels)
virtual void convertColor (HxVec3Double scale1, HxVec3Double gamma1, HxUpoVec3Double step1, HxUpoVec3Double step2, HxUpoVec3Double step3, HxVec3Double gamma2, HxVec3Double scale2)
virtual void transpose (const HxImageData *src)
virtual void getValues (HxPointListConstIter first, HxPointListConstIter last, HxValueListBackInserter)=0
virtual void setAt (int x, int y, int z, const HxValue val)
virtual HxValue getAt (int x, int y, int z) const
virtual void neighbourhoodOp (const HxImageData *src, HxString ngbName, HxTagList &tags)
 Neighbourhood operation. More...

virtual void neighbourhoodOp (const HxImageData *src, const HxImageData *kernel, HxString ngbName, HxTagList &tags)
 Neighbourhood operation with kernel. More...

virtual void getDoublePixels (double *pixels)
virtual STD_OSTREAM & printInfo (STD_OSTREAM &os, int doData=0) const
virtual HxImageTem< ImageSigT > * makeScratch (HxSizes border) const
virtual DataPtrType dataPtrClone () const=0

Protected Attributes

int _dimSizes [3]

Detailed Description

template<class ImageSigT>
class HxImageTem< ImageSigT >

Template class for operations that are independent of image dimensionality.


Member Function Documentation

template<class ImageSigT>
void HxImageTem< ImageSigT >::neighbourhoodOp const HxImageData   src,
HxString    ngbName,
HxTagList   tags
[virtual]
 

Neighbourhood operation.

Reimplemented from HxImageData.

Reimplemented in HxImageTem2d.

00318 {
00319     HxEnvironment::instance()->errorStream()
00320         << "neighbourhoodOp(): operation not implemented for image type "
00321         << signature() << STD_ENDL;
00322     HxEnvironment::instance()->flush();
00323 }

template<class ImageSigT>
void HxImageTem< ImageSigT >::neighbourhoodOp const HxImageData   src,
const HxImageData   kernel,
HxString    ngbName,
HxTagList   tags
[virtual]
 

Neighbourhood operation with kernel.

Reimplemented from HxImageData.

Reimplemented in HxImageTem2d.

00329 {
00330     HxEnvironment::instance()->errorStream()
00331         << "neighbourhoodOp(): operation not implemented for image type "
00332         << signature() << STD_ENDL;
00333     HxEnvironment::instance()->flush();
00334 }


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