Logo ROOT   6.14/05
Reference Guide
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
const char Option_t
Definition: RtypesCore.h:62
bool Bool_t
Definition: RtypesCore.h:59
virtual void PaintModified()
Traverse pad hierarchy and (re)paint only modified pads.
Definition: TPad.cxx:3606
virtual Bool_t IsBatch() const
Is pad in batch mode ?
Definition: TEvePad.h:26
virtual ~TEvePad()
Definition: TEvePad.h:24
TEvePad()
Default constructor.
Definition: TEvePad.cxx:27
#define ClassDef(name, id)
Definition: Rtypes.h:320
virtual void Update()
Update pad.
Definition: TEvePad.h:28
Abstract 3D shapes viewer.
short Color_t
Definition: RtypesCore.h:79
virtual TVirtualViewer3D * GetViewer3D(Option_t *="")
Create/obtain handle to 3D viewer.
Definition: TEvePad.h:30
The most important graphics class in the ROOT system.
Definition: TPad.h:29
short Short_t
Definition: RtypesCore.h:35
double Double_t
Definition: RtypesCore.h:55
TVirtualViewer3D * fViewer3D
! Current 3D viewer
Definition: TPad.h:122
This was intended as a TPad wrapper to allow smart updates of groups of pads.
Definition: TEvePad.h:17
const Bool_t kTRUE
Definition: RtypesCore.h:87
char name[80]
Definition: TGX11.cxx:109