1 #ifndef CorrelationMatrix_h
2 #define CorrelationMatrix_h
29 #include <QStringList>
31 #include <boost/numeric/ublas/matrix_sparse.hpp>
33 template <
typename A,
typename B>
class QMap;
34 template <
typename A>
class QList;
38 class MosaicSceneWidget;
40 class SparseBlockColumnMatrix;
109 QDataStream &
write(QDataStream &stream)
const;
110 QDataStream &
read(QDataStream &stream);
void retrieveVisibleElements(int x, int y)
This method will open the correlation matrix file and read in the blocks that apply to the requested ...
Definition: CorrelationMatrix.cpp:279
void retrieveWholeMatrix()
This method will read the matrix in from the file and hold on to the whole thing. ...
Definition: CorrelationMatrix.cpp:416
This is a container for the correlation matrix that comes from a bundle adjust.
Definition: CorrelationMatrix.h:72
FileName covarianceFileName()
Public access for the covariance matrix file name.
Definition: CorrelationMatrix.cpp:395
SparseBlockColumnMatrix.
Definition: SparseBlockMatrix.h:66
File name manipulation and expansion.
Definition: FileName.h:111
CorrelationMatrix()
Default Constructor.
Definition: CorrelationMatrix.cpp:21
void setCorrelationFileName(FileName correlationFileName)
Set the qmap of images and parameters.
Definition: CorrelationMatrix.cpp:334
FileName correlationFileName()
Public access for the correlation matrix file name.
Definition: CorrelationMatrix.cpp:385
void computeCorrelationMatrix()
This method reads the covariance matrix in from a file, one SparseBlockColumnMatrix at a time...
Definition: CorrelationMatrix.cpp:194
void setImagesAndParameters(QMap< QString, QStringList > imagesAndParameters)
Set the qmap of images and parameters.
Definition: CorrelationMatrix.cpp:370
~CorrelationMatrix()
Destructor.
Definition: CorrelationMatrix.cpp:129
QDataStream & read(QDataStream &stream)
Reads CorrelationMatrix data from the input stream and places the data in member variables.
Definition: CorrelationMatrix.cpp:506
Q_DECLARE_METATYPE(Isis::Cube *)
This allows Cube *'s to be stored in a QVariant.
SparseBlockColumnMatrix correlationMatrixFromFile(QDataStream inStream)
PvlObject pvlObject()
This method creates a Pvl group with the information necessary to recreate this correlation matrix...
Definition: CorrelationMatrix.cpp:464
std::istream & operator>>(std::istream &is, CSVReader &csv)
Input read operator for input stream sources.
Definition: CSVReader.cpp:463
void retrieveThreeVisibleBlocks()
This method will be used when the matrix is too big to display the whole thing.
Definition: CorrelationMatrix.cpp:434
bool hasCovMat()
This is used to make sure the covariance matrix exists.
Definition: CorrelationMatrix.cpp:324
void setCovarianceFileName(FileName covarianceFileName)
Set the qmap of images and parameters.
Definition: CorrelationMatrix.cpp:348
bool isValid()
This is the public accessor for the list of elements that should be displayed in the current view...
Definition: CorrelationMatrix.cpp:311
Definition: BoxcarCachingAlgorithm.h:29
QList< SparseBlockColumnMatrix > * visibleBlocks()
Get the visible part of the matrix.
Definition: CorrelationMatrix.cpp:442
CorrelationMatrix & operator=(const CorrelationMatrix &other)
Equal Operator.
Definition: CorrelationMatrix.cpp:155
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.
Definition: Hillshade.cpp:308
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
Definition: CubeIoHandler.h:38
QDataStream & write(QDataStream &stream) const
Writes CorrelationMatrix data to the output stream and returns this stream to the user...
Definition: CorrelationMatrix.cpp:489
QMap< QString, QStringList > * imagesAndParameters()
Public access for the qmap of images and parameters.
Definition: CorrelationMatrix.cpp:406