16#include "TGLIncludes.h"
41 fTrack = DynCast<TEveTrack>(obj);
54 printf(
"TEveTrackGL::ProcessSelection %d names on the stack (z1=%g, z2=%g).\n",
55 rec.GetN(), rec.GetMinZ(), rec.GetMaxZ());
57 for (
Int_t j=0; j<rec.GetN(); ++j) printf (
"%d ", rec.GetItem(j));
GL-renderer for TEveLine class.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Direct GL rendering for TEveLine.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
GL-renderer for TEveTrack class.
TEveTrackGL()
Default constructor.
void RenderPathMarksAndFirstVertex(TGLRnrCtx &rnrCtx) const
Render path-marks and the first vertex, if required.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec) override
Processes secondary selection from TGLViewer.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
GL rendering code.
Holding structure for a number of track rendering parameters.
Bool_t GetRnrDaughters() const
Bool_t GetRnrCluster2Ds() const
Bool_t GetRnrDecay() const
Bool_t GetRnrReferences() const
std::vector< TEvePathMarkD > vPathMark_t
virtual void SecSelected(TEveTrack *)
Emits "SecSelected(TEveTrack*)" signal.
vPathMark_t & RefPathMarks()
TEveTrackPropagator * GetPropagator() const
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.
Standard selection record including information about containing scene and details ob out selected ob...
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 Int_t GetLastPoint() const
virtual Float_t * GetP() const