Isis 3 Programmer Reference
MoveDownOneSceneWorkOrder.cpp
1 #include "IsisDebug.h"
2 #include "MoveDownOneSceneWorkOrder.h"
3 
4 #include "MosaicSceneWidget.h"
5 
6 namespace Isis {
7 
8  MoveDownOneSceneWorkOrder::MoveDownOneSceneWorkOrder(MosaicSceneWidget *scene, Project *project) :
9  MosaicSceneWorkOrder(tr("Send Backward"), scene, project) {
10  }
11 
12 
13  MoveDownOneSceneWorkOrder::MoveDownOneSceneWorkOrder(Project *project) :
14  MosaicSceneWorkOrder(project) {
15  }
16 
17 
18  MoveDownOneSceneWorkOrder::MoveDownOneSceneWorkOrder(const MoveDownOneSceneWorkOrder &other) :
19  MosaicSceneWorkOrder(other) {
20  }
21 
22 
23  MoveDownOneSceneWorkOrder::~MoveDownOneSceneWorkOrder() {
24  }
25 
26 
27  MoveDownOneSceneWorkOrder *MoveDownOneSceneWorkOrder::clone() const {
28  return new MoveDownOneSceneWorkOrder(*this);
29  }
30 
31 
33  storeZPositions( scene()->moveDownOne(imageList()) );
34  }
35 
36 
38  restoreZPositions(true);
39  }
40 }
MosaicSceneWidget * scene()
Returns the MosaicSceneWidget corresponding to this work order's interal data (the MosaicSceneWidget'...
void restoreZPositions(bool zValuesMightBeInUse)
void execute()
Execute the workorder.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
ImageList * imageList()
Returns a pointer to the ImageList for this WorkOrder.
Definition: WorkOrder.cpp:645
void undoExecution()
Execute the steps necessary to undo this workorder.