12#ifndef ROOT_TEveDigitSet
13#define ROOT_TEveDigitSet
int Int_t
Signed integer 4 bytes (int).
unsigned char UChar_t
Unsigned Character 1 byte (unsigned char).
char Char_t
Character 1 byte (char).
bool Bool_t
Boolean (0=false, 1=true) (bool).
short Color_t
Color number (short).
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
TAttBBox(const TAttBBox &tab)
Vector-like container with chunked memory allocation.
Base-class for storage of digit collections; provides transformation matrix (TEveTrans),...
Bool_t GetValueIsColor() const
TString GetHighlightTooltip() override
Return tooltip for highlighted element if always-sec-select is set.
friend class TEveDigitSetGL
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
void SetCurrentDigit(Int_t idx)
Set current digit – the one that will receive calls to DigitValue/Color/Id/UserData() functions.
TooltipCB_foo fTooltipCBFoo
! Function providing highlight tooltips when always-sec-select is active.
void UnSelected() override
Virtual function called when both fSelected is false and fImpliedSelected is 0.
TEveRGBAPalette * GetPalette() const
TEveDigitSet(const TEveDigitSet &)
friend class TEveDigitSetEditor
TooltipCB_foo GetTooltipCBFoo() const
TEveRGBAPalette * fPalette
Bool_t GetHistoButtons() const
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 idx 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
! Additional function to call on secondary-select.
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 UnHighlighted() override
Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0.
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)
DigitBase_t * fLastDigit
! The last / current digit added to collection.
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()
TObject * GetObject(const TEveException &) const override
Get a TObject associated with this render-element.
void SetMainColor(Color_t color) override
Override from TEveElement, forward to Frame.
DigitBase_t * NewDigit()
Protected method called whenever a new digit is added.
void SetTooltipCBFoo(TooltipCB_foo f)
void SetFrame(TEveFrameBox *b)
Set TEveFrameBox pointer.
virtual void SecSelected(TEveDigitSet *qs, Int_t idx)
Emit a SecSelected signal.
void DigitUserData(void *ud)
Set user-data for the last digit added.
void Paint(Option_t *option="") override
Paint this object. Only direct rendering is supported.
TString(* TooltipCB_foo)(TEveDigitSet *, Int_t)
DigitBase_t * GetDigit(Int_t n) const
void DigitId(TObject *id)
Set external object reference for the last digit added.
TEveFrameBox * GetFrame() const
~TEveDigitSet() override
Destructor.
void * GetUserData() const
TEveElement()
Default constructor.
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...
TEveSecondarySelectable(const TEveSecondarySelectable &)
Mother of all ROOT objects.
TObject()
TObject constructor.
TQObject(const TQObject &)=delete
An array of references to TObjects.