Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEvePad.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_TEvePad
0013 #define ROOT_TEvePad
0014 
0015 #include "TPad.h"
0016 
0017 class TEvePad : public TPad
0018 {
0019 public:
0020    TEvePad();
0021    TEvePad(const char* name, const char* title,
0022            Double_t xlow, Double_t ylow, Double_t xup, Double_t yup,
0023            Color_t color = -1, Short_t bordersize = -1, Short_t bordermode = -2);
0024    ~TEvePad() override {}
0025 
0026    Bool_t    IsBatch() const override { return kTRUE; }
0027 
0028    void      Update() override { PaintModified(); }
0029 
0030    TVirtualViewer3D *GetViewer3D(Option_t * /*type*/ = "") override
0031    { return fViewer3D; }
0032 
0033    ClassDefOverride(TEvePad, 1); // Internal TEveUtil pad class (sub-class of TPad) overriding handling of updates and 3D-viewers.
0034 };
0035 
0036 #endif