Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:10:40

0001 // @(#)root/eve7:$Id$
0002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2020
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2020, 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_REveScalableStraightLineSet
0013 #define ROOT_REveScalableStraightLineSet
0014 
0015 #include "ROOT/REveStraightLineSet.hxx"
0016 
0017 namespace ROOT {
0018 namespace Experimental {
0019 
0020 class REveScalableStraightLineSet : public REveStraightLineSet
0021 {
0022 private:
0023    REveScalableStraightLineSet(const REveScalableStraightLineSet&) = delete;
0024    REveScalableStraightLineSet& operator=(const REveScalableStraightLineSet&) = delete;
0025 
0026 protected:
0027    Double_t      fCurrentScale;
0028    Float_t       fScaleCenter[3];
0029 
0030 public:
0031    REveScalableStraightLineSet(const std::string &n = "ScalableStraightLineSet", const std::string &t = "");
0032    ~REveScalableStraightLineSet() override {}
0033 
0034    void SetScaleCenter(Float_t x, Float_t y, Float_t z);
0035    void SetScale(Double_t scale);
0036 
0037    Double_t GetScale() const;
0038 };
0039 
0040 } // namespace Experimental
0041 } // namespace ROOT
0042 
0043 #endif