Fill the components of the given Jet that relate to the called channel. More...
#include <Channels/JetFiller.H>
Public Member Functions | |
JetFiller (const Point2D< int > &loc, Jet< float > &j, bool do_interp) | |
Construct. | |
virtual | ~JetFiller () |
Virtual destructor. | |
virtual void | visitChannelBase (ChannelBase &chan) |
Visit the given ChannelBase node. | |
virtual void | visitSingleChannel (SingleChannel &chan) |
Visit the given SingleChannel node. | |
virtual void | visitComplexChannel (ComplexChannel &chan) |
Visit the given ComplexChannel node. |
Fill the components of the given Jet that relate to the called channel.
All relevant components of the Jet are set to the channel's values at the specified location across all pyramid levels. The channel will store its data starting at the given index in the jet, and will return the number of entries filled. The index vector will be modified as the various Jet components are explored, but will be restored to its original state upon completion.
Definition at line 54 of file JetFiller.H.
Construct.
Definition at line 49 of file JetFiller.C.
JetFiller::~JetFiller | ( | ) | [virtual] |
Virtual destructor.
Definition at line 58 of file JetFiller.C.
void JetFiller::visitChannelBase | ( | ChannelBase & | chan | ) | [virtual] |
Visit the given ChannelBase node.
Implements ChannelVisitor.
Definition at line 62 of file JetFiller.C.
References ModelComponent::tagName().
void JetFiller::visitComplexChannel | ( | ComplexChannel & | chan | ) | [virtual] |
Visit the given ComplexChannel node.
Implements ChannelVisitor.
Definition at line 125 of file JetFiller.C.
References ComplexChannel::isHomogeneous(), ComplexChannel::numChans(), and ComplexChannel::subChan().
void JetFiller::visitSingleChannel | ( | SingleChannel & | chan | ) | [virtual] |
Visit the given SingleChannel node.
Implements ChannelVisitor.
Definition at line 68 of file JetFiller.C.
References LevelSpec::delMax(), Jet< T >::getIndexRange(), SingleChannel::getLevelSpec(), getPyrPixelNI(), Jet< T >::getSpec(), LevelSpec::levMax(), max(), min(), SingleChannel::numPyramids(), SingleChannel::pyramid(), RAW, Jet< T >::setVal(), and ChannelBase::visualFeature().