Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveProjectionManagerEditor.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 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 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_TEveProjectionManagerEditor
0013 #define ROOT_TEveProjectionManagerEditor
0014 
0015 #include "TGedFrame.h"
0016 
0017 class TGComboBox;
0018 class TGCheckButton;
0019 class TGNumberEntry;
0020 class TGColorSelect;
0021 
0022 class TEveProjectionManager;
0023 class TEveGValuator;
0024 
0025 class TEveProjectionManagerEditor : public TGedFrame
0026 {
0027 private:
0028    TEveProjectionManagerEditor(const TEveProjectionManagerEditor&);            // Not implemented
0029    TEveProjectionManagerEditor& operator=(const TEveProjectionManagerEditor&); // Not implemented
0030 
0031 protected:
0032    TEveProjectionManager    *fM;   // Model object.
0033 
0034    TGComboBox      *fType;         // TEveProjection type widget
0035    TEveGValuator   *fDistortion;   // TEveProjection distortion widget
0036    TEveGValuator   *fFixR;         // TEveProjection fixed-radius widget
0037    TEveGValuator   *fFixZ;         // TEveProjection fixed-z widget
0038    TEveGValuator   *fPastFixRFac;  // TEveProjection relative scale after FixR
0039    TEveGValuator   *fPastFixZFac;  // TEveProjection relative scale after FixZ
0040    TEveGValuator   *fCurrentDepth; // TEveProjection z-coordinate widget
0041    TEveGValuator   *fMaxTrackStep;  // TEveProjection relative scale after FixZ
0042 
0043    TGVerticalFrame *fCenterFrame;  // parent frame for distortion center
0044    TEveGValuator   *fCenterX;      // center x value widget
0045    TEveGValuator   *fCenterY;      // center y value widget
0046    TEveGValuator   *fCenterZ;      // center z value widget
0047 
0048 public:
0049    TEveProjectionManagerEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
0050    ~TEveProjectionManagerEditor() override{}
0051 
0052    void SetModel(TObject* obj) override;
0053 
0054    // Declare callback/slot methods
0055 
0056    void DoType(Int_t type);
0057    void DoDistortion();
0058    void DoFixR();
0059    void DoFixZ();
0060    void DoPastFixRFac();
0061    void DoPastFixZFac();
0062    void DoCurrentDepth();
0063    void DoMaxTrackStep();
0064    void DoCenter();
0065 
0066    ClassDefOverride(TEveProjectionManagerEditor, 0); // Editor for TEveProjectionManager class.
0067 };
0068 
0069 #endif