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