/usr/include/ossim/base/ossimCmyVector.h is in libossim-dev 1.7.21-3ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
// Description:
//
//*************************************************************************
// $Id: ossimCmyVector.h 14789 2009-06-29 16:48:14Z dburken $
#include <iostream>
#include <ossim/base/ossimConstants.h>
class ossimJpegYCbCrVector;
class ossimHsiVector;
class ossimHsvVector;
class ossimRgbVector;
class OSSIMDLLEXPORT ossimCmyVector
{
public:
friend std::ostream& operator <<(std::ostream& out, const ossimCmyVector& cmy)
{
out << "<" << cmy.theC << ", " << cmy.theM <<", " << cmy.theY << ">" << std::endl;
return out;
}
ossimCmyVector(unsigned char c,
unsigned char m,
unsigned char y)
:
theC(c),
theM(m),
theY(y)
{}
ossimCmyVector(const ossimRgbVector& rgb);
ossim_uint8 getC()const
{
return theC;
}
ossim_uint8 getM()const
{
return theC;
}
ossim_uint8 getY()const
{
return theC;
}
const ossimCmyVector& operator = (const ossimRgbVector& rgb);
protected:
ossim_uint8 theC;
ossim_uint8 theM;
ossim_uint8 theY;
};
|