Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveScalableStraightLineSet.cxx
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
13#include "TEveChunkManager.h"
14
15/** \class TEveScalableStraightLineSet
16\ingroup TEve
17Straight-line-set with extra scaling, useful for projectables that need
18to be scaled in accordance with an external object.
19*/
20
22
23////////////////////////////////////////////////////////////////////////////////
24/// Constructor.
25
28 fCurrentScale(1.0)
29{
30 fScaleCenter[0] = 0;
31 fScaleCenter[1] = 0;
32 fScaleCenter[2] = 0;
33}
34
35////////////////////////////////////////////////////////////////////////////////
36/// Set scale center.
37
44
45////////////////////////////////////////////////////////////////////////////////
46/// Return current scale.
47
52
53////////////////////////////////////////////////////////////////////////////////
54/// Loop over line parameters and scale coordinates.
55
float Float_t
Definition RtypesCore.h:57
#define ClassImp(name)
Definition Rtypes.h:374
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Straight-line-set with extra scaling, useful for projectables that need to be scaled in accordance wi...
TEveScalableStraightLineSet(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.
TEveChunkManager & GetLinePlex()
Double_t y[n]
Definition legend1.C:17
Double_t x[n]
Definition legend1.C:17
const Int_t n
Definition legend1.C:16
TLine l
Definition textangle.C:4