12 #ifndef ROOT_TEveProjections 13 #define ROOT_TEveProjections 40 fMin(0), fMax(0), fOffset(0), fScale(1) {}
42 fMin(min), fMax(max), fOffset(off), fScale(scale) {}
224 #define TEVEPROJECTIONS_DISPLACE_ORIGIN_MODE TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
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)
vPreScale_t fPreScales[3]
void ClearPreScales()
Clear all pre-scaling information.
Float_t GetLimit(Int_t i, Bool_t pos)
Method previously used by TEveProjectionAxesGL. Now obsolete.
virtual Bool_t Is2D() const =0
void ProjectPointdv(Double_t *v, Float_t d)
Project double array.
std::vector< PreScaleEntry_t >::iterator vPreScale_i
virtual Float_t GetScreenVal(Int_t ax, Float_t value)
Project point on given axis and return projected value.
virtual Bool_t AcceptSegment(TEveVector &, TEveVector &, Float_t) const
virtual ~TEveRPhiProjection()
void SetUsePreScale(Bool_t x)
virtual ~TEveProjection()
void SetGeoMode(EGeoMode_e m)
virtual Int_t SubSpaceId(const TEveVector &) const
virtual Bool_t Is3D() const
virtual Bool_t HasSeveralSubSpaces() const
const TEveVector & RefCenter() const
virtual Bool_t HasSeveralSubSpaces() const
virtual void ProjectPoint(Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e p=kPP_Full)=0
#define ClassDef(name, id)
Float_t GetDistortion() const
XY projection with distortion around given center.
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()
Float_t GetPastFixZFac() const
virtual Bool_t IsOnSubSpaceBoundrary(const TEveVector &) const
virtual ~TEveRhoZProjection()
void SetFixZ(Float_t x)
Set fixed radius.
TEveProjection()
Constructor.
Float_t GetPastFixRFac() const
const Char_t * GetName() const
virtual Bool_t Is3D() const
void SetPastFixRFac(Float_t x)
Set 2's-exponent for relative scaling beyond FixR.
virtual Float_t GetValForScreenPos(Int_t ax, Float_t value)
Inverse projection.
Bool_t GetUsePreScale() const
virtual void BisectBreakPoint(TEveVector &vL, TEveVector &vR, Float_t eps_sqr)
Find break-point on both sides of the discontinuity.
void ProjectPointfv(Float_t *v, Float_t d)
Project float array.
EGeoMode_e GetGeoMode() const
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.
virtual void SetCenter(TEveVector &v)
void SetDistortion(Float_t d)
Set distortion.
virtual Bool_t Is2D() const
virtual Bool_t Is2D() const
TEveVector GetOrthogonalCenter(int idx, TEveVector &out)
Get center ortogonal to given axis index.
you should not use this method at all Int_t Int_t z
virtual Bool_t Is3D() const
Short_t Max(Short_t a, Short_t b)
virtual ~TEve3DProjection()
Bool_t GetDisplaceOrigin() const
Float_t GetMaxTrackStep() const
void PreScaleVariable(Int_t dim, Float_t &v)
Pre-scale single variable with pre-scale entry dim.
void ChangePreScaleEntry(Int_t coord, Int_t entry, Float_t new_scale)
Change scale for given entry and coordinate.
void SetPastFixZFac(Float_t x)
Set 2's-exponent for relative scaling beyond FixZ.
Transformation from 3D to 2D.
virtual Bool_t Is2D() const
void AddPreScaleEntry(Int_t coord, Float_t max_val, Float_t scale)
Add new scaling range for given coordinate.
const char * Data() const