Logo ROOT  
Reference Guide
REveProjections.hxx
Go to the documentation of this file.
1 // @(#)root/eve7:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2019, 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 ROOT7_REveProjections
13 #define ROOT7_REveProjections
14 
15 #include <ROOT/REveVector.hxx>
16 
17 #include <vector>
18 #include <string>
19 
20 namespace ROOT {
21 namespace Experimental {
22 
23 class REveTrans;
24 
25 ///////////////////////////////////////////////////////////////////////////////
26 /// REveProjection
27 /// Base for specific classes that implement non-linear projections.
28 ///////////////////////////////////////////////////////////////////////////////
29 
31 public:
32  enum EPType_e { kPT_Unknown, kPT_RPhi, kPT_RhoZ, kPT_3D, kPT_End }; // projection type
33  enum EPProc_e { kPP_Plane, kPP_Distort, kPP_Full }; // projection procedure
34  enum EGeoMode_e { kGM_Unknown, kGM_Polygons, kGM_Segments }; // strategy for geometry projections
35 
36  struct PreScaleEntry_t {
37  Float_t fMin{0}, fMax{0};
40 
41  PreScaleEntry_t() = default;
42 
44  : fMin(min), fMax(max), fOffset(off), fScale(scale)
45  {
46  }
47  };
48 
49  typedef std::vector<PreScaleEntry_t> vPreScale_t;
50 
51 protected:
52  EPType_e fType; // type
53  EGeoMode_e fGeoMode; // strategy of polygon projection (what to try first)
54  std::string fName; // name
55 
56  REveVector fCenter; // center of distortion
57 
58  bool fDisplaceOrigin; // displace point before projection
59 
60  Bool_t fUsePreScale; // use pre-scaling
61  vPreScale_t fPreScales[3]; // scaling before the distortion
62 
63  Float_t fDistortion; // distortion
64  Float_t fFixR; // radius from which scaling remains constant
65  Float_t fFixZ; // z-coordinate from which scaling remains constant
66  Float_t fPastFixRFac; // relative scaling factor beyond fFixR as 10^x
67  Float_t fPastFixZFac; // relative scaling factor beyond fFixZ as 10^x
68  Float_t fScaleR; // scale factor to keep projected radius at fFixR fixed
69  Float_t fScaleZ; // scale factor to keep projected z-coordinate at fFixZ fixed
70  Float_t fPastFixRScale; // relative scaling beyond fFixR
71  Float_t fPastFixZScale; // relative scaling beyond fFixZ
72  Float_t fMaxTrackStep; // maximum distance between two points on a track
73 
74  void PreScaleVariable(Int_t dim, Float_t &v);
75 
76 public:
78  virtual ~REveProjection() {}
79 
80  virtual Bool_t Is2D() const = 0;
81  virtual Bool_t Is3D() const = 0;
82 
83  virtual void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e p = kPP_Full) = 0;
84 
88 
89  void ProjectPointfv(const REveTrans *t, const Float_t *p, Float_t *v, Float_t d);
90  void ProjectPointdv(const REveTrans *t, const Double_t *p, Double_t *v, Float_t d);
91  void ProjectVector(const REveTrans *t, REveVector &v, Float_t d);
92 
93  const char *GetName() const { return fName.c_str(); }
94  void SetName(const char *txt) { fName = txt; }
95 
96  const REveVector &RefCenter() const { return fCenter; }
97  virtual void SetCenter(REveVector &v) { fCenter = v; }
98  virtual Float_t *GetProjectedCenter();
99 
100  void SetDisplaceOrigin(bool);
102 
103  void SetType(EPType_e t) { fType = t; }
104  EPType_e GetType() const { return fType; }
105 
107  EGeoMode_e GetGeoMode() const { return fGeoMode; }
108 
109  Bool_t GetUsePreScale() const { return fUsePreScale; }
111 
112  void PreScalePoint(Float_t &x, Float_t &y);
113  void PreScalePoint(Float_t &x, Float_t &y, Float_t &z);
114  void AddPreScaleEntry(Int_t coord, Float_t max_val, Float_t scale);
115  void ChangePreScaleEntry(Int_t coord, Int_t entry, Float_t new_scale);
116  void ClearPreScales();
117 
118  void SetDistortion(Float_t d);
119  Float_t GetDistortion() const { return fDistortion; }
120  Float_t GetFixR() const { return fFixR; }
121  Float_t GetFixZ() const { return fFixZ; }
122  void SetFixR(Float_t x);
123  void SetFixZ(Float_t x);
124  Float_t GetPastFixRFac() const { return fPastFixRFac; }
125  Float_t GetPastFixZFac() const { return fPastFixZFac; }
126  void SetPastFixRFac(Float_t x);
127  void SetPastFixZFac(Float_t x);
130 
131  virtual Bool_t HasSeveralSubSpaces() const { return kFALSE; }
132  virtual Bool_t AcceptSegment(REveVector &, REveVector &, Float_t /*tolerance*/) const { return kTRUE; }
133  virtual Int_t SubSpaceId(const REveVector &) const { return 0; }
134  virtual Bool_t IsOnSubSpaceBoundrary(const REveVector &) const { return kFALSE; }
135  virtual void BisectBreakPoint(REveVector &vL, REveVector &vR, Float_t eps_sqr);
136  virtual void BisectBreakPoint(REveVector &vL, REveVector &vR, Bool_t project_result = kFALSE, Float_t depth = 0);
137  virtual void SetDirectionalVector(Int_t screenAxis, REveVector &vec);
138 
139  // utils to draw axis
141  virtual Float_t GetValForScreenPos(Int_t ax, Float_t value);
142  virtual Float_t GetScreenVal(Int_t ax, Float_t value);
143  Float_t GetScreenVal(Int_t i, Float_t x, REveVector &dirVec, REveVector &oCenter);
145 
146  static Float_t fgEps; // resolution of projected points
147  static Float_t fgEpsSqr; // square of resolution of projected points
148 };
149 
150 //==============================================================================
151 // REveRhoZProjection
152 // Rho/Z non-linear projection.
153 //==============================================================================
154 
156 private:
157  REveVector fProjectedCenter; // projected center of distortion.
158 
159 public:
161  virtual ~REveRhoZProjection() {}
162 
163  Bool_t Is2D() const override { return kTRUE; }
164  Bool_t Is3D() const override { return kFALSE; }
165 
166  void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc = kPP_Full) override;
167 
168  void SetCenter(REveVector &v) override;
169  Float_t *GetProjectedCenter() override { return fProjectedCenter.Arr(); }
170 
171  Bool_t HasSeveralSubSpaces() const override { return kTRUE; }
172  Bool_t AcceptSegment(REveVector &v1, REveVector &v2, Float_t tolerance) const override;
173  Int_t SubSpaceId(const REveVector &v) const override;
174  Bool_t IsOnSubSpaceBoundrary(const REveVector &v) const override;
175  void SetDirectionalVector(Int_t screenAxis, REveVector &vec) override;
176 };
177 
178 //==============================================================================
179 // REveRPhiProjection
180 // XY non-linear projection.
181 //==============================================================================
182 
184 public:
186  virtual ~REveRPhiProjection() {}
187 
188  Bool_t Is2D() const override { return kTRUE; }
189  Bool_t Is3D() const override { return kFALSE; }
190 
191  void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc = kPP_Full) override;
192 };
193 
194 //==============================================================================
195 // REve3DProjection
196 // 3D scaling "projection"
197 //==============================================================================
198 
200 public:
202  virtual ~REve3DProjection() {}
203 
204  Bool_t Is2D() const override { return kFALSE; }
205  Bool_t Is3D() const override { return kTRUE; }
206 
207  void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc = kPP_Full) override;
208 };
209 
210 } // namespace Experimental
211 } // namespace ROOT
212 
213 #endif
m
auto * m
Definition: textangle.C:8
ROOT::Experimental::REveProjection::ProjectPoint
virtual void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e p=kPP_Full)=0
ROOT::Experimental::REveProjection::kPT_RPhi
@ kPT_RPhi
Definition: REveProjections.hxx:32
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
ROOT::Experimental::REveProjection::ClearPreScales
void ClearPreScales()
Clear all pre-scaling information.
Definition: REveProjections.cxx:248
ROOT::Experimental::REveProjection::Is2D
virtual Bool_t Is2D() const =0
ROOT::Experimental::REveProjection::ProjectVector
void ProjectVector(REveVector &v, Float_t d)
Project REveVector.
Definition: REveProjections.cxx:74
ROOT::Experimental::REveProjection::fUsePreScale
Bool_t fUsePreScale
Definition: REveProjections.hxx:60
ROOT::Experimental::REveRhoZProjection::HasSeveralSubSpaces
Bool_t HasSeveralSubSpaces() const override
Definition: REveProjections.hxx:171
ROOT::Experimental::REveProjection::BisectBreakPoint
virtual void BisectBreakPoint(REveVector &vL, REveVector &vR, Float_t eps_sqr)
Find break-point on both sides of the discontinuity.
Definition: REveProjections.cxx:337
TMath::Max
Short_t Max(Short_t a, Short_t b)
Definition: TMathBase.h:212
ROOT::Experimental::REveProjection::GetMaxTrackStep
Float_t GetMaxTrackStep() const
Definition: REveProjections.hxx:128
ROOT::Experimental::REve3DProjection::~REve3DProjection
virtual ~REve3DProjection()
Definition: REveProjections.hxx:202
ROOT::Experimental::REveProjection::EGeoMode_e
EGeoMode_e
Definition: REveProjections.hxx:34
ROOT::Experimental::REveProjection::GetType
EPType_e GetType() const
Definition: REveProjections.hxx:104
ROOT::Experimental::REveProjection::GetPastFixZFac
Float_t GetPastFixZFac() const
Definition: REveProjections.hxx:125
ROOT::Experimental::REveProjection::fMaxTrackStep
Float_t fMaxTrackStep
Definition: REveProjections.hxx:72
ROOT::Experimental::REveProjection::AddPreScaleEntry
void AddPreScaleEntry(Int_t coord, Float_t max_val, Float_t scale)
Add new scaling range for given coordinate.
Definition: REveProjections.cxx:180
ROOT::Experimental::REveProjection::AcceptSegment
virtual Bool_t AcceptSegment(REveVector &, REveVector &, Float_t) const
Definition: REveProjections.hxx:132
ROOT::Experimental::REveProjection::GetFixZ
Float_t GetFixZ() const
Definition: REveProjections.hxx:121
ROOT::Experimental::REveProjection::PreScaleEntry_t::PreScaleEntry_t
PreScaleEntry_t()=default
Float_t
float Float_t
Definition: RtypesCore.h:57
ROOT::Experimental::REveRhoZProjection
Definition: REveProjections.hxx:155
ROOT::Experimental::REve3DProjection::Is3D
Bool_t Is3D() const override
Definition: REveProjections.hxx:205
ROOT::Experimental::REveProjection::SetDistortion
void SetDistortion(Float_t d)
Set distortion.
Definition: REveProjections.cxx:258
ROOT::Experimental::REveProjection::EPType_e
EPType_e
Definition: REveProjections.hxx:32
Int_t
int Int_t
Definition: RtypesCore.h:45
ROOT::Experimental::REveProjection::fFixR
Float_t fFixR
Definition: REveProjections.hxx:64
ROOT::Experimental::REveRhoZProjection::fProjectedCenter
REveVector fProjectedCenter
Definition: REveProjections.hxx:157
ROOT::Experimental::REveProjection::fDisplaceOrigin
bool fDisplaceOrigin
Definition: REveProjections.hxx:58
x
Double_t x[n]
Definition: legend1.C:17
ROOT::Experimental::REveProjection::GetProjectedCenter
virtual Float_t * GetProjectedCenter()
Get projected center.
Definition: REveProjections.cxx:299
ROOT::Experimental::REveProjection::SetType
void SetType(EPType_e t)
Definition: REveProjections.hxx:103
ROOT::Experimental::REveTrans
Definition: REveTrans.hxx:30
ROOT::Experimental::REveRhoZProjection::Is3D
Bool_t Is3D() const override
Definition: REveProjections.hxx:164
ROOT::Experimental::REveProjection::fType
EPType_e fType
Definition: REveProjections.hxx:52
ROOT::Experimental::REveProjection::SetPastFixRFac
void SetPastFixRFac(Float_t x)
Set 2's-exponent for relative scaling beyond FixR.
Definition: REveProjections.cxx:290
ROOT::Experimental::REveVectorT< Float_t >
ROOT::Experimental::REveProjection::GetName
const char * GetName() const
Definition: REveProjections.hxx:93
ROOT::Experimental::REveProjection::kPT_3D
@ kPT_3D
Definition: REveProjections.hxx:32
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
ROOT::Experimental::REveProjection::kGM_Polygons
@ kGM_Polygons
Definition: REveProjections.hxx:34
v
@ v
Definition: rootcling_impl.cxx:3635
ROOT::Experimental::REveProjection::fPastFixRScale
Float_t fPastFixRScale
Definition: REveProjections.hxx:70
bool
ROOT::Experimental::REveProjection::kGM_Segments
@ kGM_Segments
Definition: REveProjections.hxx:34
ROOT::Experimental::REveProjection::GetPastFixRFac
Float_t GetPastFixRFac() const
Definition: REveProjections.hxx:124
ROOT::Experimental::REveProjection::kPP_Distort
@ kPP_Distort
Definition: REveProjections.hxx:33
ROOT::Experimental::REveProjection
REveProjection Base for specific classes that implement non-linear projections.
Definition: REveProjections.hxx:30
ROOT::Experimental::REveProjection::PreScaleEntry_t::fMax
Float_t fMax
Definition: REveProjections.hxx:37
ROOT::Experimental::REveProjection::GetLimit
Float_t GetLimit(Int_t i, Bool_t pos)
ROOT::Experimental::REveProjection::fPastFixRFac
Float_t fPastFixRFac
Definition: REveProjections.hxx:66
ROOT::Experimental::REveProjection::fgEpsSqr
static Float_t fgEpsSqr
Definition: REveProjections.hxx:147
ROOT::Experimental::REveProjection::SetFixZ
void SetFixZ(Float_t x)
Set fixed radius.
Definition: REveProjections.cxx:280
ROOT::Experimental::REveProjection::kPT_Unknown
@ kPT_Unknown
Definition: REveProjections.hxx:32
ROOT::Experimental::REveProjection::SetDisplaceOrigin
void SetDisplaceOrigin(bool)
Set flag to displace for center.
Definition: REveProjections.cxx:315
ROOT::Experimental::REveRPhiProjection::REveRPhiProjection
REveRPhiProjection()
Constructor.
Definition: REveProjections.cxx:691
ROOT::Experimental::REveProjection::SetCenter
virtual void SetCenter(REveVector &v)
Definition: REveProjections.hxx:97
ROOT::Experimental::REve3DProjection::ProjectPoint
void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc=kPP_Full) override
Project point.
Definition: REveProjections.cxx:773
ROOT::Experimental::REveProjection::kPT_End
@ kPT_End
Definition: REveProjections.hxx:32
ROOT::Experimental::REveProjection::PreScaleEntry_t::fOffset
Float_t fOffset
Definition: REveProjections.hxx:38
ROOT::Experimental::REveProjection::~REveProjection
virtual ~REveProjection()
Definition: REveProjections.hxx:78
ROOT::Experimental::REveRhoZProjection::IsOnSubSpaceBoundrary
Bool_t IsOnSubSpaceBoundrary(const REveVector &v) const override
Checks if point is on sub-space boundary.
Definition: REveProjections.cxx:678
ROOT::Experimental::REveRhoZProjection::ProjectPoint
void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc=kPP_Full) override
Project point.
Definition: REveProjections.cxx:550
ROOT::Experimental::REveRhoZProjection::GetProjectedCenter
Float_t * GetProjectedCenter() override
Get projected center.
Definition: REveProjections.hxx:169
ROOT::Experimental::REveProjection::SetGeoMode
void SetGeoMode(EGeoMode_e m)
Definition: REveProjections.hxx:106
ROOT::Experimental::REveProjection::fScaleR
Float_t fScaleR
Definition: REveProjections.hxx:68
ROOT::Experimental::REveProjection::PreScaleEntry_t::fMin
Float_t fMin
Definition: REveProjections.hxx:37
ROOT::Experimental::REveRhoZProjection::SetDirectionalVector
void SetDirectionalVector(Int_t screenAxis, REveVector &vec) override
Get direction in the unprojected space for axis index in the projected space.
Definition: REveProjections.cxx:626
ROOT::Experimental::REveProjection::GetFixR
Float_t GetFixR() const
Definition: REveProjections.hxx:120
ROOT::Experimental::REveProjection::PreScaleEntry_t::PreScaleEntry_t
PreScaleEntry_t(Float_t min, Float_t max, Float_t off, Float_t scale)
Definition: REveProjections.hxx:43
ROOT::Experimental::REveProjection::fScaleZ
Float_t fScaleZ
Definition: REveProjections.hxx:69
ROOT::Experimental::REveProjection::fPastFixZScale
Float_t fPastFixZScale
Definition: REveProjections.hxx:71
ROOT::Experimental::REveProjection::SetMaxTrackStep
void SetMaxTrackStep(Float_t x)
Definition: REveProjections.hxx:129
ROOT::Experimental::REveProjection::IsOnSubSpaceBoundrary
virtual Bool_t IsOnSubSpaceBoundrary(const REveVector &) const
Definition: REveProjections.hxx:134
ROOT::Experimental::REveProjection::fPreScales
vPreScale_t fPreScales[3]
Definition: REveProjections.hxx:61
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
ROOT::Experimental::REveProjection::GetDistortion
Float_t GetDistortion() const
Definition: REveProjections.hxx:119
ROOT::Experimental::REveProjection::PreScaleVariable
void PreScaleVariable(Int_t dim, Float_t &v)
Pre-scale single variable with pre-scale entry dim.
Definition: REveProjections.cxx:130
ROOT::Experimental::REve3DProjection::Is2D
Bool_t Is2D() const override
Definition: REveProjections.hxx:204
ROOT::Experimental::REveProjection::GetOrthogonalCenter
REveVector GetOrthogonalCenter(int idx, REveVector &out)
Get center ortogonal to given axis index.
Definition: REveProjections.cxx:404
ROOT::Experimental::REveProjection::GetUsePreScale
Bool_t GetUsePreScale() const
Definition: REveProjections.hxx:109
y
Double_t y[n]
Definition: legend1.C:17
ROOT::Experimental::REveProjection::SetName
void SetName(const char *txt)
Definition: REveProjections.hxx:94
ROOT::Experimental::REveProjection::Is3D
virtual Bool_t Is3D() const =0
ROOT::Experimental::REveRPhiProjection::~REveRPhiProjection
virtual ~REveRPhiProjection()
Definition: REveProjections.hxx:186
ROOT::Experimental::REveProjection::SetFixR
void SetFixR(Float_t x)
Set fixed radius.
Definition: REveProjections.cxx:270
ROOT::Experimental::REveProjection::HasSeveralSubSpaces
virtual Bool_t HasSeveralSubSpaces() const
Definition: REveProjections.hxx:131
ROOT::Experimental::REveProjection::SetUsePreScale
void SetUsePreScale(Bool_t x)
Definition: REveProjections.hxx:110
ROOT::Experimental::REveProjection::fPastFixZFac
Float_t fPastFixZFac
Definition: REveProjections.hxx:67
ROOT::Experimental::REveProjection::SetPastFixZFac
void SetPastFixZFac(Float_t x)
Set 2's-exponent for relative scaling beyond FixZ.
Definition: REveProjections.cxx:325
ROOT::Experimental::REve3DProjection
Definition: REveProjections.hxx:199
ROOT::Experimental::REveProjection::REveProjection
REveProjection()
Constructor.
Definition: REveProjections.cxx:36
ROOT::Experimental::REveProjection::fDistortion
Float_t fDistortion
Definition: REveProjections.hxx:63
ROOT::Experimental::REveProjection::kPP_Full
@ kPP_Full
Definition: REveProjections.hxx:33
ROOT::Experimental::REveProjection::kPT_RhoZ
@ kPT_RhoZ
Definition: REveProjections.hxx:32
ROOT::Experimental::REveProjection::fFixZ
Float_t fFixZ
Definition: REveProjections.hxx:65
ROOT::Experimental::REveProjection::kPP_Plane
@ kPP_Plane
Definition: REveProjections.hxx:33
ROOT::Experimental::REveProjection::fName
std::string fName
Definition: REveProjections.hxx:54
v1
@ v1
Definition: rootcling_impl.cxx:3637
Double_t
double Double_t
Definition: RtypesCore.h:59
ROOT::Experimental::REveProjection::SubSpaceId
virtual Int_t SubSpaceId(const REveVector &) const
Definition: REveProjections.hxx:133
ROOT::Experimental::REveProjection::GetValForScreenPos
virtual Float_t GetValForScreenPos(Int_t ax, Float_t value)
Inverse projection.
Definition: REveProjections.cxx:420
ROOT::Experimental::REveRPhiProjection::ProjectPoint
void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc=kPP_Full) override
Project point.
Definition: REveProjections.cxx:702
ROOT::Experimental::REveProjection::RefCenter
const REveVector & RefCenter() const
Definition: REveProjections.hxx:96
ROOT::Experimental::REveRhoZProjection::SubSpaceId
Int_t SubSpaceId(const REveVector &v) const override
Return sub-space id for the point.
Definition: REveProjections.cxx:670
ROOT::Experimental::REveProjection::PreScalePoint
void PreScalePoint(Float_t &x, Float_t &y)
Pre-scale point (x, y) in projected coordinates for 2D projections:
Definition: REveProjections.cxx:153
v2
@ v2
Definition: rootcling_impl.cxx:3638
ROOT::Experimental::REveProjection::fgEps
static Float_t fgEps
Definition: REveProjections.hxx:146
ROOT::Experimental::REveVectorT::Arr
const TT * Arr() const
Definition: REveVector.hxx:56
ROOT::Experimental::REveRhoZProjection::SetCenter
void SetCenter(REveVector &v) override
Set center of distortion (virtual method).
Definition: REveProjections.cxx:604
ROOT::Experimental::REveProjection::GetScreenVal
virtual Float_t GetScreenVal(Int_t ax, Float_t value)
Project point on given axis and return projected value.
Definition: REveProjections.cxx:522
REveVector.hxx
ROOT::Experimental::REveRhoZProjection::REveRhoZProjection
REveRhoZProjection()
Constructor.
Definition: REveProjections.cxx:540
ROOT::Experimental::REveProjection::fGeoMode
EGeoMode_e fGeoMode
Definition: REveProjections.hxx:53
d
#define d(i)
Definition: RSha256.hxx:102
ROOT::Experimental::REveProjection::PreScaleEntry_t::fScale
Float_t fScale
Definition: REveProjections.hxx:39
ROOT::Experimental::REveProjection::vPreScale_t
std::vector< PreScaleEntry_t > vPreScale_t
Definition: REveProjections.hxx:49
ROOT::Experimental::REveProjection::PreScaleEntry_t
Definition: REveProjections.hxx:36
ROOT::Experimental::REveProjection::kGM_Unknown
@ kGM_Unknown
Definition: REveProjections.hxx:34
ROOT::Experimental::REveRhoZProjection::~REveRhoZProjection
virtual ~REveRhoZProjection()
Definition: REveProjections.hxx:161
ROOT::Experimental::REveRPhiProjection
Definition: REveProjections.hxx:183
ROOT::Experimental::REveProjection::GetDisplaceOrigin
Bool_t GetDisplaceOrigin() const
Definition: REveProjections.hxx:101
ROOT::Experimental::REveRPhiProjection::Is3D
Bool_t Is3D() const override
Definition: REveProjections.hxx:189
ROOT::Experimental::REveRhoZProjection::Is2D
Bool_t Is2D() const override
Definition: REveProjections.hxx:163
ROOT::Experimental::REveProjection::GetGeoMode
EGeoMode_e GetGeoMode() const
Definition: REveProjections.hxx:107
ROOT::Experimental::REveProjection::fCenter
REveVector fCenter
Definition: REveProjections.hxx:56
ROOT::Experimental::REve3DProjection::REve3DProjection
REve3DProjection()
Constructor.
Definition: REveProjections.cxx:762
ROOT
VSD Structures.
Definition: StringConv.hxx:21
ROOT::Experimental::REveProjection::ChangePreScaleEntry
void ChangePreScaleEntry(Int_t coord, Int_t entry, Float_t new_scale)
Change scale for given entry and coordinate.
Definition: REveProjections.cxx:222
ROOT::Experimental::REveProjection::EPProc_e
EPProc_e
Definition: REveProjections.hxx:33
ROOT::Experimental::REveRhoZProjection::AcceptSegment
Bool_t AcceptSegment(REveVector &v1, REveVector &v2, Float_t tolerance) const override
Check if segment of two projected points is valid.
Definition: REveProjections.cxx:641
ROOT::Experimental::REveRPhiProjection::Is2D
Bool_t Is2D() const override
Definition: REveProjections.hxx:188
ROOT::Experimental::REveProjection::ProjectPointdv
void ProjectPointdv(Double_t *v, Float_t d)
Project double array.
Definition: REveProjections.cxx:64
ROOT::Experimental::REveProjection::ProjectPointfv
void ProjectPointfv(Float_t *v, Float_t d)
Project float array.
Definition: REveProjections.cxx:55
int
ROOT::Experimental::REveProjection::SetDirectionalVector
virtual void SetDirectionalVector(Int_t screenAxis, REveVector &vec)
Get vector for axis in a projected space.
Definition: REveProjections.cxx:393