12#ifndef ROOT_REveDigitSet
13#define ROOT_REveDigitSet
29namespace Experimental {
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Char_t * Atom(Int_t idx) const
virtual void SetMainColor(Color_t color) override
Override from REveElement, forward to Frame.
void DigitId(TObject *id)
Set external object reference for the last digit added.
Bool_t GetHistoButtons() const
void NewShapePicked(int shapeId, Int_t selectionId, bool multi)
Bool_t GetEmitSignals() const
friend class REveDigitSetEditor
REveRGBAPalette * GetPalette() const
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
Bool_t GetValueIsColor() const
friend class REveDigitSetGL
TooltipCB_foo GetTooltipCBFoo() const
REveDigitSet(const REveDigitSet &)
void SetAntiFlick(Bool_t f)
REveFrameBox * GetFrame() const
void SetPalette(REveRGBAPalette *p)
Set REveRGBAPalette pointer.
std::string(* TooltipCB_foo)(const REveDigitSet *, Int_t)
void FillExtraSelectionData(nlohmann::json &j, const std::set< int > &secondary_idcs) const override
void SetTooltipCBFoo(TooltipCB_foo f)
REveRGBAPalette * AssertPalette()
Make sure the REveRGBAPalette pointer is not null.
Color_t fColor
The last / current idx added to collection.
Bool_t GetHighlightFrame() const
DigitBase_t * NewDigit()
Function providing highlight tooltips when always-sec-select is active.
Bool_t GetSelectViaFrame() const
Bool_t GetDisableLighting() const
void DigitColor(Color_t ci)
Set color for the last digit added.
void SetCurrentDigit(Int_t idx)
Set current digit – the one that will receive calls to DigitValue/Color/Id/UserData() functions.
int GetAtomIdxFromShapeIdx(int) const
Utility function for maping digit idx with visible shape idx.
bool IsDigitVisible(const DigitBase_t *) const
Utility function for maping digit idx with visible shape idx.
std::string GetHighlightTooltip(const std::set< int > &secondary_idcs) const override
Return tooltip for highlighted element if always-sec-select is set.
void SetHighlightFrame(Bool_t hf)
void ScanMinMaxValues(Int_t &min, Int_t &max)
Iterate over the digits and determine min and max signal values.
void UseSingleColor()
Instruct digit-set to use single color for its digits.
void SetSelectViaFrame(Bool_t sf)
void(* Callback_foo)(const REveDigitSet *, Int_t, TObject *)
Bool_t fDetIdsAsSecondaryIndices
void RefitPlex()
Instruct underlying memory allocator to regroup itself into a contiguous memory chunk.
void SetEmitSignals(Bool_t f)
void SetRenderMode(ERenderMode_e rm)
Bool_t GetAntiFlick() const
virtual ~REveDigitSet()
Destructor.
void SetHistoButtons(Bool_t f)
DigitBase_t * GetDigit(Int_t n) const
REveRGBAPalette * fPalette
REveDigitSet & operator=(const REveDigitSet &)
void SetDisableLighting(Bool_t l)
Int_t fLastIdx
The last / current digit added to collection.
void SetCallbackFoo(Callback_foo f)
void ReleaseIds()
Protected method.
Bool_t GetDetIdsAsSecondaryIndices() const
ERenderMode_e fRenderMode
int GetShapeIdxFromAtomIdx(int) const
Utility function for maping shape idx to digit idx.
REveChunkManager * GetPlex()
void DigitValue(Int_t value)
Set signal value for the last digit added.
Callback_foo GetCallbackFoo() const
void SetDetIdsAsSecondaryIndices(Bool_t o)
void SetFrame(REveFrameBox *b)
Set REveFrameBox pointer.
TooltipCB_foo fTooltipCBFoo
Additional function to call on secondary-select.
TObject * GetId(Int_t n) const
Set external object reference for digit n.
ERenderMode_e GetRenderMode() const
Callback_foo fCallbackFoo
bool RequiresExtraSelectionData() const override
virtual std::string GetHighlightTooltip(const std::set< int > &) const
Bool_t GetAlwaysSecSelect() const
Use this attribute class when an object should have 3D capabilities.
Helper for management of bounding-box information.
Mother of all ROOT objects.
An array of references to TObjects.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.