Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Array::Trait::TalkNgbPnLoop< DstArrayT, SrcArrayT > Class Template Reference

Neighbourhood functor for talking. More...

#include <TalkNgbPnLoop.h>

List of all members.

Public Types

typedef Pattern::TagLoop IteratorCategory
 Loop version.
typedef Pattern::TagNPhase PhaseCategory
 N phase.
typedef DstArrayT::StorType DstStorType
typedef DstArrayT::ArithType DstArithType
typedef SrcArrayT::StorType SrcStorType
typedef SrcArrayT::ArithType SrcArithType

Public Member Functions

 TalkNgbPnLoop (bool verbose, int ngbWidth, int ngbHeight)
 Constructor.
int Width ()
 Width of the neighbourhood.
int Height ()
 Height of the neighbourhood.
void Init (int phase, int x, int y, SrcArithType value)
 Initialization.
void NextEl (int x, int y, SrcArithType value)
 Processing one pixel.
void Done (int phase)
 Done with one phase.
bool HasNextPhase (int lastPhase)
 Do we have a next phase after this one?
DstArithType Result () const
 Produce the result value.

Private Attributes

int mNgbWidth
int mNgbHeight
SrcArithType mResult
SrcArithType mFactor
bool mVerbose


Detailed Description

template<class DstArrayT, class SrcArrayT>
class Impala::Core::Array::Trait::TalkNgbPnLoop< DstArrayT, SrcArrayT >

Neighbourhood functor for talking.

Definition at line 21 of file TalkNgbPnLoop.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:05:36 2010 for ImpalaSrc by  doxygen 1.5.1