12 #ifndef ROOT_TEveProjections
13 #define ROOT_TEveProjections
224 #define TEVEPROJECTIONS_DISPLACE_ORIGIN_MODE
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
ClassDef(TEveRhoZProjection, 0)
TEve3DProjection()
Constructor.
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
PreScaleEntry_t(Float_t min, Float_t max, Float_t off, Float_t scale)
virtual void SetDirectionalVector(Int_t screenAxis, TEveVector &vec)
Get vector for axis in a projected space.
void SetName(const Char_t *txt)
virtual Int_t SubSpaceId(const TEveVector &) const
vPreScale_t fPreScales[3]
virtual void SetCenter(TEveVector &v)
Set center of distortion (virtual method).
void ClearPreScales()
Clear all pre-scaling information.
virtual Int_t SubSpaceId(const TEveVector &v) const
Return sub-space id for the point.
virtual void SetDirectionalVector(Int_t screenAxis, TEveVector &vec)
Get direction in the unprojected space for axis index in the projected space.
Float_t GetLimit(Int_t i, Bool_t pos)
Method previously used by TEveProjectionAxesGL. Now obsolete.
virtual Bool_t IsOnSubSpaceBoundrary(const TEveVector &) const
virtual Bool_t Is2D() const =0
virtual Bool_t IsOnSubSpaceBoundrary(const TEveVector &v) const
Checks if point is on sub-space boundary.
void ProjectPointdv(Double_t *v, Float_t d)
Project double array.
virtual void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc=kPP_Full)
Project point.
std::vector< PreScaleEntry_t >::iterator vPreScale_i
Float_t GetPastFixZFac() const
virtual Bool_t HasSeveralSubSpaces() const
virtual Float_t GetScreenVal(Int_t ax, Float_t value)
Project point on given axis and return projected value.
virtual ~TEveRPhiProjection()
virtual void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc=kPP_Full)
Project point.
void SetUsePreScale(Bool_t x)
TEveRPhiProjection()
Constructor.
virtual ~TEveProjection()
void SetGeoMode(EGeoMode_e m)
virtual Bool_t Is2D() const
const char * Data() const
ClassDef(PreScaleEntry_t, 0)
virtual void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e p=kPP_Full)=0
virtual Bool_t AcceptSegment(TEveVector &v1, TEveVector &v2, Float_t tolerance) const
Check if segment of two projected points is valid.
XY projection with distortion around given center.
Bool_t GetDisplaceOrigin() const
Bool_t GetUsePreScale() const
void PreScalePoint(Float_t &x, Float_t &y)
Pre-scale point (x, y) in projected coordinates for 2D projections:
void SetMaxTrackStep(Float_t x)
void ProjectVector(TEveVector &v, Float_t d)
Project TEveVector.
Base-class for non-linear projections.
std::vector< PreScaleEntry_t > vPreScale_t
TEveVector fProjectedCenter
void SetFixR(Float_t x)
Set fixed radius.
virtual ~PreScaleEntry_t()
virtual Bool_t Is3D() const
virtual Bool_t Is2D() const
virtual ~TEveRhoZProjection()
void SetFixZ(Float_t x)
Set fixed radius.
TEveProjection()
Constructor.
EGeoMode_e GetGeoMode() const
Float_t GetMaxTrackStep() const
void SetPastFixRFac(Float_t x)
Set 2's-exponent for relative scaling beyond FixR.
virtual Bool_t Is2D() const
virtual Float_t GetValForScreenPos(Int_t ax, Float_t value)
Inverse projection.
virtual void BisectBreakPoint(TEveVector &vL, TEveVector &vR, Float_t eps_sqr)
Find break-point on both sides of the discontinuity.
ClassDef(TEveRPhiProjection, 0)
const Char_t * GetName() const
void ProjectPointfv(Float_t *v, Float_t d)
Project float array.
virtual Bool_t Is3D() const =0
void SetDisplaceOrigin(bool)
Set flag to displace for center.
virtual Float_t * GetProjectedCenter()
Get projected center.
virtual Float_t * GetProjectedCenter()
Get projected center.
ClassDef(TEveProjection, 0)
virtual void SetCenter(TEveVector &v)
void SetDistortion(Float_t d)
Set distortion.
ClassDef(TEve3DProjection, 0)
virtual void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc=kPP_Full)
Project point.
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
TEveVector GetOrthogonalCenter(int idx, TEveVector &out)
Get center ortogonal to given axis index.
Float_t GetDistortion() const
virtual Bool_t AcceptSegment(TEveVector &, TEveVector &, Float_t) const
Short_t Max(Short_t a, Short_t b)
virtual ~TEve3DProjection()
void PreScaleVariable(Int_t dim, Float_t &v)
Pre-scale single variable with pre-scale entry dim.
virtual Bool_t Is3D() const
void ChangePreScaleEntry(Int_t coord, Int_t entry, Float_t new_scale)
Change scale for given entry and coordinate.
TEveRhoZProjection()
Constructor.
virtual Bool_t HasSeveralSubSpaces() const
void SetPastFixZFac(Float_t x)
Set 2's-exponent for relative scaling beyond FixZ.
Float_t GetPastFixRFac() const
Transformation from 3D to 2D.
virtual Bool_t Is3D() const
void AddPreScaleEntry(Int_t coord, Float_t max_val, Float_t scale)
Add new scaling range for given coordinate.
const TEveVector & RefCenter() const