Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveZXProjection Class Reference

ZX projection with distortion around given center.

Definition at line 264 of file TEveProjections.h.

Public Member Functions

 TEveZXProjection ()
 Constructor.
 
 ~TEveZXProjection () override
 
Float_tGetProjectedCenter () override
 Get projected center.
 
Bool_t Is2D () const override
 
Bool_t Is3D () const override
 
TClassIsA () const override
 
void ProjectPoint (Float_t &x, Float_t &y, Float_t &z, Float_t d, EPProc_e proc=kPP_Full) override
 Project point.
 
void SetCenter (TEveVector &v) override
 Set center of distortion (virtual method).
 
void SetDirectionalVector (Int_t screenAxis, TEveVector &vec) override
 Get direction in the unprojected space for axis index in the projected space.
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TEveProjection
 TEveProjection ()
 Constructor.
 
virtual ~TEveProjection ()
 
virtual Bool_t AcceptSegment (TEveVector &, TEveVector &, Float_t) const
 
void AddPreScaleEntry (Int_t coord, Float_t max_val, Float_t scale)
 Add new scaling range for given coordinate.
 
virtual void BisectBreakPoint (TEveVector &vL, TEveVector &vR, Bool_t project_result=kFALSE, Float_t depth=0)
 Find break-point on both sides of the discontinuity.
 
virtual void BisectBreakPoint (TEveVector &vL, TEveVector &vR, Float_t eps_sqr)
 Find break-point on both sides of the discontinuity.
 
void ChangePreScaleEntry (Int_t coord, Int_t entry, Float_t new_scale)
 Change scale for given entry and coordinate.
 
void ClearPreScales ()
 Clear all pre-scaling information.
 
Bool_t GetDisplaceOrigin () const
 
Float_t GetDistortion () const
 
Float_t GetFixR () const
 
Float_t GetFixZ () const
 
EGeoMode_e GetGeoMode () const
 
Float_t GetLimit (Int_t i, Bool_t pos)
 Method previously used by TEveProjectionAxesGL. Now obsolete.
 
Float_t GetMaxTrackStep () const
 
const Char_tGetName () const
 
TEveVector GetOrthogonalCenter (int idx, TEveVector &out)
 Get center ortogonal to given axis index.
 
Float_t GetPastFixRFac () const
 
Float_t GetPastFixZFac () const
 
virtual Float_t GetScreenVal (Int_t ax, Float_t value)
 Project point on given axis and return projected value.
 
Float_t GetScreenVal (Int_t i, Float_t x, TEveVector &dirVec, TEveVector &oCenter)
 Project point on given axis and return projected value.
 
EPType_e GetType () const
 
Bool_t GetUsePreScale () const
 
virtual Float_t GetValForScreenPos (Int_t ax, Float_t value)
 Inverse projection.
 
virtual Bool_t HasSeveralSubSpaces () const
 
virtual Bool_t IsOnSubSpaceBoundrary (const TEveVector &) const
 
void PreScalePoint (Float_t &x, Float_t &y)
 Pre-scale point (x, y) in projected coordinates for 2D projections:
 
void PreScalePoint (Float_t &x, Float_t &y, Float_t &z)
 Pre-scale point (x, y, z) in projected coordinates for 3D projection.
 
void ProjectPointdv (const TEveTrans *t, const Double_t *p, Double_t *v, Float_t d)
 Project double array, converting it to global coordinate system first if transformation matrix is set.
 
void ProjectPointdv (Double_t *v, Float_t d)
 Project double array.
 
void ProjectPointfv (const TEveTrans *t, const Float_t *p, Float_t *v, Float_t d)
 Project float array, converting it to global coordinate system first if transformation matrix is set.
 
void ProjectPointfv (Float_t *v, Float_t d)
 Project float array.
 
void ProjectVector (const TEveTrans *t, TEveVector &v, Float_t d)
 Project TEveVector, converting it to global coordinate system first if transformation matrix is set.
 
void ProjectVector (TEveVector &v, Float_t d)
 Project TEveVector.
 
const TEveVectorRefCenter () const
 
void SetDisplaceOrigin (bool)
 Set flag to displace for center.
 
void SetDistortion (Float_t d)
 Set distortion.
 
void SetFixR (Float_t x)
 Set fixed radius.
 
void SetFixZ (Float_t x)
 Set fixed radius.
 
void SetGeoMode (EGeoMode_e m)
 
void SetMaxTrackStep (Float_t x)
 
void SetName (const Char_t *txt)
 
void SetPastFixRFac (Float_t x)
 Set 2's-exponent for relative scaling beyond FixR.
 
void SetPastFixZFac (Float_t x)
 Set 2's-exponent for relative scaling beyond FixZ.
 
void SetType (EPType_e t)
 
void SetUsePreScale (Bool_t x)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual Int_t SubSpaceId (const TEveVector &) const
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TEveProjection
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Attributes

TEveVector fProjectedCenter
 

Additional Inherited Members

- Public Types inherited from TEveProjection
enum  EGeoMode_e { kGM_Unknown , kGM_Polygons , kGM_Segments }
 
enum  EPProc_e { kPP_Plane , kPP_Distort , kPP_Full }
 
enum  EPType_e {
  kPT_Unknown , kPT_RhoZ , kPT_RPhi , kPT_XZ ,
  kPT_YZ , kPT_ZX , kPT_ZY , kPT_3D ,
  kPT_End
}
 
typedef std::vector< PreScaleEntry_t >::iterator vPreScale_i
 
typedef std::vector< PreScaleEntry_tvPreScale_t
 
- Static Public Attributes inherited from TEveProjection
static Float_t fgEps = 0.005f
 
static Float_t fgEpsSqr = 0.000025f
 
- Protected Member Functions inherited from TEveProjection
void PreScaleVariable (Int_t dim, Float_t &v)
 Pre-scale single variable with pre-scale entry dim.
 
- Protected Attributes inherited from TEveProjection
TEveVector fCenter
 
bool fDisplaceOrigin
 
Float_t fDistortion
 
Float_t fFixR
 
Float_t fFixZ
 
EGeoMode_e fGeoMode
 
Float_t fMaxTrackStep
 
TString fName
 
Float_t fPastFixRFac
 
Float_t fPastFixRScale
 
Float_t fPastFixZFac
 
Float_t fPastFixZScale
 
vPreScale_t fPreScales [3]
 
Float_t fScaleR
 
Float_t fScaleZ
 
EPType_e fType
 
Bool_t fUsePreScale
 

#include <TEveProjections.h>

Inheritance diagram for TEveZXProjection:
[legend]

Constructor & Destructor Documentation

◆ TEveZXProjection()

TEveZXProjection::TEveZXProjection ( )

Constructor.

Definition at line 1001 of file TEveProjections.cxx.

◆ ~TEveZXProjection()

TEveZXProjection::~TEveZXProjection ( )
inlineoverride

Definition at line 271 of file TEveProjections.h.

Member Function Documentation

◆ Class()

static TClass * TEveZXProjection::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TEveZXProjection::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TEveZXProjection::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 283 of file TEveProjections.h.

◆ DeclFileName()

static const char * TEveZXProjection::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 283 of file TEveProjections.h.

◆ GetProjectedCenter()

Float_t * TEveZXProjection::GetProjectedCenter ( )
inlineoverridevirtual

Get projected center.

Reimplemented from TEveProjection.

Definition at line 279 of file TEveProjections.h.

◆ Is2D()

Bool_t TEveZXProjection::Is2D ( ) const
inlineoverridevirtual

Implements TEveProjection.

Definition at line 273 of file TEveProjections.h.

◆ Is3D()

Bool_t TEveZXProjection::Is3D ( ) const
inlineoverridevirtual

Implements TEveProjection.

Definition at line 274 of file TEveProjections.h.

◆ IsA()

TClass * TEveZXProjection::IsA ( ) const
inlineoverridevirtual
Returns
TClass describing current object

Reimplemented from TEveProjection.

Definition at line 283 of file TEveProjections.h.

◆ ProjectPoint()

void TEveZXProjection::ProjectPoint ( Float_t x,
Float_t y,
Float_t z,
Float_t  d,
EPProc_e  proc = kPP_Full 
)
overridevirtual

Project point.

Implements TEveProjection.

Definition at line 1012 of file TEveProjections.cxx.

◆ SetCenter()

void TEveZXProjection::SetCenter ( TEveVector v)
overridevirtual

Set center of distortion (virtual method).

Reimplemented from TEveProjection.

Definition at line 1073 of file TEveProjections.cxx.

◆ SetDirectionalVector()

void TEveZXProjection::SetDirectionalVector ( Int_t  screenAxis,
TEveVector vec 
)
overridevirtual

Get direction in the unprojected space for axis index in the projected space.

This is virtual method from base-class TEveProjection.

Reimplemented from TEveProjection.

Definition at line 1094 of file TEveProjections.cxx.

◆ Streamer()

void TEveZXProjection::Streamer ( TBuffer )
overridevirtual

Reimplemented from TEveProjection.

◆ StreamerNVirtual()

void TEveZXProjection::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 283 of file TEveProjections.h.

Member Data Documentation

◆ fProjectedCenter

TEveVector TEveZXProjection::fProjectedCenter
private

Definition at line 267 of file TEveProjections.h.

Libraries for TEveZXProjection:

The documentation for this class was generated from the following files: