1#ifndef StreamExporter_h
2#define StreamExporter_h
47 virtual void writeRgb(vector<Buffer *> &in)
const;
48 virtual void writeRgba(vector<Buffer *> &in)
const;
64 virtual void setBuffer(
int s,
int b,
int dn)
const = 0;
Describes how a series of cubes should be exported.
Definition ExportDescription.h:43
Export Isis cubes into standard formats.
Definition ImageExporter.h:55
Exports cubes into a standard format in incremental pieces.
Definition StreamExporter.h:34
virtual void writeLine(int l) const =0
Pure virtual method for writing a line of buffered data to the output image on disk.
virtual void writeRgba(vector< Buffer * > &in) const
Write a line of RGBA data to the output image.
Definition StreamExporter.cpp:127
virtual void setGrayscale(ExportDescription &desc)
Generic initialization with the export description.
Definition StreamExporter.cpp:39
virtual ~StreamExporter()
Destruct the exporter.
Definition StreamExporter.cpp:28
virtual void setRgba(ExportDescription &desc)
Generic initialization with the export description.
Definition StreamExporter.cpp:63
StreamExporter()
Construct the stream exporter.
Definition StreamExporter.cpp:21
virtual void writeRgb(vector< Buffer * > &in) const
Write a line of RGB data to the output image.
Definition StreamExporter.cpp:103
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 void initialize(ExportDescription &desc)
Generic initialization with the export description.
Definition StreamExporter.cpp:74
virtual void setRgb(ExportDescription &desc)
Generic initialization with the export description.
Definition StreamExporter.cpp:51
virtual void writeGrayscale(vector< Buffer * > &in) const
Write a line of grayscale data to the output image.
Definition StreamExporter.cpp:85
virtual void createBuffer()=0
Pure virtual method for creating the buffer to store a chunk of streamed line data with one or more b...
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16