|
CLAM-Development
1.1
|
This class performs the interpolation of two SpectralPeakArray processing data objects. More...
#include <SpectralPeakArrayAdder.hxx>
Public Member Functions | |
| SpectralPeakArrayAdder () | |
| SpectralPeakArrayAdder (const PeaksAddConfig &c) | |
| ~SpectralPeakArrayAdder () | |
| const ProcessingConfig & | GetConfig () const |
| Configuration getter. | |
| bool | Do (void) |
| Supervised mode execution method (using ports) | |
| bool | Do (const SpectralPeakArray &in1, const SpectralPeakArray &in2, SpectralPeakArray &out) |
Public Attributes | |
| InPort< SpectralPeakArray > | mIn1 |
| Ports. | |
| InPort< SpectralPeakArray > | mIn2 |
| OutPort< SpectralPeakArray > | mOut |
This class performs the interpolation of two SpectralPeakArray processing data objects.
Definition at line 48 of file SpectralPeakArrayAdder.hxx.
Definition at line 32 of file SpectralPeakArrayAdder.cxx.
References CLAM::Processing::Configure().
Definition at line 40 of file SpectralPeakArrayAdder.cxx.
References CLAM::Processing::Configure().
Definition at line 67 of file SpectralPeakArrayAdder.hxx.
| bool CLAM::SpectralPeakArrayAdder::Do | ( | void | ) | [inline, virtual] |
Supervised mode execution method (using ports)
Implements CLAM::Processing.
Definition at line 71 of file SpectralPeakArrayAdder.hxx.
Referenced by CLAM::FrameAdder::Do().
| bool CLAM::SpectralPeakArrayAdder::Do | ( | const SpectralPeakArray & | in1, |
| const SpectralPeakArray & | in2, | ||
| SpectralPeakArray & | out | ||
| ) |
This loop may be a little more efficient by ussing the buffers directly. But it would surely become muc less readable and much longer. TODO?
Definition at line 57 of file SpectralPeakArrayAdder.cxx.
References CLAM::SpectralPeakArray::AddSpectralPeak(), CLAM_ASSERT, CLAM_DEBUG_ASSERT, CLAM::SpectralPeakArray::GetFreq(), CLAM::SpectralPeakArray::GetnPeaks(), CLAM::SpectralPeakArray::GetSpectralPeak(), CLAM::Processing::IsRunning(), CLAM::SpectralPeakArray::SetnPeaks(), and CLAM::DynamicType::UpdateData().
| const ProcessingConfig& CLAM::SpectralPeakArrayAdder::GetConfig | ( | ) | const [inline, virtual] |
Configuration getter.
Gets the configuration parameters used to create the object.
Reimplemented from CLAM::Processing.
Definition at line 69 of file SpectralPeakArrayAdder.hxx.
Ports.
Definition at line 76 of file SpectralPeakArrayAdder.hxx.
Definition at line 77 of file SpectralPeakArrayAdder.hxx.
Definition at line 78 of file SpectralPeakArrayAdder.hxx.
1.7.6.1