Isis Developer Reference
MatrixViewWorkOrder.h
Go to the documentation of this file.
1 #ifndef MatrixViewWorkOrder_H
2 #define MatrixViewWorkOrder_H
3 
25 #include "WorkOrder.h"
26 
27 namespace Isis {
28  class CorrelationMatrix;
29 
47  class MatrixViewWorkOrder : public WorkOrder {
48  Q_OBJECT
49  public:
53 
54  virtual MatrixViewWorkOrder *clone() const;
55 
56  virtual bool isExecutable(CorrelationMatrix matrix);
57  bool setupExecution();
58 
59  void execute();
60  void undoExecution();
61 
62  protected:
63  bool dependsOn(WorkOrder *other) const;
64  ;
65 
66  private:
67  MatrixViewWorkOrder &operator=(const MatrixViewWorkOrder &rhs);
68  };
69 }
70 #endif
Isis::MatrixSceneWidget::drawElements
void drawElements(CorrelationMatrix corrMatrix)
Draw elements.
Definition: MatrixSceneWidget.cpp:415
Isis::WorkOrder::setupExecution
virtual bool setupExecution()
This sets up the state for the work order.
Definition: WorkOrder.cpp:1261
Isis::MatrixViewWorkOrder::dependsOn
bool dependsOn(WorkOrder *other) const
This method returns true if other depends on a MatrixViewWorkOrder.
Definition: MatrixViewWorkOrder.cpp:156
QList
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Isis::WorkOrder
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:311
Project.h
Isis::WorkOrder::m_isSavedToHistory
bool m_isSavedToHistory
Set the work order to be shown in the HistoryTreeWidget.
Definition: WorkOrder.h:537
CorrelationMatrix.h
Directory.h
Isis::WorkOrder::setInternalData
void setInternalData(QStringList data)
Sets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1318
Isis::MatrixViewWorkOrder::isExecutable
virtual bool isExecutable(CorrelationMatrix matrix)
This check is used by Directory::supportedActions(DataType data).
Definition: MatrixViewWorkOrder.cpp:82
Isis::CorrelationMatrix::computeCorrelationMatrix
void computeCorrelationMatrix()
Read covariance matrix and compute correlation values This method reads the covariance matrix in from...
Definition: CorrelationMatrix.cpp:203
Isis::MatrixViewWorkOrder::~MatrixViewWorkOrder
~MatrixViewWorkOrder()
Destructor.
Definition: MatrixViewWorkOrder.cpp:61
QStringList
Isis::CorrelationMatrix
This is a container for the correlation matrix that comes from a bundle adjust.
Definition: CorrelationMatrix.h:61
Isis::IException::what
const char * what() const
Returns a string representation of this exception in its current state.
Definition: IException.cpp:375
Isis::Project
The main project for ipce.
Definition: Project.h:289
Isis::MatrixViewWorkOrder::MatrixViewWorkOrder
MatrixViewWorkOrder(Project *project)
This method sets the text of the work order.
Definition: MatrixViewWorkOrder.cpp:42
Isis::Project::directory
Directory * directory() const
Returns the directory associated with this Project.
Definition: Project.cpp:1229
WorkOrder.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::MatrixSceneWidget::drawGrid
void drawGrid(CorrelationMatrix corrMatrix)
Draw the lines that will show the columns and blocks for each image.
Definition: MatrixSceneWidget.cpp:550
MatrixViewWorkOrder.h
Isis::MatrixSceneWidget::setUpOptions
void setUpOptions(CorrelationMatrix corrMat)
Change item colors when options are changed.
Definition: MatrixSceneWidget.cpp:651
Isis::MatrixViewWorkOrder::setupExecution
bool setupExecution()
If WorkOrder::execute() returns true, a new matrix view is created.
Definition: MatrixViewWorkOrder.cpp:92
Isis::MatrixViewWorkOrder
This work order will open a MatrixSceneWidget and display the correlation matrix.
Definition: MatrixViewWorkOrder.h:47
Isis::WorkOrder::project
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1300
Isis::MatrixSceneWidget
This widget encompasses the entire matrixDisplay scene.
Definition: MatrixSceneWidget.h:51
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::Directory::matrixViews
QList< MatrixSceneWidget * > matrixViews()
Accessor for the list of MatrixSceneWidgets currently available.
Definition: Directory.cpp:1350
Isis::MatrixViewWorkOrder::undoExecution
void undoExecution()
This method deletes the last matrix viewed.
Definition: MatrixViewWorkOrder.cpp:193
Isis::MatrixViewWorkOrder::execute
void execute()
This method computes and displays the correlation matrix.
Definition: MatrixViewWorkOrder.cpp:165
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
MatrixSceneWidget.h
Isis::WorkOrder::WorkOrderFinished
@ WorkOrderFinished
This is used for work orders that will not undo or redo (See createsCleanState())
Definition: WorkOrder.h:331
Isis::WorkOrder::internalData
QStringList internalData() const
Gets the internal data for this WorkOrder.
Definition: WorkOrder.cpp:1377
Isis::WorkOrder::correlationMatrix
CorrelationMatrix correlationMatrix()
Returns the CorrleationMatrix for this WorkOrder.
Definition: WorkOrder.cpp:696
Isis::CorrelationMatrix::isValid
bool isValid()
This is the public accessor for the list of elements that should be displayed in the current view.
Definition: CorrelationMatrix.cpp:321
Isis::MatrixViewWorkOrder::clone
virtual MatrixViewWorkOrder * clone() const
This method clones the MatrixViewWorkOrder.
Definition: MatrixViewWorkOrder.cpp:69
Isis::Project::setClean
void setClean(bool value)
Function to change the clean state of the project.
Definition: Project.cpp:1595
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::Directory::addMatrixView
MatrixSceneWidget * addMatrixView()
Add the matrix view widget to the window.
Definition: Directory.cpp:924
Isis::WorkOrder::m_status
WorkOrderStatus m_status
Definition: WorkOrder.h:539