1 #ifndef ProcessExportPds4_h 2 #define ProcessExportPds4_h 25 #include <QDomDocument> 115 void addHistory(QString description, QString date =
"tbd", QString version =
"1.0");
123 QString transMapFile =
"$base/translations/pds4ExportUnits.pvl");
125 void addSchema(QString sch, QString xsd, QString xmlns, QString xmlnsURI);
126 void addSchema(QString xsd, QString xmlns, QString xmlnsURI);
void WritePds4(QString outFile)
This method write out the labels and image data to the specified output file.
Definition: ProcessExportPds4.cpp:1116
void displaySettings()
This method writes the display direction information to the PDS4 labels.
Definition: ProcessExportPds4.cpp:527
void translateBandBinSpectrumBinSet(Pvl &inputLabel)
Export BandBin group for non-uniformly spaced 3D Spectral data format.
Definition: ProcessExportPds4.cpp:732
Process class for exporting cubes to PDS4 standards.
Definition: ProcessExportPds4.h:86
QDomDocument * m_domDoc
XML label.
Definition: ProcessExportPds4.h:141
~ProcessExportPds4()
Destructor.
Definition: ProcessExportPds4.cpp:83
QString m_versionId
QString with specified version id.
Definition: ProcessExportPds4.h:144
ImageType
Definition: ProcessExportPds4.h:92
static void translateUnits(QDomDocument &label, QString transMapFile="$base/translations/pds4ExportUnits.pvl")
This function will go through an XML document and attempt to convert all "units" attributes to the ap...
Definition: ProcessExportPds4.cpp:1470
Process class for exporting cubes.
Definition: ProcessExport.h:125
QString PDS4PixelType(PixelType pixelType, ByteOrder endianType)
Helper function for converting ISIS pixel type and byte order to a PDS4 data_type value...
Definition: ProcessExportPds4.cpp:1365
QDomDocument & StandardPds4Label()
Create a standard PDS4 image label from the input cube.
Definition: ProcessExportPds4.cpp:94
QDomDocument & SpectralPds4Label()
void translateBandBinImage(Pvl &inputLabel)
Export BandBin group for 2D or 3D Image format.
Definition: ProcessExportPds4.cpp:578
void addSchema(QString sch, QString xsd, QString xmlns, QString xmlnsURI)
Adds necessary information to the xml header for a pds4 class.
Definition: ProcessExportPds4.cpp:1050
void translateBandBinSpectrumUniform(Pvl &inputLabel)
Export BandBin group for uniformly spaced 3D Spectral data format.
Definition: ProcessExportPds4.cpp:590
ByteOrder
Tests the current architecture for byte order.
Definition: Endian.h:59
void StandardAllMapping()
Create the standard keywords for the IMAGE_MAP_PROJECTION group in a PDS label.
Definition: ProcessExportPds4.cpp:1170
void setSchemaLocation(QString schema)
Allows mission specific programs to use specified versions of dictionaries.
Definition: ProcessExportPds4.cpp:459
void OutputLabel(std::ofstream &os)
Write the XML label to the supplied stream.
Definition: ProcessExportPds4.cpp:1072
void standardBandBin()
Export bandbin group to sp:Spectral Characteristics.
Definition: ProcessExportPds4.cpp:546
void reorder()
This method reorders the existing m_domDoc to follow PDS4 standards and fixes time formatting if need...
Definition: ProcessExportPds4.cpp:296
PixelType
Enumerations for Isis Pixel Types.
Definition: PixelType.h:43
Definition: ProcessExportPds4.h:93
void addHistory(QString description, QString date="tbd", QString version="1.0")
Add a modification history instance by adding a Modification_Detail entry to the Modification_History...
Definition: ProcessExportPds4.cpp:1405
void setLogicalId(QString lid)
Allows mission specific programs to set logical_identifier required for PDS4 labels.
Definition: ProcessExportPds4.cpp:413
void setTitle(QString title)
Allows mission specific programs to set the title required for PDS4 labels.
Definition: ProcessExportPds4.cpp:446
QString m_lid
QString with specified logical identifier.
Definition: ProcessExportPds4.h:143
void setImageType(ImageType imageType)
Create a standard PDS4 image label from the input cube.
Definition: ProcessExportPds4.cpp:106
QString m_pixelDescription
Description of pixel values.
Definition: ProcessExportPds4.h:147
QString m_title
QString with specified title.
Definition: ProcessExportPds4.h:145
static void translateChildUnits(QDomElement parent, QMap< QString, QString > transMap)
Recursive method that will translate the "unit" attribute of any child elements of a given element...
Definition: ProcessExportPds4.cpp:1551
virtual void StartProcess(void funct(Isis::Buffer &in))
This method invokes the process operation over a single input cube.
Definition: ProcessExport.cpp:800
Container for cube-like labels.
Definition: Pvl.h:135
Definition: ProcessExportPds4.h:94
void CreateImageLabel()
Creates a PDS4 label.
Definition: ProcessExportPds4.cpp:120
Definition: ProcessExportPds4.h:95
ProcessExportPds4()
Default Constructor - Set to default the data members.
Definition: ProcessExportPds4.cpp:47
void setVersionId(QString versionId)
Allows mission specific programs to set version_id required for PDS4 labels.
Definition: ProcessExportPds4.cpp:431
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
static QMap< QString, QString > createUnitMap(Pvl configPvl)
Helper function for creating the unit translation map from a PVL object.
Definition: ProcessExportPds4.cpp:1511
QString m_schemaLocation
QString with all schema locations required.
Definition: ProcessExportPds4.h:142
void StandardImageImage()
void setPixelDescription(QString description)
Sets the description string which describes the pixel vales in File_Area_Observational.
Definition: ProcessExportPds4.cpp:799
QDomElement getElement(QStringList xmlPath, QDomElement parent=QDomElement())
Convenience method to get an element given a path and its parent.
Definition: ProcessExportPds4.cpp:1333
ImageType m_imageType
Type of image data to be written.
Definition: ProcessExportPds4.h:146
void identificationArea()
This method writes the identification information to the PDS4 labels.
Definition: ProcessExportPds4.cpp:468
QDomDocument & GetLabel()
Return the internalized PDS4 label.
Definition: ProcessExportPds4.cpp:1095
void fileAreaObservational()
Create and internalize an image output label from the input image.
Definition: ProcessExportPds4.cpp:808
void StartProcess(std::ofstream &fout)
This method fills the image data of the PDS4 file using the parent class ProcessExport::StartProcess...
Definition: ProcessExportPds4.cpp:1084
void standardInstrument()
This method translates the information from the ISIS Instrument group to the PDS4 labels...
Definition: ProcessExportPds4.cpp:203