OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimCmyVector.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts
6 // Description:
7 //
8 //*************************************************************************
9 // $Id: ossimCmyVector.h 14789 2009-06-29 16:48:14Z dburken $
10 #include <iostream>
12 
14 class ossimHsiVector;
15 class ossimHsvVector;
16 class ossimRgbVector;
17 
19 {
20 public:
22  {
23  out << "<" << cmy.theC << ", " << cmy.theM <<", " << cmy.theY << ">" << std::endl;
24 
25  return out;
26  }
27  ossimCmyVector(unsigned char c,
28  unsigned char m,
29  unsigned char y)
30  :
31  theC(c),
32  theM(m),
33  theY(y)
34  {}
35  ossimCmyVector(const ossimRgbVector& rgb);
36 
38  {
39  return theC;
40  }
42  {
43  return theC;
44  }
46  {
47  return theC;
48  }
49  const ossimCmyVector& operator = (const ossimRgbVector& rgb);
50 protected:
54 };
#define OSSIMDLLEXPORT
ossim_uint8 theY
ossim_uint32 y
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition: ossimAxes.h:88
ossim_uint8 getC() const
ossim_uint8 getM() const
ossimCmyVector(unsigned char c, unsigned char m, unsigned char y)
ossim_uint8 theC
ossim_uint8 theM
unsigned char ossim_uint8
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
ossim_uint8 getY() const