TEveScalableStraightLineSet.h

Go to the documentation of this file.
00001 // @(#)root/eve:$Id: TEveScalableStraightLineSet.h 27157 2009-01-15 14:05:12Z brun $
00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TEveScalableStraightLineSet
00013 #define ROOT_TEveScalableStraightLineSet
00014 
00015 #include "TEveStraightLineSet.h"
00016 
00017 class TEveScalableStraightLineSet : public TEveStraightLineSet
00018 {
00019 private:
00020    TEveScalableStraightLineSet(const TEveScalableStraightLineSet&);            // Not implemented
00021    TEveScalableStraightLineSet& operator=(const TEveScalableStraightLineSet&); // Not implemented
00022 
00023 protected:
00024    Double_t      fCurrentScale;
00025    Float_t       fScaleCenter[3];
00026 
00027 public:
00028    TEveScalableStraightLineSet(const char* n="ScalableStraightLineSet", const char* t="");
00029    virtual ~TEveScalableStraightLineSet() {}
00030 
00031    void SetScaleCenter(Float_t x, Float_t y, Float_t z);
00032    void SetScale(Double_t scale);
00033 
00034    Double_t GetScale() const;
00035 
00036    ClassDef(TEveScalableStraightLineSet, 1); // Straight-line-set with extra scaling.
00037 };
00038 #endif

Generated on Tue Jul 5 14:14:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1