Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MotionChannel Class Reference

#include <Channels/MotionChannel.H>

Inheritance diagram for MotionChannel:

Inheritance graph
[legend]
Collaboration diagram for MotionChannel:

Collaboration graph
[legend]
List of all members.

Detailed Description

A composite channel containing a set of direction channels.

Definition at line 49 of file MotionChannel.H.

Public Member Functions

 MotionChannel (OptionManager &mgr)
 Construct.
virtual ~MotionChannel ()
 destructor
virtual DirectionChanneldirChan (const uint idx) const
 returns a specific DirectionChannel
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 doInput (const InputFrame &inframe)
 MotionChannel only required luminosity input.

Protected Attributes

NModelParam< PyramidTypeitsPyrType
 type of pyramid to use in our DirectionChannel subcomponents
OModelParam< uintitsNumDirs
 number of DirectionChannel subcomponents


Constructor & Destructor Documentation

MotionChannel::MotionChannel OptionManager mgr  ) 
 

Construct.

Definition at line 53 of file MotionChannel.C.

References buildSubChans(), and GVX_TRACE.

MotionChannel::~MotionChannel  )  [virtual]
 

destructor

Definition at line 65 of file MotionChannel.C.

References GVX_TRACE.


Member Function Documentation

void MotionChannel::buildSubChans  )  [protected, virtual]
 

(re-)build our subchannels

Definition at line 78 of file MotionChannel.C.

References ComplexChannel::addSubChan(), ModelComponent::getManager(), NModelParam< T >::getVal(), OModelParam< T >::getVal(), GVX_TRACE, i, itsNumDirs, itsPyrType, LINFO, makeSharedComp(), MC_RECURSE, and ComplexChannel::removeAllSubChans().

Referenced by MotionChannel(), and paramChanged().

DirectionChannel & MotionChannel::dirChan const uint  idx  )  const [virtual]
 

returns a specific DirectionChannel

Definition at line 71 of file MotionChannel.C.

References GVX_TRACE, and ComplexChannel::subChan().

void MotionChannel::doInput const InputFrame inframe  )  [protected, virtual]
 

MotionChannel only required luminosity input.

Implements ChannelBase.

Definition at line 119 of file MotionChannel.C.

References ASSERT, dir, InputFrame::grayFloat(), GVX_TRACE, Image< T >::initialized(), LINFO, ComplexChannel::numChans(), and ComplexChannel::subChan().

void MotionChannel::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 104 of file MotionChannel.C.

References buildSubChans(), OModelParam< T >::getVal(), GVX_TRACE, itsNumDirs, ComplexChannel::numChans(), and ModelComponent::paramChanged().


Member Data Documentation

OModelParam<uint> MotionChannel::itsNumDirs [protected]
 

number of DirectionChannel subcomponents

Definition at line 71 of file MotionChannel.H.

Referenced by buildSubChans(), and paramChanged().

NModelParam<PyramidType> MotionChannel::itsPyrType [protected]
 

type of pyramid to use in our DirectionChannel subcomponents

Definition at line 68 of file MotionChannel.H.

Referenced by buildSubChans().


The documentation for this class was generated from the following files:
Generated on Sun Nov 22 13:46:03 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4