133 if (rec.
GetN() < 2)
return;
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
const SelectionSet_t & RefSelectedSet() const
const std::set< Int_t > * fHighlightSet
const SelectionSet_t & RefHighlightedSet() const
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.
void DrawFrameIfNeeded(TGLRnrCtx &rnrCtx) const
Make a decision if the frame should be drawn.
OpenGL renderer class for TEveDigitSet.
TObject * fExternalObj
first replica
Bool_t SetupColor(const TEveDigitSet::DigitBase_t &q) const
Set color for rendering of the specified digit.
const UChar_t * ColorFromValue(Int_t val) const
virtual void DrawHighlight(TGLRnrCtx &rnrCtx, const TGLPhysicalShape *pshp, Int_t lvl=-1) const
Draw the quad-set in highlight mode.
Standard selection record including information about containing scene and details ob out selected ob...
TEveRGBAPalette * fPalette
TEveDigitSetGL()
Constructor.
Bool_t SecSelection() const
virtual void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec)
Processes secondary selection from TGLViewer.
UInt_t GetItem(Int_t i) const
virtual Bool_t AlwaysSecondarySelect() const
void ProcessGLSelection(TGLSelectRecord &rec)
Process secondary GL selection and populate selected set accordingly.
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.
virtual void DrawHighlight(TGLRnrCtx &rnrCtx, const TGLPhysicalShape *pshp, Int_t lvl=-1) const
Draw the logical shape in highlight mode.