//******************************************************************* // Copyright (C) 2000 ImageLinks Inc. // // License: See top level LICENSE.txt file. // // Author: Garrett Potts // //************************************************************************* // $Id: ossimRgbLutDataObject.h 15766 2009-10-20 12:37:09Z gpotts $ #ifndef ossimRgbLutDataObject_HEADER #define ossimRgbLutDataObject_HEADER #include #include #include class ossimKeywordlist; class OSSIMDLLEXPORT ossimRgbLutDataObject : public ossimObject { public: friend std::ostream& operator <<(std::ostream& out, const ossimRgbLutDataObject& lut); /*! * Will allocate 256 values for the color table */ ossimRgbLutDataObject(unsigned long numberOfEntries=0); ossimRgbLutDataObject(const ossimRgbLutDataObject& lut); virtual ossimObject* dup()const { return new ossimRgbLutDataObject(*this); } const ossimRgbVector& operator[](unsigned int index)const { return index