A FOE MST channel that detects FOE. More...
#include <Channels/FoeMSTChannel.H>
Public Member Functions | |
FoeMSTChannel (OptionManager &mgr, nub::soft_ref< MotionChannel > oc) | |
Construct with standard params. | |
virtual | ~FoeMSTChannel () |
Destructor. | |
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) |
Computes the FOE at different points. | |
Protected Attributes | |
OModelParam< uint > | itsNumDirs |
number of junction subchannels | |
nub::soft_ref< MotionChannel > | itsOriChan |
A FOE MST channel that detects FOE.
Definition at line 49 of file FoeMSTChannel.H.
FoeMSTChannel::FoeMSTChannel | ( | OptionManager & | mgr, | |
nub::soft_ref< MotionChannel > | oc | |||
) |
Construct with standard params.
Definition at line 53 of file FoeMSTChannel.C.
References buildSubChans().
FoeMSTChannel::~FoeMSTChannel | ( | ) | [virtual] |
Destructor.
Definition at line 66 of file FoeMSTChannel.C.
void FoeMSTChannel::buildSubChans | ( | ) | [protected, virtual] |
(re-)build our subchannels
Definition at line 72 of file FoeMSTChannel.C.
References ComplexChannel::addSubChan(), ModelComponent::getManager(), OModelParam< T >::getVal(), itsNumDirs, makeSharedComp(), ComplexChannel::removeAllSubChans(), and ChannelBase::visualFeature().
Referenced by FoeMSTChannel(), and paramChanged().
void FoeMSTChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
Computes the FOE at different points.
Implements ChannelBase.
Definition at line 170 of file FoeMSTChannel.C.
References ComplexChannel::numChans(), and ComplexChannel::subChan().
void FoeMSTChannel::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 155 of file FoeMSTChannel.C.
References buildSubChans(), OModelParam< T >::getVal(), itsNumDirs, and ComplexChannel::numChans().
OModelParam<uint> FoeMSTChannel::itsNumDirs [protected] |
number of junction subchannels
Definition at line 71 of file FoeMSTChannel.H.
Referenced by buildSubChans(), and paramChanged().