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 ~TEvePad() override {}
25
26 Bool_t IsBatch() const override { return kTRUE; }
27
28 void Update() override { PaintModified(); }
29
30 TVirtualViewer3D *GetViewer3D(Option_t * /*type*/ = "") override
31 { return fViewer3D; }
32
33 ClassDefOverride(TEvePad, 1); // Internal TEveUtil pad class (sub-class of TPad) overriding handling of updates and 3D-viewers.
34};
35
36#endif
short Color_t
Definition RtypesCore.h:92
short Short_t
Definition RtypesCore.h:39
constexpr Bool_t kTRUE
Definition RtypesCore.h:100
const char Option_t
Definition RtypesCore.h:66
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
ClassDefOverride(TEvePad, 1)
TVirtualViewer3D * GetViewer3D(Option_t *="") override
Definition TEvePad.h:30
~TEvePad() override
Definition TEvePad.h:24
Bool_t IsBatch() const override
Definition TEvePad.h:26
void Update() override
Definition TEvePad.h:28
TEvePad()
Default constructor.
Definition TEvePad.cxx:27
The most important graphics class in the ROOT system.
Definition TPad.h:28
void PaintModified() override
Traverse pad hierarchy and (re)paint only modified pads.
Definition TPad.cxx:3716
TVirtualViewer3D * fViewer3D
! Current 3D viewer
Definition TPad.h:123
Abstract 3D shapes viewer.