/usr/include/root/TViewer3DPad.h is in libroot-graf2d-gpad-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | // @(#)root/gpad:$Id$
// Author: Richard Maunder 10/3/2005
/*************************************************************************
* Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TViewer3DPad
#define ROOT_TViewer3DPad
//////////////////////////////////////////////////////////////////////////
// //
// TViewer3DPad //
// //
// Provides 3D viewer interface (TVirtualViewer3D) support on a pad. //
// Will be merged with TView / TView3D eventually. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TVirtualViewer3D
#include "TVirtualViewer3D.h"
#endif
class TVirtualPad;
class TViewer3DPad : public TVirtualViewer3D {
private:
TVirtualPad & fPad; // the pad we paint into.
Bool_t fBuilding; // is scene being built?
// Non-copyable
TViewer3DPad(const TViewer3DPad &);
TViewer3DPad & operator = (const TViewer3DPad &);
public:
TViewer3DPad(TVirtualPad & pad) : fPad(pad), fBuilding(kFALSE) {};
~TViewer3DPad() {};
virtual Bool_t PreferLocalFrame() const;
virtual void BeginScene();
virtual Bool_t BuildingScene() const { return fBuilding; }
virtual void EndScene();
virtual Int_t AddObject(const TBuffer3D & buffer, Bool_t * addChildren = 0);
virtual Int_t AddObject(UInt_t placedID, const TBuffer3D & buffer, Bool_t * addChildren = 0);
// Composite shapes not supported on this viewer currently - ignore.
// Will result in a set of individual component shapes
virtual Bool_t OpenComposite(const TBuffer3D & buffer, Bool_t * addChildren = 0);
virtual void CloseComposite();
virtual void AddCompositeOp(UInt_t operation);
ClassDef(TViewer3DPad,0) //A 3D Viewer painter for TPads
};
#endif
|