|
Isis Developer Reference
|
Go to the documentation of this file.
57 QString compression=
"none");
63 virtual void writeRgb(vector<Buffer *> &in)
const;
64 virtual void writeRgba(vector<Buffer *> &in)
const;
virtual void setGrayscale(ExportDescription &desc)
Set the input with the description generically, check the data size for a single-band image with the ...
Definition: QtExporter.cpp:77
virtual ~QtExporter()
Destruct the exporter.
Definition: QtExporter.cpp:48
QtExporter(QString format)
Construct the Qt exporter.
Definition: QtExporter.cpp:27
int SampleDimension() const
Returns the number of samples in the shape buffer.
Definition: Buffer.h:70
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Exports cubes into one of several formats with Qt facilities.
Definition: QtExporter.h:47
virtual void write(FileName outputName, int quality=100, QString compression="none")
Let the base ImageExporter handle the generic black-box writing routine, then save the image to disk.
Definition: QtExporter.cpp:199
virtual void setRgb(ExportDescription &desc)
Set the input with the description generically, check the data size for a three-band image with the e...
Definition: QtExporter.cpp:99
File name manipulation and expansion.
Definition: FileName.h:100
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
Describes how a series of cubes should be exported.
Definition: ExportDescription.h:43
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
void checkDataSize(BigInt samples, BigInt lines, int bands)
Checks that the data size for an image of the desired dimensions will be less than 2GB.
Definition: QtExporter.cpp:225
Buffer for reading and writing cube data.
Definition: Buffer.h:53
virtual void write(FileName outputName, int quality=100, QString compression="none")
Export the Isis cube channels to the given standard image.
Definition: ImageExporter.cpp:101
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
PixelType pixelType() const
Returns the pixel type.
Definition: ExportDescription.cpp:148
FileName addExtension(const QString &extension) const
Adds a new extension to the file name.
Definition: FileName.cpp:225
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
virtual void writeGrayscale(vector< Buffer * > &in) const
Write a line of grayscale data to the output image.
Definition: QtExporter.cpp:125
long long int BigInt
Big int.
Definition: Constants.h:49
virtual int outputPixelValue(double dn) const
Return the output clamped integer pixel value from the input double-precision DN.
Definition: ImageExporter.cpp:325
QString extension() const
Gets the extension for the output image.
Definition: ImageExporter.cpp:208
Isis exception class.
Definition: IException.h:91
virtual void writeRgba(vector< Buffer * > &in) const
Write a line of RGBA data to the output image.
Definition: QtExporter.cpp:173
virtual void setRgba(ExportDescription &desc)
Set the input with the description generically, check the data size for a four-band image with the es...
Definition: QtExporter.cpp:113
Export Isis cubes into standard formats.
Definition: ImageExporter.h:54
virtual void writeRgb(vector< Buffer * > &in) const
Write a line of RGB data to the output image.
Definition: QtExporter.cpp:152
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
int lines() const
Number of lines (rows) in the output image.
Definition: ImageExporter.cpp:128
int bands() const
Number of bands (channels) in the output image.
Definition: ImageExporter.cpp:138
int samples() const
Number of samples (columns) in the output image.
Definition: ImageExporter.cpp:118
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:18
static bool canWriteFormat(QString format)
Returns true if the format is supported by QImageWriter.
Definition: QtExporter.cpp:246
@ UnsignedByte
Definition: PixelType.h:29
void setExtension(QString extension)
Sets the extension for the output image and generates the extension for the world file from it.
Definition: ImageExporter.cpp:193
virtual void initialize(ExportDescription &desc)=0
Generic initialization with the export description.
Definition: ImageExporter.cpp:58
int Line(const int index=0) const
Returns the line position associated with a shape buffer index.
Definition: Buffer.cpp:145
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126