Logo ROOT   6.18/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
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
bool Bool_t
Definition: RtypesCore.h:59
short Short_t
Definition: RtypesCore.h:35
double Double_t
Definition: RtypesCore.h:55
short Color_t
Definition: RtypesCore.h:79
const Bool_t kTRUE
Definition: RtypesCore.h:87
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:326
char name[80]
Definition: TGX11.cxx:109
This was intended as a TPad wrapper to allow smart updates of groups of pads.
Definition: TEvePad.h:18
virtual Bool_t IsBatch() const
Is pad in batch mode ?
Definition: TEvePad.h:26
virtual void Update()
Update pad.
Definition: TEvePad.h:28
virtual ~TEvePad()
Definition: TEvePad.h:24
TEvePad()
Default constructor.
Definition: TEvePad.cxx:27
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
TVirtualViewer3D * fViewer3D
! Current 3D viewer
Definition: TPad.h:122
virtual void PaintModified()
Traverse pad hierarchy and (re)paint only modified pads.
Definition: TPad.cxx:3624
Abstract 3D shapes viewer.