17#include "TGLIncludes.h"
41 fM = DynCast<TEveTrackProjected>(obj);
65 Int_t size = *bpi - start;
88 Int_t nbptd = bmb ? 2*nbp : nbp;
89 std::vector<Float_t> pnts(3*nbptd);
91 for (
Int_t i = 0; i < nbp; ++i,
n+=3)
virtual Char_t GetMainTransparency() const
GL-renderer for TEveTrack class.
void RenderPathMarksAndFirstVertex(TGLRnrCtx &rnrCtx) const
Render path-marks and the first vertex, if required.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
GL-renderer for TEveTrackProjected class.
TEveTrackProjectedGL()
Constructor.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Draw track with GL.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
std::vector< Int_t > fBreakPoints
UChar_t GetProjTrackBreaking() const
Bool_t GetRnrPTBMarkers() const
TEveTrackPropagator * fPropagator
Last path-mark index tried in track-propagation.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Int_t GetPickRadius()
Return pick radius. If selection is not active it returns 0.
static UInt_t LockColor()
Prevent further color changes.
static void RenderPolyLine(const TAttLine &aline, Char_t transp, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE)
Render poly-line as specified by the p-array.
static UInt_t UnlockColor()
Allow color changes.
static void RenderPolyMarkers(const TAttMarker &marker, Char_t transp, Float_t *p, Int_t n, Int_t pick_radius=0, Bool_t selection=kFALSE, Bool_t sec_selection=kFALSE)
Render polymarkers at points specified by p-array.
Mother of all ROOT objects.
virtual void GetPoint(Int_t n, Float_t &x, Float_t &y, Float_t &z) const
Fills the parameters x, y, z with the coordinate of the n-th point n must be between 0 and Size() - 1...
virtual Int_t Size() const
virtual Float_t * GetP() const