Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
17class TEvePad : public TPad
18{
19public:
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
short Short_t
Definition RtypesCore.h:39
double Double_t
Definition RtypesCore.h:59
short Color_t
Definition RtypesCore.h:83
const Bool_t kTRUE
Definition RtypesCore.h:91
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:325
char name[80]
Definition TGX11.cxx:110
This was intended as a TPad wrapper to allow smart updates of groups of pads.
Definition TEvePad.h:18
virtual Bool_t IsBatch() const
Definition TEvePad.h:26
virtual void Update()
Definition TEvePad.h:28
virtual ~TEvePad()
Definition TEvePad.h:24
TEvePad()
Default constructor.
Definition TEvePad.cxx:27
virtual TVirtualViewer3D * GetViewer3D(Option_t *="")
Definition TEvePad.h:30
The most important graphics class in the ROOT system.
Definition TPad.h:26
void PaintModified() override
Traverse pad hierarchy and (re)paint only modified pads.
Definition TPad.cxx:3667
TVirtualViewer3D * fViewer3D
! Current 3D viewer
Definition TPad.h:119
Abstract 3D shapes viewer.