
A T junction channel that detects T junctions at different. More...
#include <Channels/TJunctionChannel.H>


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