An L junction channel that detects L junctions at different. More...
#include <Channels/LJunctionChannel.H>
Public Member Functions | |
LJunctionChannel (OptionManager &mgr, nub::soft_ref< OrientationChannel > oc) | |
Construct with standard params. | |
virtual | ~LJunctionChannel () |
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 L junctions at different orientations. | |
Protected Attributes | |
OModelParam< uint > | itsNumOrients |
number of junction subchannels | |
nub::soft_ref< OrientationChannel > | itsOriChan |
An L junction channel that detects L junctions at different.
Definition at line 49 of file LJunctionChannel.H.
LJunctionChannel::LJunctionChannel | ( | OptionManager & | mgr, | |
nub::soft_ref< OrientationChannel > | oc | |||
) |
Construct with standard params.
Definition at line 52 of file LJunctionChannel.C.
References buildSubChans().
LJunctionChannel::~LJunctionChannel | ( | ) | [virtual] |
Destructor.
Definition at line 65 of file LJunctionChannel.C.
void LJunctionChannel::buildSubChans | ( | ) | [protected, virtual] |
(re-)build our subchannels
Definition at line 71 of file LJunctionChannel.C.
References ComplexChannel::addSubChan(), ModelComponent::getManager(), OModelParam< T >::getVal(), itsNumOrients, makeSharedComp(), ComplexChannel::removeAllSubChans(), and ChannelBase::visualFeature().
Referenced by LJunctionChannel(), and paramChanged().
void LJunctionChannel::doInput | ( | const InputFrame & | inframe | ) | [protected, virtual] |
Computes the L junctions at different orientations.
Implements ChannelBase.
Definition at line 161 of file LJunctionChannel.C.
References ComplexChannel::numChans(), and ComplexChannel::subChan().
void LJunctionChannel::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 146 of file LJunctionChannel.C.
References buildSubChans(), OModelParam< T >::getVal(), itsNumOrients, and ComplexChannel::numChans().
OModelParam<uint> LJunctionChannel::itsNumOrients [protected] |
number of junction subchannels
Definition at line 71 of file LJunctionChannel.H.
Referenced by buildSubChans(), and paramChanged().