12#ifndef SOSM_SELECTOR_HPP
13#define SOSM_SELECTOR_HPP
49 float Origin()
const {
return mOrigin; }
55 int Count()
const {
return mCount; }
75 int mOutputStartIndex;
int Count() const
Returns the number of points in the intersection.
Definition SOSM_Selector.hpp:55
Status Intersect(const SOSM_SpectralObject &aInput, const SOSM_SpectralObject &aOutput)
Definition SOSM_Selector.cpp:81
void InitializeOutput(std::vector< float > &aOutput, float aValue) const
Definition SOSM_Selector.cpp:162
Status
Return value from 'Intersect'.
Definition SOSM_Selector.hpp:34
@ cINTERSECTS
Definition SOSM_Selector.hpp:35
@ cNO_INTERSECTION
Definition SOSM_Selector.hpp:39
@ cINCOMPATIBLE_ORIGINS
Definition SOSM_Selector.hpp:38
@ cOUTPUT_IS_CONTINUOUS
Definition SOSM_Selector.hpp:36
@ cINCOMPATIBLE_INCREMENTS
Definition SOSM_Selector.hpp:37
static std::string StatusString(Status aStatus)
Definition SOSM_Selector.cpp:48
float Origin() const
Return the origin (wavenumber of the first sample point) in the intersection.
Definition SOSM_Selector.hpp:49
int OutputStartIndex() const
Returns the index of the sample in point the output that corresponds to the Origin().
Definition SOSM_Selector.hpp:61
SOSM_Selector()
Default constructor.
Definition SOSM_Selector.cpp:21
int InputStartIndex() const
Returns the index of the sample point in the input that corresponds to the Origin().
Definition SOSM_Selector.hpp:58
float Increment() const
Returns the wavenumber increment between sample points.
Definition SOSM_Selector.hpp:52
Definition SOSM_SpectralObject.hpp:37