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