Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/root/TEveScalableStraightLineSet.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // @(#)root/eve:$Id$
0002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, 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_TEveScalableStraightLineSet
0013 #define ROOT_TEveScalableStraightLineSet
0014 
0015 #include "TEveStraightLineSet.h"
0016 
0017 class TEveScalableStraightLineSet : public TEveStraightLineSet
0018 {
0019 private:
0020    TEveScalableStraightLineSet(const TEveScalableStraightLineSet&);            // Not implemented
0021    TEveScalableStraightLineSet& operator=(const TEveScalableStraightLineSet&); // Not implemented
0022 
0023 protected:
0024    Double_t      fCurrentScale;
0025    Float_t       fScaleCenter[3];
0026 
0027 public:
0028    TEveScalableStraightLineSet(const char* n="ScalableStraightLineSet", const char* t="");
0029    ~TEveScalableStraightLineSet() override {}
0030 
0031    void SetScaleCenter(Float_t x, Float_t y, Float_t z);
0032    void SetScale(Double_t scale);
0033 
0034    Double_t GetScale() const;
0035 
0036    ClassDefOverride(TEveScalableStraightLineSet, 0); // Straight-line-set with extra scaling.
0037 };
0038 #endif