10 #ifndef ossimRgbLutDataObject_HEADER 11 #define ossimRgbLutDataObject_HEADER 34 return index<theNumberOfEntries?theLut[index]:theLut[theNumberOfEntries-1];
38 return index<theNumberOfEntries?theLut[index]:theLut[theNumberOfEntries-1];
42 return index<(long)theNumberOfEntries?theLut[index]:theLut[theNumberOfEntries-1];
46 return index<(long)theNumberOfEntries?theLut[index]:theLut[theNumberOfEntries-1];
50 int index = int(normalizedIndex*theNumberOfEntries+.5);
55 return (*
this)[index];
59 int index = int(normalizedIndex*theNumberOfEntries+.5);
64 return (*
this)[index];
69 return findIndex(rgb.
getR(),
unsigned char getR() const
Represents serializable keyword/value map.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
friend OSSIMDLLEXPORT std::ostream & operator<<(std::ostream &out, const ossimObject &obj)
const ossimRgbVector & operator[](double normalizedIndex) const
ossimRgbVector & operator[](unsigned int index)
unsigned int ossim_uint32
unsigned char getB() const
ossimRgbVector & operator[](double normalizedIndex)
bool operator==(const ossimRefPtr< _Tp1 > &__a, const ossimRefPtr< _Tp2 > &__b) noexcept
ossimRgbVector & operator[](int index)
unsigned char getG() const
ossimReferenced & operator=(const ossimReferenced &)
const ossimRgbVector & operator[](int index) const
int findIndex(const ossimRgbVector &rgb)
virtual ossimObject * dup() const
const ossimRgbVector & operator[](unsigned int index) const
unsigned char ossim_uint8
long getNumberOfEntries() const
std::basic_ostream< char > ostream
Base class for char output streams.
ossim_uint32 theNumberOfEntries