18 #ifndef __otbSatelliteRSR_h
19 #define __otbSatelliteRSR_h
45 template<
class TPrecision =
double,
class TValuePrecision =
double>
62 itkGetConstMacro(NbBands,
unsigned int)
63 ; itkSetMacro(NbBands,
unsigned int)
66 itkSetMacro(SortBands,
bool)
82 virtual int Size()
const;
99 typename VectorPairType::const_iterator it = a->GetResponse().begin();
101 while ((*it).second == 0)
105 aFirstNotNull = (*it).first;
107 typename VectorPairType::const_iterator it2 = b->GetResponse().begin();
109 while ((*it2).second == 0)
113 bFirstNotNull = (*it2).first;
115 return aFirstNotNull < bFirstNotNull;
161 #ifndef OTB_MANUAL_INSTANTIATION