Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-19 09:37:27

0001 // @(#)root/base:$Id$
0002 // Author: Richard Maunder  10/3/2005
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TBuffer3DTypes
0013 #define ROOT_TBuffer3DTypes
0014 
0015 //TODO: Check on casing of enums - also clearer names would help
0016 
0017 //TODO: Go through all shapes and check type is being set for each
0018 
0019 // Scope to avoid clashes
0020 class TBuffer3DTypes {
0021 public:
0022                             // Buffer class        Producer class
0023                             //                     g3d              geom
0024    enum EType { kGeneric,   // TBuffer3D           Rest             Rest
0025                 kComposite, // TBuffer3D                            TGetCompositeShape
0026 // clang++ <v20 (-Wshadow) complains about shadowing Buttons.h global enum EEditMode. Let's silence warning:
0027 #if defined(__clang__) && __clang_major__ < 20
0028 #pragma clang diagnostic push
0029 #pragma clang diagnostic ignored "-Wshadow"
0030 #endif
0031                 kLine,      // TBuffer3D           TPolyLine3D
0032                 kMarker,    // TBuffer3D           TPolyMarker3D
0033 #if defined(__clang__) && __clang_major__ < 20
0034 #pragma clang diagnostic pop
0035 #endif
0036                 kSphere,    // TBuffer3DSphere     TSPHE            TGeoSphere
0037                 kTube,      // TBuffer3DTube                        TGeoTube
0038                 kTubeSeg,   // TBuffer3DTubeSeg                     TGeoTubeSeg
0039                 kCutTube }; // TBuffer3DCutTube                     TGeoCtub
0040 };
0041 
0042 #endif