133 if (rec.
GetN() < 2)
return;
OpenGL renderer class for TEveDigitSet.
const std::set< Int_t > * fHighlightSet
virtual void DrawHighlight(TGLRnrCtx &rnrCtx, const TGLPhysicalShape *pshp, Int_t lvl=-1) const
Draw the quad-set in highlight mode.
virtual void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec)
Processes secondary selection from TGLViewer.
virtual void SetBBox()
Set bounding box.
void DrawFrameIfNeeded(TGLRnrCtx &rnrCtx) const
Make a decision if the frame should be drawn.
virtual Bool_t AlwaysSecondarySelect() const
Bool_t SetupColor(const TEveDigitSet::DigitBase_t &q) const
Set color for rendering of the specified digit.
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
UInt_t GetItem(Int_t i) 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.