// $Header: /cvs/gled-1.2/GledCore/Glasses/Sphere.h,v 1.5 2005/03/11 17:50:15 matevz Exp $ // Copyright (C) 1999-2005, Matevz Tadel. All rights reserved. // This file is part of GLED, released under GNU General Public License version 2. // For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/. #ifndef Gled_Sphere_H #define Gled_Sphere_H #include #include class Sphere : public ZNode { MAC_RNR_FRIENDS(Sphere); protected: Float_t mRadius; // X{GS} 7 Value(-range=>[0,1000,1,1000]) Int_t mLOD; // X{GS} 7 Value(-range=>[1,100,1,1], -join=>1) ZColor mColor; // X{PGS} 7 ColorButt() void _init(); public: Sphere(const Text_t* n="Sphere", const Text_t* t=0) : ZNode(n, t), mRadius(1) { _init(); } Sphere(Float_t r, const Text_t* n="Sphere", Text_t* t=0) : ZNode(n, t), mRadius(r) { _init();} #include "Sphere.h7" ClassDef(Sphere, 1) }; // endclass Sphere GlassIODef(Sphere); #endif