Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TBuffer3DTypes.h
Go to the documentation of this file.
1// @(#)root/base:$Id$
2// Author: Richard Maunder 10/3/2005
3
4/*************************************************************************
5 * Copyright (C) 1995-2005, 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_TBuffer3DTypes
13#define ROOT_TBuffer3DTypes
14
15//TODO: Check on casing of enums - also clearer names would help
16
17//TODO: Go through all shapes and check type is being set for each
18
19// Scope to avoid clashes
21public:
22 // Buffer class Producer class
23 // g3d geom
24 enum EType { kGeneric, // TBuffer3D Rest Rest
25 kComposite, // TBuffer3D TGetCompositeShape
26// clang++ <v20 (-Wshadow) complains about shadowing Buttons.h global enum EEditMode. Let's silence warning:
27#if defined(__clang__) && __clang_major__ < 20
28#pragma clang diagnostic push
29#pragma clang diagnostic ignored "-Wshadow"
30#endif
31 kLine, // TBuffer3D TPolyLine3D
32 kMarker, // TBuffer3D TPolyMarker3D
33#if defined(__clang__) && __clang_major__ < 20
34#pragma clang diagnostic pop
35#endif
36 kSphere, // TBuffer3DSphere TSPHE TGeoSphere
37 kTube, // TBuffer3DTube TGeoTube
38 kTubeSeg, // TBuffer3DTubeSeg TGeoTubeSeg
39 kCutTube }; // TBuffer3DCutTube TGeoCtub
40};
41
42#endif