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