12#ifndef ROOT_TEveDigitSet
13#define ROOT_TEveDigitSet
typedef void(GLAPIENTRYP _GLUfuncptr)(void)
#define ClassDef(name, id)
Use this attribute class when an object should have 3D capabilities.
Helper for management of bounding-box information.
Vector-like container with chunked memory allocation.
Char_t * Atom(Int_t idx) const
Editor for TEveDigitSet class.
OpenGL renderer class for TEveDigitSet.
Base-class for storage of digit collections; provides transformation matrix (TEveTrans),...
Bool_t GetValueIsColor() const
void SetHighlightFrame(Bool_t hf)
void SetHistoButtons(Bool_t f)
void ScanMinMaxValues(Int_t &min, Int_t &max)
Iterate over the digits and determine min and max signal values.
Bool_t GetAntiFlick() const
virtual ~TEveDigitSet()
Destructor.
virtual void SetMainColor(Color_t color)
Override from TEveElement, forward to Frame.
void SetCurrentDigit(Int_t idx)
Set current digit – the one that will receive calls to DigitValue/Color/Id/UserData() functions.
TooltipCB_foo fTooltipCBFoo
Additional function to call on secondary-select.
TEveRGBAPalette * GetPalette() const
virtual TString GetHighlightTooltip()
Return tooltip for highlighted element if always-sec-select is set.
TEveDigitSet(const TEveDigitSet &)
virtual void UnHighlighted()
Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0.
TooltipCB_foo GetTooltipCBFoo() const
TEveRGBAPalette * fPalette
Bool_t GetHistoButtons() const
virtual TObject * GetObject(const TEveException &) const
Get a TObject associated with this render-element.
TEveRGBAPalette * AssertPalette()
Make sure the TEveRGBAPalette pointer is not null.
void SetDisableLighting(Bool_t l)
Bool_t GetDisableLighting() const
Int_t fLastIdx
The last / current digit added to collection.
Bool_t GetEmitSignals() const
void UseSingleColor()
Instruct digit-set to use single color for its digits.
void DigitColor(Color_t ci)
Set color for the last digit added.
Bool_t GetSelectViaFrame() const
void SetSelectViaFrame(Bool_t sf)
void DigitValue(Int_t value)
Set signal value for the last digit added.
void RefitPlex()
Instruct underlying memory allocator to regroup itself into a contiguous memory chunk.
void ReleaseIds()
Protected method.
ERenderMode_e fRenderMode
Callback_foo fCallbackFoo
TObject * GetId(Int_t n) const
Return external TObject associated with digit n.
Callback_foo GetCallbackFoo() const
void * GetUserData() const
void SetPalette(TEveRGBAPalette *p)
Set TEveRGBAPalette pointer.
void SetCallbackFoo(Callback_foo f)
Bool_t GetHighlightFrame() const
ERenderMode_e GetRenderMode() const
void SetAntiFlick(Bool_t f)
void SetEmitSignals(Bool_t f)
void SetRenderMode(ERenderMode_e rm)
TEveDigitSet & operator=(const TEveDigitSet &)
virtual void DigitSelected(Int_t idx)
Called from renderer when a digit with index idx is selected.
void(* Callback_foo)(TEveDigitSet *, Int_t, TObject *)
TEveChunkManager * GetPlex()
DigitBase_t * NewDigit()
Function providing highlight tooltips when always-sec-select is active.
void SetTooltipCBFoo(TooltipCB_foo f)
void SetFrame(TEveFrameBox *b)
Set TEveFrameBox pointer.
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
virtual void SecSelected(TEveDigitSet *qs, Int_t idx)
Emit a SecSelected signal.
void DigitUserData(void *ud)
Set user-data for the last digit added.
virtual void UnSelected()
Virtual function called when both fSelected is false and fImpliedSelected is 0.
TString(* TooltipCB_foo)(TEveDigitSet *, Int_t)
Color_t fColor
The last / current idx added to collection.
DigitBase_t * GetDigit(Int_t n) const
void DigitId(TObject *id)
Set external object reference for the last digit added.
TEveFrameBox * GetFrame() const
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
void * GetUserData() const
Exception class thrown by TEve classes and macros.
Description of a 2D or 3D frame that can be used to visually group a set of objects.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
Semi-abstract interface for classes supporting secondary-selection.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
An array of references to TObjects.