|
Isis 3 Programmer Reference
|
1 #ifndef CorrelationMatrix_h
2 #define CorrelationMatrix_h
18 #include <QStringList>
20 #include <boost/numeric/ublas/matrix_sparse.hpp>
22 template <
typename A,
typename B>
class QMap;
23 template <
typename A>
class QList;
27 class MosaicSceneWidget;
29 class SparseBlockColumnMatrix;
FileName correlationFileName()
Public access for the correlation matrix file name.
Contains Pvl Groups and Pvl Objects.
~CorrelationMatrix()
Destructor.
This is free and unencumbered software released into the public domain.
QMap< QString, QStringList > * m_imagesAndParameters
This map holds the images used to create this matrix and their associated parameters.
void setImagesAndParameters(QMap< QString, QStringList > imagesAndParameters)
Set the qmap of images and parameters.
CorrelationMatrix()
Default Constructor.
File name manipulation and expansion.
void retrieveVisibleElements(int x, int y)
Extract requested area from correlation matrix This method will open the correlation matrix file and ...
FileName covarianceFileName()
Public access for the covariance matrix file name.
void computeCorrelationMatrix()
Read covariance matrix and compute correlation values This method reads the covariance matrix in from...
PvlObject pvlObject()
This method creates a Pvl group with the information necessary to recreate this correlation matrix.
This is a container for the correlation matrix that comes from a bundle adjust.
FileName * m_correlationFileName
FileName of the correlation matrix.
void retrieveThreeVisibleBlocks()
Display only part of a matrix This method will be used when the matrix is too big to display the whol...
CorrelationMatrix & operator=(const CorrelationMatrix &other)
Equal Operator.
QList< double > * m_diagonals
List of the parameter values.
void setCovarianceFileName(FileName covarianceFileName)
Set the qmap of images and parameters.
bool hasCovMat()
Check if the correlation matrix has a covariance matrix This is used to make sure the covariance matr...
FileName * m_covarianceFileName
FileName of the covariance matrix calculated when the bundle was run.
This is free and unencumbered software released into the public domain.
bool isValid()
This is the public accessor for the list of elements that should be displayed in the current view.
QList< SparseBlockColumnMatrix > * m_visibleBlocks
This will be the three blocks (or whole matrix depending on size) that apply to the given area.
QList< SparseBlockColumnMatrix > * visibleBlocks()
Get the visible part of the matrix.
QMap< QString, QStringList > * imagesAndParameters()
Public access for the qmap of images and parameters.
This is free and unencumbered software released into the public domain.
void setCorrelationFileName(FileName correlationFileName)
Set the qmap of images and parameters.
Q_DECLARE_METATYPE(Isis::PlotWindow *)
We have plot windows as QVariant data types, so here it's enabled.
void retrieveWholeMatrix()
This method will read the matrix in from the file and hold on to the whole thing.