Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4ScaleOptions.ui.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 
00017 void TGo4ScaleOptions::init()
00018 {
00019 }
00020 
00021 void TGo4ScaleOptions::SlotShiftL()
00022 {
00023    MoveScale(1, 0, 0);
00024 }
00025 
00026 void TGo4ScaleOptions::SlotShiftR()
00027 {
00028     MoveScale(2, 0, 0);
00029 }
00030 
00031 void TGo4ScaleOptions::SlotShiftU()
00032 {
00033     MoveScale(0, 2, 0);
00034 }
00035 
00036 void TGo4ScaleOptions::SlotShiftD()
00037 {
00038     MoveScale(0, 1, 0);
00039 }
00040 
00041 void TGo4ScaleOptions::SlotShiftZU()
00042 {
00043     MoveScale(0, 0, 2);
00044 }
00045 
00046 void TGo4ScaleOptions::SlotShiftZD()
00047 {
00048     MoveScale(0, 0, 1);
00049 }
00050 
00051 void TGo4ScaleOptions::SlotExpandX()
00052 {
00053    MoveScale(3, 0, 0);
00054 }
00055 
00056 void TGo4ScaleOptions::SlotExpandY()
00057 {
00058    MoveScale(0, 3, 0);
00059 }
00060 
00061 void TGo4ScaleOptions::SlotExpandZ()
00062 {
00063     MoveScale(0, 0, 3);
00064 }
00065 
00066 void TGo4ScaleOptions::SlotUExpandX()
00067 {
00068     MoveScale(4, 0, 0);
00069 }
00070 
00071 void TGo4ScaleOptions::SlotUExpandY()
00072 {
00073    MoveScale(0, 4, 0);
00074 }
00075 
00076 void TGo4ScaleOptions::SlotUExpandZ()
00077 {
00078     MoveScale(0, 0, 4);
00079 }
00080 
00081 void TGo4ScaleOptions::resizeall()
00082 {
00083    MoveScale(0, 0, 0);
00084 }
00085 
00086 void TGo4ScaleOptions::SetScaleValues()
00087 {
00088    ServiceCall("ToggleScaleValues");
00089 }
00090 
00091 void TGo4ScaleOptions::MoveScale(int xaction, int yaction, int zaction)
00092 {
00093    TGo4ViewPanel* panel = TGo4WorkSpace::Instance()->GetActivePanel();
00094    if (panel!=0) panel->MoveScale(ExpandFactor->value(), xaction, yaction, zaction);
00095 }
00096 
00097 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:22 2008 for Go4-v3.04-1 by  doxygen 1.4.2