Logo ROOT   6.12/07
Reference Guide
List of all members | Public Member Functions | List of all members
TEve3DProjection Class Reference

3D scaling projection.

One has to use pre-scaling to make any ise of this.

Definition at line 209 of file TEveProjections.h.

Public Member Functions

 TEve3DProjection ()
 Constructor. More...
 
virtual ~TEve3DProjection ()
 
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. More...
 
- Public Member Functions inherited from TEveProjection
 TEveProjection ()
 Constructor. More...
 
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. More...
 
virtual void BisectBreakPoint (TEveVector &vL, TEveVector &vR, Float_t eps_sqr)
 Find break-point on both sides of the discontinuity. More...
 
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. More...
 
void ChangePreScaleEntry (Int_t coord, Int_t entry, Float_t new_scale)
 Change scale for given entry and coordinate. More...
 
void ClearPreScales ()
 Clear all pre-scaling information. More...
 
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. More...
 
Float_t GetMaxTrackStep () const
 
const Char_tGetName () const
 
TEveVector GetOrthogonalCenter (int idx, TEveVector &out)
 Get center ortogonal to given axis index. More...
 
Float_t GetPastFixRFac () const
 
Float_t GetPastFixZFac () const
 
virtual Float_tGetProjectedCenter ()
 Get projected center. More...
 
virtual Float_t GetScreenVal (Int_t ax, Float_t value)
 Project point on given axis and return projected value. More...
 
Float_t GetScreenVal (Int_t i, Float_t x, TEveVector &dirVec, TEveVector &oCenter)
 Project point on given axis and return projected value. More...
 
EPType_e GetType () const
 
Bool_t GetUsePreScale () const
 
virtual Float_t GetValForScreenPos (Int_t ax, Float_t value)
 Inverse projection. More...
 
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: More...
 
void PreScalePoint (Float_t &x, Float_t &y, Float_t &z)
 Pre-scale point (x, y, z) in projected coordinates for 3D projection. More...
 
void ProjectPointdv (Double_t *v, Float_t d)
 Project double array. More...
 
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. More...
 
void ProjectPointfv (Float_t *v, Float_t d)
 Project float array. More...
 
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. More...
 
void ProjectVector (TEveVector &v, Float_t d)
 Project TEveVector. More...
 
void ProjectVector (const TEveTrans *t, TEveVector &v, Float_t d)
 Project TEveVector, converting it to global coordinate system first if transformation matrix is set. More...
 
const TEveVectorRefCenter () const
 
virtual void SetCenter (TEveVector &v)
 
virtual void SetDirectionalVector (Int_t screenAxis, TEveVector &vec)
 Get vector for axis in a projected space. More...
 
void SetDisplaceOrigin (bool)
 Set flag to displace for center. More...
 
void SetDistortion (Float_t d)
 Set distortion. More...
 
void SetFixR (Float_t x)
 Set fixed radius. More...
 
void SetFixZ (Float_t x)
 Set fixed radius. More...
 
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. More...
 
void SetPastFixZFac (Float_t x)
 Set 2's-exponent for relative scaling beyond FixZ. More...
 
void SetType (EPType_e t)
 
void SetUsePreScale (Bool_t x)
 
virtual Int_t SubSpaceId (const TEveVector &) const
 

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_RPhi, kPT_RhoZ, 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. More...
 
- 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 TEve3DProjection:
[legend]

Constructor & Destructor Documentation

◆ TEve3DProjection()

TEve3DProjection::TEve3DProjection ( )

Constructor.

Definition at line 778 of file TEveProjections.cxx.

◆ ~TEve3DProjection()

virtual TEve3DProjection::~TEve3DProjection ( )
inlinevirtual

Definition at line 213 of file TEveProjections.h.

Member Function Documentation

◆ Is2D()

virtual Bool_t TEve3DProjection::Is2D ( ) const
inlinevirtual

Implements TEveProjection.

Definition at line 215 of file TEveProjections.h.

◆ Is3D()

virtual Bool_t TEve3DProjection::Is3D ( ) const
inlinevirtual

Implements TEveProjection.

Definition at line 216 of file TEveProjections.h.

◆ ProjectPoint()

void TEve3DProjection::ProjectPoint ( Float_t x,
Float_t y,
Float_t z,
Float_t  d,
EPProc_e  proc = kPP_Full 
)
virtual

Project point.

Implements TEveProjection.

Definition at line 789 of file TEveProjections.cxx.

Libraries for TEve3DProjection:
[legend]

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