Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveProjectionAxesEditor.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/eve:$Id$
0002 // Author: Matevz Tadel 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TEveProjectionAxesEditor
0013 #define ROOT_TEveProjectionAxesEditor
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TGCheckButton;
0018 class TGComboBox;
0019 class TEveGValuator;
0020 
0021 class TEveProjectionAxes;
0022 
0023 class TEveProjectionAxesEditor : public TGedFrame
0024 {
0025 private:
0026    TEveProjectionAxesEditor(const TEveProjectionAxesEditor&);            // Not implemented
0027    TEveProjectionAxesEditor& operator=(const TEveProjectionAxesEditor&); // Not implemented
0028 
0029 protected:
0030    TEveProjectionAxes   *fM;       // Model object.
0031 
0032    TGComboBox      *fLabMode;
0033    TGComboBox      *fAxesMode;
0034 
0035    TGVerticalFrame *fCenterFrame;  // Parent frame for Center tab.
0036    TGCheckButton   *fDrawCenter;   // draw center widget
0037    TGCheckButton   *fDrawOrigin;   // draw origin widget
0038 
0039 public:
0040    TEveProjectionAxesEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
0041                             UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0042    ~TEveProjectionAxesEditor() override {}
0043 
0044    void SetModel(TObject* obj) override;
0045 
0046    // Declare callback/slot methods
0047 
0048    void DoLabMode(Int_t type);
0049    void DoAxesMode(Int_t type);
0050 
0051    void DoDrawCenter();
0052    void DoDrawOrigin();
0053 
0054    ClassDefOverride(TEveProjectionAxesEditor, 0); // GUI editor for TEveProjectionAxes.
0055 };
0056 
0057 #endif