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