OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
include
ossim
base
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>
11
#include <
ossim/base/ossimConstants.h
>
12
13
class
ossimJpegYCbCrVector
;
14
class
ossimHsiVector
;
15
class
ossimHsvVector
;
16
class
ossimRgbVector
;
17
18
class
OSSIMDLLEXPORT
ossimCmyVector
19
{
20
public
:
21
friend
std::ostream
&
operator <<
(
std::ostream
& out,
const
ossimCmyVector
& cmy)
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
37
ossim_uint8
getC
()
const
38
{
39
return
theC;
40
}
41
ossim_uint8
getM
()
const
42
{
43
return
theC;
44
}
45
ossim_uint8
getY
()
const
46
{
47
return
theC;
48
}
49
const
ossimCmyVector
& operator = (
const
ossimRgbVector
& rgb);
50
protected
:
51
ossim_uint8
theC
;
52
ossim_uint8
theM
;
53
ossim_uint8
theY
;
54
};
ossimHsvVector
Definition:
ossimHsvVector.h:18
ossimRgbVector
Definition:
ossimRgbVector.h:21
OSSIMDLLEXPORT
#define OSSIMDLLEXPORT
Definition:
ossimConstants.h:71
ossimConstants.h
ossimCmyVector::theY
ossim_uint8 theY
Definition:
ossimCmyVector.h:53
ossimJpegYCbCrVector
Definition:
ossimJpegYCbCrVector.h:18
y
ossim_uint32 y
Definition:
ossimPdfWriter.cpp:520
ossimCmyVector
Definition:
ossimCmyVector.h:18
ossimHsiVector
Definition:
ossimHsiVector.h:18
operator<<
ostream & operator<<(ostream &out, const ossimAxes &axes)
Definition:
ossimAxes.h:88
ossimCmyVector::getC
ossim_uint8 getC() const
Definition:
ossimCmyVector.h:37
ossimCmyVector::getM
ossim_uint8 getM() const
Definition:
ossimCmyVector.h:41
ossimCmyVector::ossimCmyVector
ossimCmyVector(unsigned char c, unsigned char m, unsigned char y)
Definition:
ossimCmyVector.h:27
ossimCmyVector::theC
ossim_uint8 theC
Definition:
ossimCmyVector.h:51
ossimCmyVector::theM
ossim_uint8 theM
Definition:
ossimCmyVector.h:52
ossim_uint8
unsigned char ossim_uint8
Definition:
ossimConstants.h:227
ossim::ostream
std::basic_ostream< char > ostream
Base class for char output streams.
Definition:
ossimIosFwd.h:23
ossimCmyVector::getY
ossim_uint8 getY() const
Definition:
ossimCmyVector.h:45
Generated on Fri Aug 3 2018 08:46:46 for OSSIM - Open Source Software Image Map by
1.8.14