Isis 3.0 Programmer Reference
Back | Home
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 
39  class MatrixViewWorkOrder : public WorkOrder {
40  Q_OBJECT
41  public:
45 
46  virtual MatrixViewWorkOrder *clone() const;
47 
48  virtual bool isExecutable(CorrelationMatrix matrix);
49  bool execute();
50 
51  protected:
52  bool dependsOn(WorkOrder *other) const;
53  void syncRedo();
54  void syncUndo();
55 
56  private:
57  MatrixViewWorkOrder &operator=(const MatrixViewWorkOrder &rhs);
58  };
59 }
60 #endif
61 
The main project for cnetsuite.
Definition: Project.h:105
virtual MatrixViewWorkOrder * clone() const
This method clones the MatrixViewWorkOrder.
This is a container for the correlation matrix that comes from a bundle adjust.
virtual bool isExecutable(CorrelationMatrix matrix)
This check is used by Directory::supportedActions(DataType data).
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
void syncRedo()
This method computes and displays the correlation matrix.
bool dependsOn(WorkOrder *other) const
This method returns true if other depends on a MatrixViewWorkOrder.
This work order will open a MatrixSceneWidget and display the correlation matrix. ...
bool execute()
If WorkOrder::execute() returns true, a new matrix view is created.
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
MatrixViewWorkOrder(Project *project)
This method sets the text of the work order.
void syncUndo()
This method deletes the last matrix viewed.

U.S. Department of the Interior | U.S. Geological Survey
ISIS | Privacy & Disclaimers | Astrogeology Research Program
To contact us, please post comments and questions on the ISIS Support Center
File Modified: 07/12/2023 23:23:10