|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef ProcessImportFits_h
2 #define ProcessImportFits_h
13 template <
typename T>
class QList;
53 void extractFitsLabels();
int SizeOf(Isis::PixelType pixelType)
Returns the number of bytes of the specified PixelType.
Definition: PixelType.h:46
ProcessImportFits()
Constructor for ProcessImportFits.
Definition: ProcessImportFits.cpp:31
A single keyword-value pair.
Definition: PvlKeyword.h:82
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
IString TrimTail(const std::string &chars)
Trims the input characters from the end of the object IString.
Definition: IString.cpp:587
void SetBase(const double base)
Sets the core base of the input cube.
Definition: ProcessImport.cpp:938
QString InputFile()
Sets the name of the input file to be read in the import StartProcess method and verifies its existan...
Definition: ProcessImport.cpp:2319
int DataSuffixBytes() const
This method returns the number of data duffix bytes.
Definition: ProcessImport.cpp:729
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
Definition: PvlContainer.cpp:202
File name manipulation and expansion.
Definition: FileName.h:100
@ BIL
Band Interleaved By Line Format (i.e.
Definition: ProcessImport.h:284
void setProcessFileStructure(int labelNumber)
Sets the Process file structure parameters based on the given image label index.
Definition: ProcessImportFits.cpp:363
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
@ SignedWord
Definition: PixelType.h:32
void SetDimensions(const int ns, const int nl, const int nb)
Sets the physical size of the input cube.
Definition: ProcessImport.cpp:304
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
@ Double
Definition: PixelType.h:36
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
int DataPrefixBytes() const
This method returns the number of data prefix bytes.
Definition: ProcessImport.cpp:721
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Byte swapper.
Definition: ProcessImport.h:155
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
PvlGroup fitsImageLabel(int labelNumber) const
Supplies the FITS image label corresponding to the given index.
Definition: ProcessImportFits.cpp:259
void SetInputFile(const QString &file)
Sets the name of the input file to be read in the import StartProcess method and verifies its existan...
Definition: ProcessImport.cpp:2302
Interleave Organization() const
Gets the organization of the input cube.
Definition: ProcessImport.cpp:928
@ Msb
Definition: Endian.h:45
void SetPixelType(const Isis::PixelType type)
Sets the pixel type of the input file.
Definition: ProcessImport.cpp:264
Isis exception class.
Definition: IException.h:91
QString toString() const
Returns a QString of the full file name including the file path, excluding the attributes with any Is...
Definition: FileName.cpp:515
PvlGroup extraFitsLabel(int labelNumber) const
Supplies the extra FITS label corresponding to the given index.
Definition: ProcessImportFits.cpp:224
Import a FITS file.
Definition: ProcessImportFits.h:40
PixelType
Enumerations for Isis Pixel Types.
Definition: PixelType.h:27
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
void SetMultiplier(const double mult)
Sets the core multiplier of the input cube.
Definition: ProcessImport.cpp:959
virtual ~ProcessImportFits()
Destructor for ProcessImportFits.
Definition: ProcessImportFits.cpp:42
@ SignedInteger
Definition: PixelType.h:34
IString Token(const IString &separator)
Returns the first token in the IString.
Definition: IString.cpp:897
void SetByteOrder(const Isis::ByteOrder order)
Sets the byte order of the input file.
Definition: ProcessImport.cpp:324
@ BSQ
Band Sequential Format (i.e.
Definition: ProcessImport.h:281
void setFitsFile(FileName fitsFile)
Opens a FITS image file with header and reads the FITS labels.
Definition: ProcessImportFits.cpp:324
void SetFileHeaderBytes(const int bytes)
This method sets the number of bytes in the header of a file.
Definition: ProcessImport.cpp:349
Adds specific functionality to C++ strings.
Definition: IString.h:165
PvlKeyword & findKeyword(const QString &name)
Find a keyword with a specified name.
Definition: PvlContainer.cpp:62
IString TrimHead(const std::string &chars)
Trims The input characters from the beginning of the object IString.
Definition: IString.cpp:558
@ UnsignedByte
Definition: PixelType.h:29
PvlGroup standardInstrumentGroup(PvlGroup fitsLabel) const
Return a PVL instrument group populated with expected default values.
Definition: ProcessImportFits.cpp:295
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ BIP
Band Interleaved By Pixel Format (i.e.
Definition: ProcessImport.h:288
QString ToQt() const
Retuns the object string as a QString.
Definition: IString.cpp:869
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
@ Real
Definition: PixelType.h:35