Isis 3.0 Programmer Reference
Back | Home
MoveToTopSceneWorkOrder.cpp
1 #include "IsisDebug.h"
2 #include "MoveToTopSceneWorkOrder.h"
3 
4 #include "MosaicSceneWidget.h"
5 
6 namespace Isis {
7 
8  MoveToTopSceneWorkOrder::MoveToTopSceneWorkOrder(MosaicSceneWidget *scene, Project *project) :
9  MosaicSceneWorkOrder(tr("Bring to Front"), scene, project) {
10  }
11 
12 
13  MoveToTopSceneWorkOrder::MoveToTopSceneWorkOrder(Project *project) :
14  MosaicSceneWorkOrder(project) {
15  }
16 
17 
18  MoveToTopSceneWorkOrder::MoveToTopSceneWorkOrder(const MoveToTopSceneWorkOrder &other) :
19  MosaicSceneWorkOrder(other) {
20  }
21 
22 
23  MoveToTopSceneWorkOrder::~MoveToTopSceneWorkOrder() {
24  }
25 
26 
27  MoveToTopSceneWorkOrder *MoveToTopSceneWorkOrder::clone() const {
28  return new MoveToTopSceneWorkOrder(*this);
29  }
30 
31 
33  storeZPositions( scene()->moveToTop(imageList()) );
34  }
35 
36 
38  restoreZPositions(false);
39  }
40 }
MosaicSceneWidget * scene()
Returns the MosaicSceneWidget corresponding to this work order's interal data (the MosaicSceneWidget'...
void restoreZPositions(bool zValuesMightBeInUse)
void syncUndo()
This method is designed to be implemented by children work orders.
void syncRedo()
This method is designed to be implemented by children work orders.
ImageList * imageList()
a pointer to the ImageList for this WorkOrder.
Definition: WorkOrder.cpp:565

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:24:13