IntegerMotionChannel Class Reference

A composite channel containing a set of direction channels. More...

#include <Channels/IntegerMotionChannel.H>

Inheritance diagram for IntegerMotionChannel:
Inheritance graph
[legend]
Collaboration diagram for IntegerMotionChannel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IntegerMotionChannel (OptionManager &mgr, nub::ref< IntegerMathEngine > eng)
 Construct.
virtual ~IntegerMotionChannel ()
 destructor
virtual IntegerDirectionChanneldirChan (const uint idx) const
 returns a specific IntegerDirectionChannel
virtual void paramChanged (ModelParamBase *const param, const bool valueChanged, ParamClient::ChangeStatus *status)
 Overload so that we can reconfigure when our params get changed.

Protected Member Functions

virtual void buildSubChans ()
 (re-)build our subchannels
virtual void doInputInt (const IntegerInput &inp, const SimTime &t, PyramidCache< int > *cache, const Image< byte > &clipMask)
 IntegerMotionChannel only required luminosity input.

Protected Attributes

OModelParam< uintitsNumDirs
 number of IntegerDirectionChannel subcomponents

Detailed Description

A composite channel containing a set of direction channels.

Definition at line 48 of file IntegerMotionChannel.H.


Constructor & Destructor Documentation

IntegerMotionChannel::IntegerMotionChannel ( OptionManager mgr,
nub::ref< IntegerMathEngine eng 
)

Construct.

Definition at line 60 of file IntegerMotionChannel.C.

References buildSubChans().

IntegerMotionChannel::~IntegerMotionChannel (  )  [virtual]

destructor

Definition at line 72 of file IntegerMotionChannel.C.


Member Function Documentation

void IntegerMotionChannel::buildSubChans (  )  [protected, virtual]
IntegerDirectionChannel & IntegerMotionChannel::dirChan ( const uint  idx  )  const [virtual]

returns a specific IntegerDirectionChannel

Definition at line 78 of file IntegerMotionChannel.C.

References IntegerComplexChannel::subChan().

Referenced by doInputInt().

void IntegerMotionChannel::doInputInt ( const IntegerInput inp,
const SimTime t,
PyramidCache< int > *  cache,
const Image< byte > &  clipMask 
) [protected, virtual]

IntegerMotionChannel only required luminosity input.

Implements IntegerChannel.

Definition at line 130 of file IntegerMotionChannel.C.

References dirChan(), and IntegerComplexChannel::numChans().

void IntegerMotionChannel::paramChanged ( ModelParamBase *const   param,
const bool  valueChanged,
ParamClient::ChangeStatus status 
) [virtual]

Overload so that we can reconfigure when our params get changed.

Reimplemented from ModelComponent.

Definition at line 115 of file IntegerMotionChannel.C.

References buildSubChans(), OModelParam< T >::getVal(), itsNumDirs, and IntegerComplexChannel::numChans().


Member Data Documentation

number of IntegerDirectionChannel subcomponents

Definition at line 68 of file IntegerMotionChannel.H.

Referenced by buildSubChans(), and paramChanged().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:43:23 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3