17#include "TGLIncludes.h"
61 for (std::vector<Int_t>::iterator bpi =
fM->fBreakPoints.begin();
62 bpi !=
fM->fBreakPoints.end(); ++bpi)
76 fM->GetP(),
fM->Size(),
82 if (
fM->fBreakPoints.size() > 1 &&
fM->fPropagator->GetRnrPTBMarkers())
85 Int_t nbp =
fM->fBreakPoints.size() - 1;
87 Int_t nbptd = bmb ? 2*nbp : nbp;
88 std::vector<Float_t> pnts(3*nbptd);
90 for (
Int_t i = 0; i < nbp; ++i,
n+=3)
92 fM->GetPoint(
fM->fBreakPoints[i] - 1, pnts[
n], pnts[
n+1], pnts[
n+2]);
96 fM->GetPoint(
fM->fBreakPoints[i], pnts[
n], pnts[
n+1], pnts[
n+2]);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
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.
TEveTrackGL(const TEveTrackGL &)
TEveTrackProjectedGL()
Constructor.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Draw track with GL.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
TT * DynCast(TObject *obj)
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.