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