|
Isis 3 Programmer Reference
|
1 #ifndef ProcessExportPds_h
2 #define ProcessExportPds_h
10 #include "ProcessExport.h"
void ForceCenterFilterWavelength(bool force)
Mutator method to set how the CENTER_FILTER_WAVELENGTH keyword will be handled.
void ForceBandName(bool force)
Mutator method to set how the BAND_NAME keyword will be handled.
void SetExportType(PdsExportType recordFormat)
Mutator method to set the output PDS image record type to stream or fixed.
void ForceCoreLrs(bool force)
Mutator method to set how the CORE_LOW_REPR_SATURATION keyword will be handled.
bool m_forceBandwidth
Indicates whether to keep the BANDWIDTH keyword in the PDS labels.
int LineBytes()
Return the line bytes (record size) for the input cube, at present this is based on the number of sam...
void FixedJP2ImageRoot(Pvl &mainPvl)
Create the fixed keywords for the ROOT object in a PDS JP2 IMAGE file.
void ForceSampleBitMask(bool force)
Mutator method to set how the SAMPLE_BIT_MASK keyword will be handled.
PdsExportType m_exportType
Stream or Fixed.
ProcessExportPds()
Default Constructor - Set to default the data members.
std::vector< int > m_tableStartRecord
Record number where the added table data begins.
void StreamImageRoot(Pvl &mainPvl)
Create the standard keywords for the ROOT object in a PDS IMAGE file.
void StandardImageImage(Pvl &mainPvl)
Create the standard keywords for an IMAGE object in a PDS IMAGE file.
@ JP2Image
Image coding system JPEG 2000 formatted image.
void FixedImageRoot(Pvl &mainPvl)
Create the fixed keywords for the ROOT object in a PDS IMAGE file.
PdsExportType
Record format type of exported PDS file.
void ForceSampleType(bool force)
Mutator method to set how the SAMPLE_TYPE keyword will be handled.
bool m_forceCoreHrs
Indicates whether to add the CORE_HIGH_REPR_SATURATION keyword in the PDS labels.
Pvl * m_label
Exported PDS label.
void CreateQubeLabel()
Create a standard PDS label for type QUBE.
PdsResolution m_exportResolution
Meters or kilometers.
void SetPdsResolution(PdsResolution resolutionUnits)
Mutator method to set the output PDS image resolution to meters per pixel or kilometers per pixel.
void StandardJP2Image(Pvl &mainPvl)
Create the standard keywords for an IMAGE object in a PDS JP2 IMAGE file.
Container for cube-like labels.
PdsResolution
Resolution units per pixel of the exported PDS file.
bool m_forceBandStorageType
Indicates whether to add the BAND_STORAGE_TYPE keyword in the PDS labels.
void ForceBandwidth(bool force)
Mutator method to set how the BANDWIDTH keyword will be handled.
void updateChecksumInLabel(std::ofstream &pdsFileStream)
Updates the CHECKSUM value on the label and rewrites to the output file.
void ForceCoreLis(bool force)
Mutator method to set how the CORE_LOW_INSTR_SATURATION keyword will be handled.
void ForceSampleBits(bool force)
Mutator method to set how the SAMPLE_BITS keyword will be handled.
void SetDetached(QString detachedLabelFile)
Mutator method to set the output PDS file to detached.
bool m_forceCoreHis
Indicates whether to add the CORE_HIGH_INSTR_SATURATION keyword in the PDS labels.
bool m_forceCenterFilterWavelength
Indicates whether to keep the CENTER_FILTER_WAVELENGTH keyword in the PDS labels.
@ Image
Two dimensional array of line/sample values.
bool m_forceBandName
Indicates whether to keep the BAND_NAME keyword in the PDS labels.
~ProcessExportPds()
Destructor.
QString ProjectionName(Pvl &inputLabel)
Return a projection name.
bool m_detachedLabel
Indicates whether the PDS file will be detached.
@ Kilometer
Kilometers per pixel.
virtual void StartProcess(void funct(Isis::Buffer &in))
This method invokes the process operation over a single input cube.
bool Attached()
Accessor function returns true if the output PDS file is set to attached.
PdsFileType m_pdsFileType
Image, Qube, Spectral Qube, or JP2 Image.
Class for storing Table blobs information.
void OutputLabel(std::ofstream &pdsFileStream)
Write the PDS label to the supplied stream.
void OutputDetachedLabel()
Write the PDS label to the a detached file.
void StreamJP2ImageRoot(Pvl &mainPvl)
Create the standard keywords for the ROOT object in a PDS JP2 IMAGE file.
std::vector< int > m_tableRecords
Number of records in each added table.
QString m_detachedPdsLabelFile
The name of the detached PDS label file.
void ForceScalingFactor(bool force)
Mutator method to set how the SCALING_FACTOR keyword will be handled.
void SetAttached()
Mutator method to set the output PDS file to attached.
bool m_forceBands
Indicates whether to keep the BANDS keyword in the PDS labels.
void ExportTable(Isis::Table isisTable, QString detachedPdsTableFileName="")
This method will add a table to be exported to PDS.
virtual void CreateImageLabel()
Create a standard PDS label for type IMAGE.
int LabelSize()
Return the size of the output PDS label.
void CreateSpectralQubeLabel()
Create a standard PDS label for type SPECTRAL_QUBE.
bool m_forceOffset
Indicates whether to add the OFFSET keyword in the PDS labels.
bool m_forceSampleBitMask
Indicates whether to add the SAMPLE_BIT_MASK keyword in the PDS labels.
void ForceBands(bool force)
Mutator method to set how the the BANDS keyword will be handled.
bool m_forceCoreNull
Indicates whether to add the CORE_NULL keyword in the PDS labels.
void StandardAllMapping(Pvl &mainPvl)
Create the standard keywords for the IMAGE_MAP_PROJECTION group in a PDS label.
PvlFormatPds * m_formatter
Used to determine how to format the keyword values in the PDS file.
bool m_forceSampleBits
Indicates whether to add the SAMPLE_BITS keyword in the PDS labels.
@ Qube
Multi-dimensional array (1-3 dimensional) whose axes may be interpreted as line/sample/band.
@ Stream
Stream Records. This type is generally used for ASCII files.
bool m_forceCoreLis
Indicates whether to add the CORE_LOW_INSTR_SATURATION keyword in the PDS labels.
void ForceCoreHis(bool force)
Mutator method to set how the CORE_HIGH_INSTR_SATURATION keyword will be handled.
@ Fixed
Fixed length records.
Process class for exporting cubes to PDS standards.
virtual Pvl & StandardPdsLabel(ProcessExportPds::PdsFileType type)
Create a standard PDS label of the type specified.
void ForceCoreHrs(bool force)
Mutator method to set how the CORE_HIGH_REPR_SATURATION keyword will be handled.
PdsFileType
File type to be exported.
bool m_forceSampleType
Indicates whether to add the SAMPLE_TYPE keyword in the PDS labels.
void ForceOffset(bool force)
Mutator method to set how the OFFSET keyword will be handled.
bool m_forceCoreLrs
Indicates whether to add the CORE_LOW_REPR_SATURATION keyword in the PDS labels.
bool Detached()
Accessor function returns true if the output PDS file is set to detached.
void ForceBandStorageType(bool force)
Mutator method to set how the BAND_STORAGE_TYPE keyword will be handled.
@ SpectralQube
Three dimensional objects with two spatial dimensions and one spectral dimension.
Process class for exporting cubes.
std::vector< char * > m_tableBuffers
Vector containing the binary table data for each of the added tables.
This is free and unencumbered software released into the public domain.
bool m_forceScalingFactor
Indicates whether to add the SCALING_FACTOR keyword in the PDS labels.
virtual void StartProcess(void funct(Isis::Buffer &in))
This method invokes the process operation over a single input cube.
void ForceCoreNull(bool force)
Mutator method to set how the CORE_NULL keyword will be handled.