Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TEvePad.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEvePad
13 #define ROOT_TEvePad
14 
15 #include "TPad.h"
16 
17 class TEvePad : public TPad
18 {
19 public:
20  TEvePad();
21  TEvePad(const char* name, const char* title,
22  Double_t xlow, Double_t ylow, Double_t xup, Double_t yup,
23  Color_t color = -1, Short_t bordersize = -1, Short_t bordermode = -2);
24  virtual ~TEvePad() {}
25 
26  virtual Bool_t IsBatch() const { return kTRUE; }
27 
28  virtual void Update() { PaintModified(); }
29 
30  virtual TVirtualViewer3D *GetViewer3D(Option_t * /*type*/ = "")
31  { return fViewer3D; }
32 
33  ClassDef(TEvePad, 1); // Internal TEveUtil pad class (sub-class of TPad) overriding handling of updates and 3D-viewers.
34 };
35 
36 #endif