File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
Isis 3 Programmer Reference
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 }
Isis::MosaicSceneWorkOrder::scene
MosaicSceneWidget * scene()
Returns the MosaicSceneWidget corresponding to this work order's interal data (the MosaicSceneWidget'...
Definition: MosaicSceneWorkOrder.cpp:50
Isis::WorkOrder::imageList
ImageList * imageList()
Returns a pointer to the ImageList for this WorkOrder.
Definition: WorkOrder.cpp:631
Isis::MoveToTopSceneWorkOrder::execute
void execute()
Execute the workorder.
Definition: MoveToTopSceneWorkOrder.cpp:32
Isis::MoveToTopSceneWorkOrder::undoExecution
void undoExecution()
Execute the steps necessary to undo this workorder.
Definition: MoveToTopSceneWorkOrder.cpp:37
Isis::MosaicSceneWorkOrder::restoreZPositions
void restoreZPositions(bool zValuesMightBeInUse)
Definition: MosaicSceneWorkOrder.cpp:67
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16

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 USGS Astrogeology Discussion Board
To report a bug, or suggest a feature go to: ISIS Github
File Modified: 07/13/2023 15:16:55