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 160 of file TEveProjections.h.
Public Member Functions | |
TEveRhoZProjection () | |
Constructor. | |
virtual | ~TEveRhoZProjection () |
virtual Bool_t | AcceptSegment (TEveVector &v1, TEveVector &v2, Float_t tolerance) const |
Check if segment of two projected points is valid. | |
virtual Float_t * | GetProjectedCenter () |
Get projected center. | |
virtual Bool_t | HasSeveralSubSpaces () const |
virtual Bool_t | Is2D () const |
virtual Bool_t | Is3D () const |
virtual Bool_t | IsOnSubSpaceBoundrary (const TEveVector &v) const |
Checks if point is on sub-space boundary. | |
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). | |
virtual void | SetDirectionalVector (Int_t screenAxis, TEveVector &vec) |
Get direction in the unprojected space for axis index in the projected space. | |
virtual Int_t | SubSpaceId (const TEveVector &v) const |
Return sub-space id for the point. | |
Public Member Functions inherited from TEveProjection | |
TEveProjection () | |
Constructor. | |
virtual | ~TEveProjection () |
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_t * | GetName () 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. | |
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 TEveVector & | RefCenter () 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) |
Private Attributes | |
TEveVector | fProjectedCenter |
#include <TEveProjections.h>
TEveRhoZProjection::TEveRhoZProjection | ( | ) |
Constructor.
Definition at line 552 of file TEveProjections.cxx.
|
inlinevirtual |
Definition at line 167 of file TEveProjections.h.
|
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 652 of file TEveProjections.cxx.
|
inlinevirtual |
Get projected center.
Reimplemented from TEveProjection.
Definition at line 175 of file TEveProjections.h.
|
inlinevirtual |
Reimplemented from TEveProjection.
Definition at line 177 of file TEveProjections.h.
|
inlinevirtual |
Implements TEveProjection.
Definition at line 169 of file TEveProjections.h.
|
inlinevirtual |
Implements TEveProjection.
Definition at line 170 of file TEveProjections.h.
|
virtual |
Checks if point is on sub-space boundary.
Reimplemented from TEveProjection.
Definition at line 689 of file TEveProjections.cxx.
|
virtual |
Set center of distortion (virtual method).
Reimplemented from TEveProjection.
Definition at line 615 of file TEveProjections.cxx.
|
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 637 of file TEveProjections.cxx.
|
virtual |
Return sub-space id for the point.
0 - upper half-space 1 - lower half-space
Reimplemented from TEveProjection.
Definition at line 681 of file TEveProjections.cxx.
|
private |
Definition at line 163 of file TEveProjections.h.