#include <FWEveDigitSetScalableMarker.h>
◆ FWEveDigitSetScalableMarkerGL()
FWEveDigitSetScalableMarkerGL::FWEveDigitSetScalableMarkerGL |
( |
| ) |
|
|
inline |
◆ ~FWEveDigitSetScalableMarkerGL()
FWEveDigitSetScalableMarkerGL::~FWEveDigitSetScalableMarkerGL |
( |
| ) |
|
|
inlineoverride |
◆ ClassDefOverride()
◆ DirectDraw()
void FWEveDigitSetScalableMarkerGL::DirectDraw |
( |
TGLRnrCtx & |
rnrCtx | ) |
const |
|
override |
Definition at line 4 of file FWEveDigitSetScalableMarker.cc.
5 glPushAttrib(GL_ENABLE_BIT | GL_POLYGON_BIT | GL_POINT_BIT);
6 glEnable(GL_POINT_SMOOTH);
7 glDisable(GL_LIGHTING);
9 TEveChunkManager::iterator qi(fM->GetPlex());
10 if (rnrCtx.Highlight() && fHighlightSet)
11 qi.fSelection = fHighlightSet;
13 if (rnrCtx.SecSelection())
18 TEveQuadSet::QFreeQuad_t*
q = (TEveQuadSet::QFreeQuad_t*)qi();
21 TGLUtil::ColorAlpha(Color_t(
q->fValue));
22 if (rnrCtx.SecSelection())
23 glLoadName(qi.index());
24 float*
p = &
q->fVertices[0];
26 float c[3] = {0.5f * (
p[0] +
p[6]), 0.5
f * (
p[1] +
p[7]), 0.5f * (
p[2] +
p[8])};
28 float d =
p[6] -
p[0];
29 glVertex3f(
c[0] -
d,
c[1],
c[2]);
30 glVertex3f(
c[0] +
d,
c[1],
c[2]);
31 glVertex3f(
c[0],
c[1] -
d,
c[2]);
32 glVertex3f(
c[0],
c[1] +
d,
c[2]);
33 glVertex3f(
c[0],
c[1],
c[2] -
d);
34 glVertex3f(
c[0],
c[1],
c[2] +
d);
References HltBtagPostValidation_cff::c, ztail::d, f, AlCaHLTBitMon_ParallelJobs::p, and data-class-funcs::q.