Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
18{
19private:
22
23protected:
26
27public:
28 TEveScalableStraightLineSet(const char* n="ScalableStraightLineSet", const char* t="");
30
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
double Double_t
Definition RtypesCore.h:59
float Float_t
Definition RtypesCore.h:57
#define ClassDef(name, id)
Definition Rtypes.h:325
Straight-line-set with extra scaling, useful for projectables that need to be scaled in accordance wi...
TEveScalableStraightLineSet(const TEveScalableStraightLineSet &)
TEveScalableStraightLineSet & operator=(const TEveScalableStraightLineSet &)
Double_t GetScale() const
Return current scale.
void SetScale(Double_t scale)
Loop over line parameters and scale coordinates.
void SetScaleCenter(Float_t x, Float_t y, Float_t z)
Set scale center.
Set of straight lines with optional markers along the lines.
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17
const Int_t n
Definition legend1.C:16