Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveSceneInfo.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_TEveSceneInfo
0013 #define ROOT_TEveSceneInfo
0014 
0015 #include "TEveElement.h"
0016 
0017 class TGLSceneBase;
0018 class TGLSceneInfo;
0019 
0020 class TEveViewer;
0021 class TEveScene;
0022 
0023 class TEveSceneInfo : public TEveElement,
0024                       public TNamed
0025 {
0026 private:
0027    TEveSceneInfo(const TEveSceneInfo&);            // Not implemented
0028    TEveSceneInfo& operator=(const TEveSceneInfo&); // Not implemented
0029 
0030 protected:
0031    TEveViewer       *fViewer;
0032    TEveScene        *fScene;
0033    TGLSceneInfo     *fGLSceneInfo;
0034 
0035 public:
0036    TEveSceneInfo(TEveViewer* viewer, TEveScene* scene, TGLSceneInfo* sinfo);
0037    ~TEveSceneInfo() override {}
0038 
0039    TEveViewer   * GetViewer()      const { return fViewer; }
0040    TEveScene    * GetScene()       const { return fScene;  }
0041    TGLSceneInfo * GetGLSceneInfo() const { return fGLSceneInfo; }
0042    TGLSceneBase * GetGLScene()     const;
0043 
0044    Bool_t SingleRnrState() const override { return kTRUE; }
0045 
0046    void   AddStamp(UChar_t bits) override;
0047 
0048    Bool_t AcceptElement(TEveElement* el) override;
0049    Bool_t HandleElementPaste(TEveElement* el) override;
0050 
0051    ClassDefOverride(TEveSceneInfo, 0); // TEveUtil representation of TGLSceneInfo.
0052 };
0053 
0054 #endif