|
Isis 3 Programmer Reference
|
1 #ifndef ExportDescription_h
2 #define ExportDescription_h
11 #include "CubeAttribute.h"
13 #include "PixelType.h"
int channelCount() const
Count of the number of channels in the description.
double outputPixelNull() const
Returns the output pixel value for Null DNs.
This is free and unencumbered software released into the public domain.
File name manipulation and expansion.
double outputPixelAbsoluteMin() const
Returns the absolute minimum value for output pixels.
int addChannel(FileName filename, CubeAttributeInput &att)
Add an export color channel for the given input cube and attributes (typically band number).
double m_outputPixelAbsoluteMax
The largest allowed pixel value in the exported image file.
Describes how a cube as a single color channel to be exported.
const ChannelDescription & channel(int i) const
Return the channels description at the given index.
Describes how a series of cubes should be exported.
CubeAttributeInput m_att
Attributes like which band to use from the input cube.
double outputPixelAbsoluteMax() const
Returns the absolute maximum value for output pixels.
double m_inputMin
Minimum DN in the input, defaults to DBL_MIN.
ExportDescription & operator=(const ExportDescription &descriptionToCopy)
Assignment operator for the export description.
double m_outputPixelValidMax
Value to which maximum valid DNs will be mapped in the exported image file, defaults to 255....
FileName filename() const
Returns a copy of the filename associated with this channel.
double m_outputPixelNull
Value to which Null DNs will be mapped in the exported image file, defaults to 0.0.
CubeAttributeInput attributes() const
Returns a copy of the input attributes associated with this channel.
double m_outputPixelValidMin
Value to which minimum valid DNs will be mapped in the exported image file, defaults to 0....
ExportDescription()
Construct the export description.
void setInputRange(double min, double max)
Sets the input range for this channel.
double m_inputMax
Maximum DN in the input, defaults to DBL_MAX.
bool m_customRange
Whether or not the user has specified a custom input DN range.
PixelType pixelType() const
Returns the pixel type.
void setPixelType(PixelType type)
Set the pixel type for the output image.
ChannelDescription(FileName &filename, CubeAttributeInput &att)
Construct the channel description with the given input name and attributes.
double inputMinimum() const
Returns the input minimum for this channel.
bool hasCustomRange() const
Returns true if the user of this instance has set a custom input range for this channel.
double outputPixelValidMax() const
Returns the output pixel value for the valid maximum.
FileName m_filename
Input filename of the cube to be treated as a color channel.
double outputPixelValidMin() const
Returns the output pixel value for the valid minimum.
PixelType
Enumerations for Isis Pixel Types.
virtual ~ExportDescription()
Destruct the export description.
double inputMaximum() const
Returns the input maximum for this channel.
virtual ~ChannelDescription()
Destruct the export description.
QList< ChannelDescription * > * m_channels
List of color channels to be exported into the output image.
double m_outputPixelAbsoluteMin
The smallest allowed pixel value in the exported image file.
This is free and unencumbered software released into the public domain.
PixelType m_type
Pixel type to export the data to, defaults to None.