1 #ifndef ProcessImportPds_h
2 #define ProcessImportPds_h
33 class PvlTranslationManager;
233 void SetPdsFile(
const QString &pdsLabelFile,
const QString &pdsDataFile,
235 void SetPdsFile(
const Pvl &pdsLabelPvl,
const QString &pdsDataFile,
270 void ProcessDataFilePointer(PvlTranslationManager & pdsXlater,
271 const bool & calcOffsetOnly);
272 void ProcessPixelBitandType(PvlTranslationManager & pdsXlater);
273 void ProcessSpecialPixels(PvlTranslationManager & pdsXlater,
const bool & isQube);
275 void ProcessPdsImageLabel(
const QString &pdsDataFile);
276 void ProcessPdsQubeLabel(
const QString &pdsDataFile,
const QString &transFile);
277 void ProcessPdsM3Label(
const QString &pdsDataFile,
PdsFileType fileType);
278 void ProcessPdsCombinedSpectrumLabel(
const QString &pdsDataFile);
280 void ExtractPdsProjection(PvlTranslationManager &pdsXlater);
281 void GetProjectionOffsetMults(
double &xoff,
double &yoff,
282 double &xmult,
double &ymult);
284 void IdentifySource(Pvl &lab);
286 void TranslateIsis2BandBin(Pvl &lab);
287 void TranslateIsis2Instrument(Pvl &lab);
288 void TranslatePdsBandBin(Pvl &lab);
289 void TranslatePdsArchive(Pvl &lab);
297 EncodingType p_encodingType;
304 QString p_projection;
306 QString p_targetName;
307 double p_equatorialRadius;
309 double p_polarRadius;
311 QString p_longitudeDirection;
313 int p_longitudeDomain;
315 QString p_latitudeType;
317 double p_minimumLatitude;
319 double p_maximumLatitude;
321 double p_minimumLongitude;
323 double p_maximumLongitude;
325 double p_pixelResolution;
327 double p_scaleFactor;
331 double p_sampleProjectionOffset;
332 double p_lineProjectionOffset;
336 bool p_keepOriginalLabel;
338 std::vector<Table> p_tables;
Buffer for reading and writing cube data.
Definition: Buffer.h:68
Definition: ProcessImportPds.h:229
void TranslatePdsProjection(Pvl &lab)
Fills the passed in label with the projection information from the PDS label file.
Definition: ProcessImportPds.cpp:1027
PdsFileType
Definition: ProcessImportPds.h:220
Definition: ProcessImportPds.h:225
virtual ~ProcessImportPds()
Definition: ProcessImportPds.cpp:66
Definition: ProcessImportPds.h:227
Definition: ProcessImportPds.h:226
Definition: ProcessImportPds.h:228
void StartProcess()
This method will write the cube and table data to the output cube.
Definition: ProcessImportPds.cpp:1654
Table & ImportTable(QString pdsTableName)
This method will import the PDS table with the given name into an Isis Table object.
Definition: ProcessImportPds.cpp:1632
Definition: ProcessImportPds.h:222
void TranslateIsis2Labels(Pvl &lab)
Translate as many of the ISIS2 labels as possible.
Definition: ProcessImportPds.cpp:1483
virtual void StartProcess()
Process the input file and write it to the output.
Definition: ProcessImport.cpp:1286
This represents a cube in a project-based GUI interface.
Definition: Image.h:91
void TranslatePdsLabels(Pvl &lab)
Translate as many of the PDS labels as possible.
Definition: ProcessImportPds.cpp:1496
Definition: ProcessImportPds.h:223
Container for cube-like labels.
Definition: Pvl.h:135
void SetPdsFile(const QString &pdsLabelFile, const QString &pdsDataFile, Pvl &pdsLabel, PdsFileType allowedTypes=All)
Set the input label file, data file and initialize a Pvl with the PDS labels.
Definition: ProcessImportPds.cpp:112
void ProcessLabel(const QString &pdsDataFile, PdsFileType allowedTypes)
Load the PDS labels after determining what type of data file was provided.
Definition: ProcessImportPds.cpp:150
Convert PDS archive files to Isis format.
Definition: ProcessImportPds.h:217
Class for storing Table blobs information.
Definition: Table.h:74
Byte swapper.
Definition: ProcessImport.h:155
void Finalize()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
Definition: ProcessImportPds.cpp:1398
void EndProcess()
Definition: ProcessImportPds.cpp:1388
void OmitOriginalLabel()
Prevents the Original Label blob from being written out to the end of the cube.
Definition: ProcessImportPds.cpp:1413
bool IsIsis2()
Return true if ISIS2 cube, else return false.
Definition: ProcessImportPds.cpp:1462
Definition: ProcessImportPds.h:224
ProcessImportPds()
Constructor.
Definition: ProcessImportPds.cpp:55