|
||||
File indexing completed on 2025-01-18 10:12:01
0001 // @(#)root/gl:$Id$ 0002 // Author: Timur Pocheptsov 03/08/2004 0003 // NOTE: This code moved from obsoleted TGLSceneObject.h / .cxx - see these 0004 // attic files for previous CVS history 0005 0006 /************************************************************************* 0007 * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. * 0008 * All rights reserved. * 0009 * * 0010 * For the licensing terms see $ROOTSYS/LICENSE. * 0011 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0012 *************************************************************************/ 0013 0014 #ifndef ROOT_TGLSphere 0015 #define ROOT_TGLSphere 0016 0017 #include "TGLLogicalShape.h" 0018 0019 class TBuffer3DSphere; 0020 0021 class TGLSphere : public TGLLogicalShape 0022 { 0023 private: 0024 Double_t fRadius; // Sphere radius 0025 0026 public: 0027 TGLSphere(const TBuffer3DSphere &buffer); 0028 0029 UInt_t DLOffset(Short_t lod) const override; 0030 0031 ELODAxes SupportedLODAxes() const override { return kLODAxesAll; } 0032 Short_t QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const override; 0033 void DirectDraw(TGLRnrCtx & rnrCtx) const override; 0034 0035 ClassDefOverride(TGLSphere,0); // a spherical logical shape 0036 }; 0037 0038 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |