Isis 3 Developer Reference
|
Table to store tracking information for a mosaic. More...
#include <TrackingTable.h>
Public Member Functions | |
TrackingTable () | |
Default constructor. More... | |
TrackingTable (Table table) | |
Constructs a TrackingTable given a Table object. More... | |
~TrackingTable () | |
Destroys the TrackingTable object. More... | |
Table | toTable () |
Constrcts and returns a Table object based on values in m_fileList. More... | |
FileName | pixelToFileName (unsigned int pixel) |
Returns the FileName that corresponds to a pixel value. More... | |
unsigned int | fileNameToPixel (FileName file, QString serialNumber) |
Returns the pixel value of the filename/serialnumber combination. More... | |
int | fileNameToIndex (FileName file, QString serialNumber) |
Returns the index of the filename/serialnumber combination. More... | |
QString | pixelToSN (unsigned int pixel) |
Returns the serial number that corresponds to a pixel value. More... | |
Table to store tracking information for a mosaic.
This table will currently be stored in the label of a separate cube. This tracking cube will also contain a single tracking band. The DN values stored in this band will correlate to the indices in this table. Each record within this table will contain the filename of an associated cube, that cube's serial number, and the DN value associated with this cube within the tracking band (which should also be its index in the table).
Isis::TrackingTable::TrackingTable | ( | ) |
Default constructor.
Isis::TrackingTable::TrackingTable | ( | Table | table | ) |
Constructs a TrackingTable given a Table object.
The Table is used to populate m_fileList.
table | The Table object to pull the filenames and serial numbers from |
References Isis::Table::Records().
Isis::TrackingTable::~TrackingTable | ( | ) |
Destroys the TrackingTable object.
int Isis::TrackingTable::fileNameToIndex | ( | FileName | file, |
QString | serialNumber | ||
) |
Returns the index of the filename/serialnumber combination.
file | The FileName within m_fileList to find the index of |
serialNumber | The QString of the serial number within m_fileList to find the index of |
unsigned int Isis::TrackingTable::fileNameToPixel | ( | FileName | file, |
QString | serialNumber | ||
) |
Returns the pixel value of the filename/serialnumber combination.
file | The FileName within m_fileList to find the pixel value of |
serialNumber | The QString of the serial number within m_fileList to find the pixel value of |
References Isis::FileName::name(), and Isis::VALID_MINUI4.
Referenced by Isis::ProcessMosaic::StartProcess().
FileName Isis::TrackingTable::pixelToFileName | ( | unsigned int | pixel | ) |
Returns the FileName that corresponds to a pixel value.
pixel | The pixel value to find the filename for |
References _FILEINFO_, Isis::toString(), and Isis::VALID_MINUI4.
QString Isis::TrackingTable::pixelToSN | ( | unsigned int | pixel | ) |
Returns the serial number that corresponds to a pixel value.
pixel | The pixel value to find the serial number for |
References _FILEINFO_, Isis::toString(), and Isis::VALID_MINUI4.
Table Isis::TrackingTable::toTable | ( | ) |
Constrcts and returns a Table object based on values in m_fileList.
References Isis::TableField::name(), Isis::trackingTableName, and Isis::VALID_MINUI4.
Referenced by Isis::ProcessMosaic::StartProcess().