00001 // @(#)root/eve:$Id: TEvePad.h 21054 2007-11-26 18:00:41Z matevz $ 00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TEvePad 00013 #define ROOT_TEvePad 00014 00015 #include "TPad.h" 00016 00017 class TEvePad : public TPad 00018 { 00019 public: 00020 TEvePad(); 00021 TEvePad(const char* name, const char* title, 00022 Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, 00023 Color_t color = -1, Short_t bordersize = -1, Short_t bordermode = -2); 00024 virtual ~TEvePad() {} 00025 00026 virtual Bool_t IsBatch() const { return kTRUE; } 00027 00028 virtual void Update() { PaintModified(); } 00029 00030 virtual TVirtualViewer3D *GetViewer3D(Option_t * /*type*/ = "") 00031 { return fViewer3D; } 00032 00033 ClassDef(TEvePad, 1); // Internal TEveUtil pad class (sub-class of TPad) overriding handling of updates and 3D-viewers. 00034 }; 00035 00036 #endif