82 int lineIndex = grayLine.
Line() - 1;
83 for (
int sampleIndex = 0; sampleIndex < grayLine.
SampleDimension(); sampleIndex++) {
99 Buffer &greenLine = *in[1];
100 Buffer &blueLine = *in[2];
123 Buffer &greenLine = *in[1];
124 Buffer &blueLine = *in[2];
125 Buffer &alphaLine = *in[3];
Buffer for reading and writing cube data.
StreamExporter()
Construct the stream exporter.
virtual void setGrayscale(ExportDescription &desc)
Generic initialization with the export description.
virtual void initialize(ExportDescription &desc)
Generic initialization with the export description.
Export Isis cubes into standard formats.
virtual int outputPixelValue(double dn) const
Return the output clamped integer pixel value from the input double-precision DN. ...
Namespace for the standard library.
virtual void createBuffer()=0
Pure virtual method for creating the buffer to store a chunk of streamed line data with one or more b...
virtual void writeRgb(vector< Buffer *> &in) const
Write a line of RGB data to the output image.
virtual void setBuffer(int s, int b, int dn) const =0
Pure virtual method for setting a particular index of the line buffer to the given DN...
virtual ~StreamExporter()
Destruct the exporter.
int Line(const int index=0) const
Returns the line position associated with a shape buffer index.
Describes how a series of cubes should be exported.
virtual void initialize(ExportDescription &desc)=0
Generic initialization with the export description.
virtual void writeLine(int l) const =0
Pure virtual method for writing a line of buffered data to the output image on disk.
int SampleDimension() const
Returns the number of samples in the shape buffer.
virtual void setRgb(ExportDescription &desc)
Generic initialization with the export description.
Namespace for ISIS/Bullet specific routines.
virtual void writeRgba(vector< Buffer *> &in) const
Write a line of RGBA data to the output image.
virtual void setRgba(ExportDescription &desc)
Generic initialization with the export description.
virtual void writeGrayscale(vector< Buffer *> &in) const
Write a line of grayscale data to the output image.