Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TEveScalableStraightLineSet.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEveScalableStraightLineSet
13 #define ROOT_TEveScalableStraightLineSet
14 
15 #include "TEveStraightLineSet.h"
16 
17 class TEveScalableStraightLineSet : public TEveStraightLineSet
18 {
19 private:
20  TEveScalableStraightLineSet(const TEveScalableStraightLineSet&); // Not implemented
21  TEveScalableStraightLineSet& operator=(const TEveScalableStraightLineSet&); // Not implemented
22 
23 protected:
24  Double_t fCurrentScale;
25  Float_t fScaleCenter[3];
26 
27 public:
28  TEveScalableStraightLineSet(const char* n="ScalableStraightLineSet", const char* t="");
29  virtual ~TEveScalableStraightLineSet() {}
30 
31  void SetScaleCenter(Float_t x, Float_t y, Float_t z);
32  void SetScale(Double_t scale);
33 
34  Double_t GetScale() const;
35 
36  ClassDef(TEveScalableStraightLineSet, 0); // Straight-line-set with extra scaling.
37 };
38 #endif