OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimCmyVector.cpp
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts (gpotts@imagelinks.com)
6 // Description:
7 //
8 //*************************************************************************
9 // $Id: ossimCmyVector.cpp 9966 2006-11-29 02:01:07Z gpotts $
12 
14 {
15  theC = 255 - rgb.getR();
16  theM = 255 - rgb.getG();
17  theY = 255 - rgb.getB();
18 }
19 
21 {
22  theC = 255 - rgb.getR();
23  theM = 255 - rgb.getG();
24  theY = 255 - rgb.getB();
25 
26  return *this;
27 }
unsigned char getR() const
ossim_uint8 theY
unsigned char getB() const
ossimCmyVector(unsigned char c, unsigned char m, unsigned char y)
unsigned char getG() const
const ossimCmyVector & operator=(const ossimRgbVector &rgb)
ossim_uint8 theC
ossim_uint8 theM