Isis 3 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
The main project for ipce.
Definition: Project.h:289
This is a container for the correlation matrix that comes from a bundle adjust.
Definition: CorrelationMatrix.h:72
void undoExecution()
This method deletes the last matrix viewed.
Definition: MatrixViewWorkOrder.cpp:193
virtual bool isExecutable(CorrelationMatrix matrix)
This check is used by Directory::supportedActions(DataType data).
Definition: MatrixViewWorkOrder.cpp:82
void execute()
This method computes and displays the correlation matrix.
Definition: MatrixViewWorkOrder.cpp:165
This work order will open a MatrixSceneWidget and display the correlation matrix. ...
Definition: MatrixViewWorkOrder.h:47
~MatrixViewWorkOrder()
Destructor.
Definition: MatrixViewWorkOrder.cpp:61
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:322
Unless noted otherwise, the portions of Isis written by the USGS are public domain.
virtual MatrixViewWorkOrder * clone() const
This method clones the MatrixViewWorkOrder.
Definition: MatrixViewWorkOrder.cpp:69
bool setupExecution()
If WorkOrder::execute() returns true, a new matrix view is created.
Definition: MatrixViewWorkOrder.cpp:92
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1314
MatrixViewWorkOrder(Project *project)
This method sets the text of the work order.
Definition: MatrixViewWorkOrder.cpp:42
bool dependsOn(WorkOrder *other) const
This method returns true if other depends on a MatrixViewWorkOrder.
Definition: MatrixViewWorkOrder.cpp:156