Logo ROOT   6.14/05
Reference Guide
TEvePad.cxx
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 #include "TEvePad.h"
13 #include "THashList.h"
14 
15 /** \class TEvePad
16 \ingroup TEve
17 This was intended as a TPad wrapper to allow smart updates of
18 groups of pads. Uses THashList instead of TList for faster removal
19 of objects from the pad.
20 */
21 
23 
24 ////////////////////////////////////////////////////////////////////////////////
25 /// Default constructor.
26 
28 {
29  fPrimitives = new THashList;
30 }
31 
32 ////////////////////////////////////////////////////////////////////////////////
33 /// Constructor.
34 
35 TEvePad::TEvePad(const char *name, const char *title, Double_t xlow,
36  Double_t ylow, Double_t xup, Double_t yup,
37  Color_t color, Short_t bordersize, Short_t bordermode)
38  : TPad(name,title,xlow,ylow,xup,yup,color,bordersize,bordermode)
39 {
40  delete fPrimitives;
41  fPrimitives = new THashList;
42 }
TList * fPrimitives
->List of primitives (subpads)
Definition: TPad.h:106
TEvePad()
Default constructor.
Definition: TEvePad.cxx:27
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
Definition: THashList.h:34
short Color_t
Definition: RtypesCore.h:79
The most important graphics class in the ROOT system.
Definition: TPad.h:29
short Short_t
Definition: RtypesCore.h:35
#define ClassImp(name)
Definition: Rtypes.h:359
double Double_t
Definition: RtypesCore.h:55
This was intended as a TPad wrapper to allow smart updates of groups of pads.
Definition: TEvePad.h:17
char name[80]
Definition: TGX11.cxx:109