17#include "TGLIncludes.h"
133 if (rec.GetN() < 2)
return;
OpenGL renderer class for TEveDigitSet.
Bool_t AlwaysSecondarySelect() const override
const std::set< Int_t > * fHighlightSet
void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec) override
Processes secondary selection from TGLViewer.
void DrawFrameIfNeeded(TGLRnrCtx &rnrCtx) const
Make a decision if the frame should be drawn.
void DrawHighlight(TGLRnrCtx &rnrCtx, const TGLPhysicalShape *pshp, Int_t lvl=-1) const override
Draw the quad-set in highlight mode.
Bool_t SetupColor(const TEveDigitSet::DigitBase_t &q) const
Set color for rendering of the specified digit.
void SetBBox() override
Set bounding box.
TEveDigitSetGL()
Constructor.
Base-class for storage of digit collections; provides transformation matrix (TEveTrans),...
TEveRGBAPalette * fPalette
virtual void DigitSelected(Int_t idx)
Called from renderer when a digit with index idx is selected.
static void Render(const TEveFrameBox *box)
Render the frame-box with GL.
const UChar_t * ColorFromValue(Int_t val) const
const SelectionSet_t & RefHighlightedSet() const
void ProcessGLSelection(TGLSelectRecord &rec)
Process secondary GL selection and populate selected set accordingly.
const SelectionSet_t & RefSelectedSet() const
TObject * fExternalObj
first replica
virtual void DrawHighlight(TGLRnrCtx &rnrCtx, const TGLPhysicalShape *pshp, Int_t lvl=-1) const
Draw the logical shape in highlight mode.
Base-class for direct OpenGL renderers.
void SetAxisAlignedBBox(Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
Set axis-aligned bounding-box.
Concrete physical shape - a GL drawable.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Bool_t SecSelection() const
Standard selection record including information about containing scene and details ob out selected ob...
static void Color4ubv(const UChar_t *rgba)
Wrapper for glColor4ubv.
static void Color3ubv(const UChar_t *rgb)
Wrapper for glColor3ubv.