Isis 3.0 Object Programmers' Reference
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ExportDescription.h
Go to the documentation of this file.
1
#ifndef ExportDescription_h
2
#define ExportDescription_h
3
27
#include "
CubeAttribute.h
"
28
#include "
FileName.h
"
29
#include "
PixelType.h
"
30
31
namespace
Isis {
59
class
ExportDescription
{
60
public
:
74
class
ChannelDescription
{
75
public
:
76
ChannelDescription
(
FileName
&
filename
,
CubeAttributeInput
&att);
77
79
virtual
~ChannelDescription
() {};
80
81
FileName
filename
()
const
;
82
CubeAttributeInput
attributes
()
const
;
83
84
void
setInputRange
(
double
min,
double
max);
85
double
inputMinimum
()
const
;
86
double
inputMaximum
()
const
;
87
bool
hasCustomRange
()
const
;
88
89
private
:
91
FileName
m_filename
;
92
94
CubeAttributeInput
m_att
;
95
97
bool
m_customRange
;
98
100
double
m_inputMin
;
101
103
double
m_inputMax
;
104
};
105
106
public
:
107
ExportDescription
();
108
ExportDescription
(
const
ExportDescription
&descriptionToCopy);
109
virtual
~ExportDescription
();
110
ExportDescription
&
operator=
(
const
ExportDescription
&descriptionToCopy);
111
112
void
setPixelType
(
PixelType
type);
113
PixelType
pixelType
()
const
;
114
double
outputPixelNull
()
const
;
115
double
outputPixelValidMin
()
const
;
116
double
outputPixelValidMax
()
const
;
117
double
outputPixelAbsoluteMin
()
const
;
118
double
outputPixelAbsoluteMax
()
const
;
119
120
int
addChannel
(
FileName
filename,
CubeAttributeInput
&att);
121
int
addChannel
(
FileName
filename,
CubeAttributeInput
&att,
double
min,
double
max);
122
const
ChannelDescription
&
channel
(
int
i)
const
;
123
int
channelCount
()
const
;
124
125
private
:
127
PixelType
m_type
;
128
129
double
m_outputPixelNull
;
131
double
m_outputPixelValidMin
;
133
double
m_outputPixelValidMax
;
135
double
m_outputPixelAbsoluteMin
;
138
double
m_outputPixelAbsoluteMax
;
142
143
QList<ChannelDescription *>
*
m_channels
;
144
};
145
};
146
147
148
#endif