139 std::pair<Bool_t, TGLVertex3> intersection;
void SetAligned(const TGLVertex3 &lowVertex, const TGLVertex3 &highVertex)
Set ALIGNED box from two low/high vertices.
TGLVertex3 Center() const
A base class of TGLEventHandler.
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
TGLVector3 Extents() const
16 component (4x4) transform matrix - column MAJOR as per GL.
const TGLMatrix & GetCamTrans() const
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Perspective projection camera - with characteristic foreshortening.
TEveLegoEventHandler(const TEveLegoEventHandler &)
TGLCamera & CurrentCamera() const
void Transform(const TGLMatrix &matrix)
Transform all vertices with matrix.
3 component (x/y/z) vertex class.
void Sort(Index n, const Element *a, Index *index, Bool_t down=kTRUE)
virtual Bool_t Rotate(Int_t xDelta, Int_t yDelta, Bool_t mod1, Bool_t mod2)
Rotate the camera round view volume center established in Setup().
3 component (x/y/z) vector class.
const TGLMatrix & GetCamBase() const
void SetCenterVecWarp(Double_t x, Double_t y, Double_t z)
Set camera center vector and do not keep the same combined camera transformation matrix.
virtual Bool_t HandleKey(Event_t *event)
Virtual from TGLEventHandler.
virtual void Setup(const TGLBoundingBox &box, Bool_t reset=kTRUE)
Setup camera limits suitable to view the world volume defined by 'box' and call Reset() to initialise...
TGLVector3 GetTranslation() const
Return the translation component of matrix.
virtual void Setup(const TGLBoundingBox &box, Bool_t reset=kTRUE)
Setup camera limits suitable to view the world volume defined by 'box' and call Reset() to initialise...
TGLRnrCtx * GetRnrCtx() const
3D space, fixed length, line class, with direction / length 'vector', passing through point 'vertex'...
virtual Bool_t Truck(Int_t xDelta, Int_t yDelta, Bool_t mod1, Bool_t mod2)
Truck the camera - 'move camera parallel to film plane'.
Double_t AdjustDelta(Double_t screenShift, Double_t deltaFactor, Bool_t mod1, Bool_t mod2) const
Adjust a passed screen value and apply modifiers.
virtual Bool_t IsOrthographic() const
Visualization of calorimeter data as eta/phi histogram.
Float_t GetVAxisMinAngle()
virtual void Configure(Double_t fov, Double_t dolly, Double_t center[3], Double_t hRotate, Double_t vRotate)
Configure the camera state.
virtual Bool_t Rotate(Int_t xDelta, Int_t yDelta, Bool_t mod1, Bool_t mod2)
Method to handle action TGLViewer::kDragCameraRotate.
Base-class and default implementation of event-handler for TGLViewer.
void SetCurrentCamera(ECameraType camera)
Set current active camera - 'cameraType' one of: kCameraPerspX, kCameraPerspY, kCameraPerspZ, kCameraOrthoXOY, kCameraOrthoXOZ, kCameraOrthoZOY, kCameraOrthoXnOY, kCameraOrthoXnOZ, kCameraOrthoZnOY.
Double_t Hypot(Double_t x, Double_t y)
virtual void Configure(Double_t zoom, Double_t dolly, Double_t center[3], Double_t hRotate, Double_t vRotate)
Configure the camera state.
Orthographic projection camera.
Mother of all ROOT objects.
Concrete class describing an orientated (free) or axis aligned box of 8 vertices. ...
const Double_t * CArr() const
const TGLPlane & FrustumPlane(EFrustumPlane plane) const
virtual TEveTrans & RefMainTrans()
Return reference to main transformation.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Double_t GetTheta() const
Get angle between camera up axis.
virtual Bool_t Rotate(Int_t xDelta, Int_t yDelta, Bool_t mod1, Bool_t mod2)
Method to handle action TGLViewer::kDragCameraRotate.
3D plane class - of format Ax + By + Cz + D = 0
TGLVector3 GetBaseVec(Int_t b) const
virtual Bool_t HandleKey(Event_t *event)
Handle keyboard 'event'.
std::pair< Bool_t, TGLLine3 > Intersection(const TGLPlane &p1, const TGLPlane &p2)
Find 3D line interestion of this plane with 'other'.