ROOT  6.06/09
Reference Guide
Public Member Functions | Private Attributes | List of all members
TEveRhoZProjection Class Reference

Transformation from 3D to 2D.

X axis represent Z coordinate. Y axis have value of radius with a sign of Y coordinate.

Definition at line 159 of file TEveProjections.h.

Public Member Functions

 TEveRhoZProjection ()
 Constructor. More...
 
virtual ~TEveRhoZProjection ()
 
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...
 
virtual void SetCenter (TEveVector &v)
 Set center of distortion (virtual method). More...
 
virtual Float_tGetProjectedCenter ()
 Get projected center. More...
 
virtual Bool_t HasSeveralSubSpaces () const
 
virtual Bool_t AcceptSegment (TEveVector &v1, TEveVector &v2, Float_t tolerance) const
 Check if segment of two projected points is valid. More...
 
virtual Int_t SubSpaceId (const TEveVector &v) const
 Return sub-space id for the point. More...
 
virtual Bool_t IsOnSubSpaceBoundrary (const TEveVector &v) const
 Checks if point is on sub-space boundary. More...
 
virtual void SetDirectionalVector (Int_t screenAxis, TEveVector &vec)
 Get direction in the unprojected space for axis index in the projected space. More...
 
 ClassDef (TEveRhoZProjection, 0)
 
- Public Member Functions inherited from TEveProjection
 TEveProjection ()
 Constructor. More...
 
virtual ~TEveProjection ()
 
void ProjectPointfv (Float_t *v, Float_t d)
 Project float array. More...
 
void ProjectPointdv (Double_t *v, Float_t d)
 Project double array. More...
 
void ProjectVector (TEveVector &v, Float_t d)
 Project TEveVector. 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 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 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 Char_tGetName () const
 
void SetName (const Char_t *txt)
 
const TEveVectorRefCenter () const
 
void SetDisplaceOrigin (bool)
 Set flag to displace for center. More...
 
Bool_t GetDisplaceOrigin () const
 
void SetType (EPType_e t)
 
EPType_e GetType () const
 
void SetGeoMode (EGeoMode_e m)
 
EGeoMode_e GetGeoMode () const
 
Bool_t GetUsePreScale () const
 
void SetUsePreScale (Bool_t x)
 
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 AddPreScaleEntry (Int_t coord, Float_t max_val, Float_t scale)
 Add new scaling range for given coordinate. 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...
 
void SetDistortion (Float_t d)
 Set distortion. More...
 
Float_t GetDistortion () const
 
Float_t GetFixR () const
 
Float_t GetFixZ () const
 
void SetFixR (Float_t x)
 Set fixed radius. More...
 
void SetFixZ (Float_t x)
 Set fixed radius. More...
 
Float_t GetPastFixRFac () const
 
Float_t GetPastFixZFac () const
 
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...
 
Float_t GetMaxTrackStep () const
 
void SetMaxTrackStep (Float_t x)
 
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...
 
TEveVector GetOrthogonalCenter (int idx, TEveVector &out)
 Get center ortogonal to given axis index. More...
 
virtual Float_t GetValForScreenPos (Int_t ax, Float_t value)
 Inverse projection. 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...
 
Float_t GetLimit (Int_t i, Bool_t pos)
 Method previously used by TEveProjectionAxesGL. Now obsolete. More...
 
 ClassDef (TEveProjection, 0)
 

Private Attributes

TEveVector fProjectedCenter
 

Additional Inherited Members

- Public Types inherited from TEveProjection
enum  EPType_e {
  kPT_Unknown, kPT_RPhi, kPT_RhoZ, kPT_3D,
  kPT_End
}
 
enum  EPProc_e { kPP_Plane, kPP_Distort, kPP_Full }
 
enum  EGeoMode_e { kGM_Unknown, kGM_Polygons, kGM_Segments }
 
typedef std::vector< PreScaleEntry_tvPreScale_t
 
typedef std::vector< PreScaleEntry_t >::iterator vPreScale_i
 
- 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
EPType_e fType
 
EGeoMode_e fGeoMode
 
TString fName
 
TEveVector fCenter
 
bool fDisplaceOrigin
 
Bool_t fUsePreScale
 
vPreScale_t fPreScales [3]
 
Float_t fDistortion
 
Float_t fFixR
 
Float_t fFixZ
 
Float_t fPastFixRFac
 
Float_t fPastFixZFac
 
Float_t fScaleR
 
Float_t fScaleZ
 
Float_t fPastFixRScale
 
Float_t fPastFixZScale
 
Float_t fMaxTrackStep
 

#include <TEveProjections.h>

+ Inheritance diagram for TEveRhoZProjection:
+ Collaboration diagram for TEveRhoZProjection:

Constructor & Destructor Documentation

TEveRhoZProjection::TEveRhoZProjection ( )

Constructor.

Definition at line 552 of file TEveProjections.cxx.

virtual TEveRhoZProjection::~TEveRhoZProjection ( )
inlinevirtual

Definition at line 166 of file TEveProjections.h.

Member Function Documentation

Bool_t TEveRhoZProjection::AcceptSegment ( TEveVector v1,
TEveVector v2,
Float_t  tolerance 
) const
virtual

Check if segment of two projected points is valid.

Move slightly one of the points if by shifting it by no more than tolerance the segment can become acceptable.

Reimplemented from TEveProjection.

Definition at line 653 of file TEveProjections.cxx.

TEveRhoZProjection::ClassDef ( TEveRhoZProjection  ,
 
)
virtual Float_t* TEveRhoZProjection::GetProjectedCenter ( )
inlinevirtual

Get projected center.

Reimplemented from TEveProjection.

Definition at line 174 of file TEveProjections.h.

virtual Bool_t TEveRhoZProjection::HasSeveralSubSpaces ( ) const
inlinevirtual

Reimplemented from TEveProjection.

Definition at line 176 of file TEveProjections.h.

virtual Bool_t TEveRhoZProjection::Is2D ( ) const
inlinevirtual

Implements TEveProjection.

Definition at line 168 of file TEveProjections.h.

virtual Bool_t TEveRhoZProjection::Is3D ( ) const
inlinevirtual

Implements TEveProjection.

Definition at line 169 of file TEveProjections.h.

Bool_t TEveRhoZProjection::IsOnSubSpaceBoundrary ( const TEveVector v) const
virtual

Checks if point is on sub-space boundary.

Reimplemented from TEveProjection.

Definition at line 690 of file TEveProjections.cxx.

void TEveRhoZProjection::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 562 of file TEveProjections.cxx.

void TEveRhoZProjection::SetCenter ( TEveVector v)
virtual

Set center of distortion (virtual method).

Reimplemented from TEveProjection.

Definition at line 616 of file TEveProjections.cxx.

void TEveRhoZProjection::SetDirectionalVector ( Int_t  screenAxis,
TEveVector vec 
)
virtual

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 638 of file TEveProjections.cxx.

Int_t TEveRhoZProjection::SubSpaceId ( const TEveVector v) const
virtual

Return sub-space id for the point.

0 - upper half-space 1 - lower half-space

Reimplemented from TEveProjection.

Definition at line 682 of file TEveProjections.cxx.

Member Data Documentation

TEveVector TEveRhoZProjection::fProjectedCenter
private

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