Logo ROOT   6.08/07
Reference Guide
List of all members | Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
TEveDigitSet Class Reference

Base-class for storage of digit collections; provides transformation matrix (TEveTrans), signal to color mapping (TEveRGBAPalette) and visual grouping (TEveFrameBox).

Base-class for displaying a digit collection. Provides common services for:

Use method DigitId(TObject* id) to assign additional identification to the last created digit. By calling SetOwnIds(kTRUE) tje digit-set becomes the owner of the assigned objects and deletes them on destruction. Note that TRef is used for referencing the objects and if you instantiate the objects just to pass them to digit-set you should also call TProcessID::Get/SetObjectCount() at the beginning / end of processing of an event. See documentation for class TRef, in particular section 'ObjectNumber'.

If you use value-is-color mode and want to use transparency, set the transparency to non-zero value so that GL-renderer will be properly informed.

If you want to use single color for all elements call:

Palette controls will not work in this case.

A pointer to a rectangle / box of class TEveFrameBox can be set via

A single TEveFrameBox can be shared among several digit-sets (it is reference-counted). The following flags affect how the frame-box will drawn and used for selection and highlight:

TEveDigitSet is sub-classed from TEveSecondarySelectable – this means individual digits can be selected. By calling:

one can enforce immediate feedback (highlight, tooltip and select on normal left-mouse click) on given digit-set.

See also:

TEveQuadSet: rectangle, hexagon or line per digit
TEveBoxSet a 3D box per digit

Definition at line 29 of file TEveDigitSet.h.

Classes

struct  DigitBase_t
 

Public Types

typedef void(* Callback_foo) (TEveDigitSet *, Int_t, TObject *)
 
enum  ERenderMode_e { kRM_AsIs, kRM_Line, kRM_Fill }
 
typedef TString(* TooltipCB_foo) (TEveDigitSet *, Int_t)
 
- Public Types inherited from TEveElement
enum  EChangeBits { kCBColorSelection = BIT(0), kCBTransBBox = BIT(1), kCBObjProps = BIT(2), kCBVisibility = BIT(3) }
 
typedef void(TEveElement::* ImplySelect_foo) ()
 
typedef List_t::const_iterator List_ci
 
typedef List_t::iterator List_i
 
typedef std::list< TEveElement * > List_t
 
typedef void(TEveElement::* Select_foo) (Bool_t)
 
typedef Set_t::const_iterator Set_ci
 
typedef Set_t::iterator Set_i
 
typedef std::set< TEveElement * > Set_t
 
typedef sLTI_t::iterator sLTI_i
 
typedef sLTI_t::reverse_iterator sLTI_ri
 
typedef std::set< TEveListTreeInfosLTI_t
 
- Public Types inherited from TObject
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
- Public Types inherited from TEveSecondarySelectable
typedef SelectionSet_t::const_iterator SelectionSet_ci
 
typedef SelectionSet_t::iterator SelectionSet_i
 
typedef std::set< Int_tSelectionSet_t
 

Public Member Functions

 TEveDigitSet (const char *n="TEveDigitSet", const char *t="")
 
virtual ~TEveDigitSet ()
 Destructor. More...
 
TEveRGBAPaletteAssertPalette ()
 Make sure the TEveRGBAPalette pointer is not null. More...
 
void DigitColor (Color_t ci)
 Set color for the last digit added. More...
 
void DigitColor (Color_t ci, Char_t transparency)
 Set color for the last digit added. More...
 
void DigitColor (UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
 Set color for the last digit added. More...
 
void DigitColor (UChar_t *rgba)
 Set color for the last digit added. More...
 
void DigitId (TObject *id)
 Set external object reference for the last digit added. More...
 
void DigitId (Int_t n, TObject *id)
 Set external object reference for digit n. More...
 
virtual void DigitSelected (Int_t idx)
 Called from renderer when a digit with index idx is selected. More...
 
void DigitUserData (void *ud)
 Set user-data for the last digit added. More...
 
void DigitUserData (Int_t n, void *ud)
 Set user-data for digit n. More...
 
void DigitValue (Int_t value)
 Set signal value for the last digit added. More...
 
Bool_t GetAntiFlick () const
 
Callback_foo GetCallbackFoo () const
 
DigitBase_tGetDigit (Int_t n) const
 
Bool_t GetDisableLighting () const
 
Bool_t GetEmitSignals () const
 
TEveFrameBoxGetFrame () const
 
Bool_t GetHighlightFrame () const
 
virtual TString GetHighlightTooltip ()
 Return tooltip for highlighted element if always-sec-select is set. More...
 
Bool_t GetHistoButtons () const
 
TObjectGetId (Int_t n) const
 Return external TObject associated with digit n. More...
 
virtual TObjectGetObject (const TEveException &) const
 Get a TObject associated with this render-element. More...
 
Bool_t GetOwnIds () const
 
TEveRGBAPaletteGetPalette () const
 
TEveChunkManagerGetPlex ()
 
ERenderMode_e GetRenderMode () const
 
Bool_t GetSelectViaFrame () const
 
TooltipCB_foo GetTooltipCBFoo () const
 
voidGetUserData (Int_t n) const
 Get user-data associated with digit n. More...
 
Bool_t GetValueIsColor () const
 
virtual void Paint (Option_t *option="")
 Paint this object. Only direct rendering is supported. More...
 
void RefitPlex ()
 Instruct underlying memory allocator to regroup itself into a contiguous memory chunk. More...
 
void ScanMinMaxValues (Int_t &min, Int_t &max)
 Iterate over the digits and determine min and max signal values. More...
 
virtual void SecSelected (TEveDigitSet *qs, Int_t idx)
 Emit a SecSelected signal. More...
 
void SetAntiFlick (Bool_t f)
 
void SetCallbackFoo (Callback_foo f)
 
void SetCurrentDigit (Int_t idx)
 Set current digit – the one that will receive calls to DigitValue/Color/Id/UserData() functions. More...
 
void SetDisableLighting (Bool_t l)
 
void SetEmitSignals (Bool_t f)
 
void SetFrame (TEveFrameBox *b)
 Set TEveFrameBox pointer. More...
 
void SetHighlightFrame (Bool_t hf)
 
void SetHistoButtons (Bool_t f)
 
virtual void SetMainColor (Color_t color)
 Override from TEveElement, forward to Frame. More...
 
void SetOwnIds (Bool_t o)
 
void SetPalette (TEveRGBAPalette *p)
 Set TEveRGBAPalette pointer. More...
 
void SetRenderMode (ERenderMode_e rm)
 
void SetSelectViaFrame (Bool_t sf)
 
void SetTooltipCBFoo (TooltipCB_foo f)
 
virtual void UnHighlighted ()
 Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0. More...
 
virtual void UnSelected ()
 Virtual function called when both fSelected is false and fImpliedSelected is 0. More...
 
void UseSingleColor ()
 Instruct digit-set to use single color for its digits. More...
 
- Public Member Functions inherited from TEveElement
 TEveElement ()
 Default constructor. More...
 
 TEveElement (Color_t &main_color)
 Constructor. More...
 
 TEveElement (const TEveElement &e)
 Copy constructor. More...
 
virtual ~TEveElement ()
 Destructor. More...
 
virtual Bool_t AcceptElement (TEveElement *el)
 Check if el can be added to this element. More...
 
virtual void AddElement (TEveElement *el)
 Add el to the list of children. More...
 
virtual TGListTreeItemAddIntoListTree (TGListTree *ltree, TGListTreeItem *parent_lti)
 Add this element into ltree to an already existing item parent_lti. More...
 
virtual TGListTreeItemAddIntoListTree (TGListTree *ltree, TEveElement *parent)
 Add this render element into ltree to all items belonging to parent. More...
 
virtual TGListTreeItemAddIntoListTrees (TEveElement *parent)
 Add this render element into all list-trees and all items belonging to parent. More...
 
virtual void AddParent (TEveElement *re)
 Add re into the list parents. More...
 
virtual void AddStamp (UChar_t bits)
 Add (bitwise or) given stamps to fChangeBits. More...
 
virtual void Annihilate ()
 Optimized destruction without check of reference-count. More...
 
virtual void AnnihilateElements ()
 Annihilate elements. More...
 
Bool_t ApplyVizTag (const TString &tag, const TString &fallback_tag="")
 Set the VizTag, find model-element from the VizDB and copy visualization-parameters from it. More...
 
List_i BeginChildren ()
 
List_ci BeginChildren () const
 
List_i BeginParents ()
 
List_ci BeginParents () const
 
virtual Bool_t CanEditElement () const
 
virtual Bool_t CanEditMainColor () const
 
virtual Bool_t CanEditMainTrans () const
 
virtual Bool_t CanEditMainTransparency () const
 
virtual void CheckReferenceCount (const TEveException &eh="TEveElement::CheckReferenceCount ")
 Check external references to this and eventually auto-destruct the render-element. More...
 
virtual void ClearStamps ()
 
virtual void CloneChildrenRecurse (TEveElement *dest, Int_t level=0) const
 Clone children and attach them to the dest element. More...
 
virtual TEveElementCloneElement () const
 Clone the element via copy constructor. More...
 
virtual TEveElementCloneElementRecurse (Int_t level=0) const
 Clone elements and recurse 'level' deep over children. More...
 
virtual void CollectSceneParents (List_t &scenes)
 Collect all parents of class TEveScene. More...
 
virtual void CollectSceneParentsFromChildren (List_t &scenes, TEveElement *parent)
 Collect scene-parents from all children. More...
 
virtual void CopyVizParams (const TEveElement *el)
 Copy visualization parameters from element el. More...
 
virtual void CopyVizParamsFromDB ()
 Copy visualization parameters from the model-element fVizModel. More...
 
void CSCApplyMainColorToAllChildren ()
 
void CSCApplyMainColorToMatchingChildren ()
 
void CSCApplyMainTransparencyToAllChildren ()
 
void CSCApplyMainTransparencyToMatchingChildren ()
 
void CSCImplySelectAllChildren ()
 
void CSCTakeAnyParentAsMaster ()
 
void DecDenyDestroy ()
 Decreases the deny-destroy count of the element. More...
 
virtual void DecImpliedHighlighted ()
 Decrease element's implied-highlight count. Stamp appropriately. More...
 
virtual void DecImpliedSelected ()
 Decrease element's implied-selection count. Stamp appropriately. More...
 
void DecParentIgnoreCnt ()
 Decrease number of parents ignored in reference-counting. More...
 
virtual void Destroy ()
 Destroy this element. More...
 
virtual void DestroyElements ()
 Destroy all children of this element. More...
 
virtual void DestroyListSubTree (TGListTree *ltree, TGListTreeItem *parent)
 Destroy sub-tree under item 'parent' in list-tree 'ltree'. More...
 
virtual void DestroyMainTrans ()
 Destroy the main transformation matrix, it will always be taken as identity. More...
 
virtual void DestroyOrWarn ()
 Destroy this element. Prints a warning if deny-destroy is in force. More...
 
void DisableListElements (Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE)
 Disable rendering of children and their list contents. More...
 
void DumpSourceObject () const
 Call Dump() on source object. More...
 
virtual void ElementChanged (Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
 Call this after an element has been changed so that the state can be propagated around the framework. More...
 
void EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
 Enable rendering of children and their list contents. More...
 
List_i EndChildren ()
 
List_ci EndChildren () const
 
List_i EndParents ()
 
List_ci EndParents () const
 
virtual void ExpandIntoListTree (TGListTree *ltree, TGListTreeItem *parent)
 Populates parent with elements. More...
 
void ExportSourceObjectToCINT (char *var_name) const
 Export source object to CINT with given name for the variable. More...
 
virtual void ExportToCINT (char *var_name)
 Export render-element to CINT with variable name var_name. More...
 
virtual void FillImpliedSelectedSet (Set_t &impSelSet)
 Populate set impSelSet with derived / dependant elements. More...
 
TEveElementFindChild (const TString &name, const TClass *cls=0)
 Find the first child with given name. More...
 
TEveElementFindChild (TPRegexp &regexp, const TClass *cls=0)
 Find the first child whose name matches regexp. More...
 
Int_t FindChildren (List_t &matches, const TString &name, const TClass *cls=0)
 Find all children with given name and append them to matches list. More...
 
Int_t FindChildren (List_t &matches, TPRegexp &regexp, const TClass *cls=0)
 Find all children whose name matches regexp and append them to matches list. More...
 
virtual sLTI_i FindItem (TGListTree *ltree)
 Find any list-tree-item of this element in list-tree 'ltree'. More...
 
virtual sLTI_i FindItem (TGListTree *ltree, TGListTreeItem *parent_lti)
 Find list-tree-item of this element with given parent list-tree-item. More...
 
virtual TGListTreeItemFindListTreeItem (TGListTree *ltree)
 Find any list-tree-item of this element in list-tree 'ltree'. More...
 
virtual TGListTreeItemFindListTreeItem (TGListTree *ltree, TGListTreeItem *parent_lti)
 Find list-tree-item of this element with given parent list-tree-item. More...
 
Bool_t FindVizModel ()
 Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly. More...
 
TEveElementFirstChild () const
 Returns the first child element or 0 if the list is empty. More...
 
virtual TEveElementForwardEdit ()
 Returns element to be displayed in GUI editor on click. More...
 
virtual TEveElementForwardSelection ()
 Returns element to be selected on click. More...
 
UChar_t GetChangeBits () const
 
TEveCompoundGetCompound ()
 
Int_t GetDenyDestroy () const
 Returns the number of times deny-destroy has been requested on the element. More...
 
Bool_t GetDestroyOnZeroRefCnt () const
 Returns state of flag determining if the element will be destroyed when reference count reaches zero. More...
 
virtual TObjectGetEditorObject (const TEveException &eh) const
 
virtual const char * GetElementName () const
 Virtual function for retrieving name of the element. More...
 
virtual const char * GetElementTitle () const
 Virtual function for retrieving title of the render-element. More...
 
virtual const TGPictureGetListTreeCheckBoxIcon ()
 Returns list-tree-item check-box picture appropriate for given rendering state. More...
 
virtual const TGPictureGetListTreeIcon (Bool_t open=kFALSE)
 Returns pointer to first listtreeicon. More...
 
virtual Color_t GetMainColor () const
 
Color_tGetMainColorPtr () const
 
virtual Char_t GetMainTransparency () const
 
TEveElementGetMaster ()
 Returns the master element - that is: More...
 
virtual Int_t GetNItems () const
 
Int_t GetParentIgnoreCnt () const
 Get number of parents that should be ignored in doing reference-counting. More...
 
virtual TObjectGetRenderObject (const TEveException &eh) const
 
virtual Bool_t GetRnrAnything () const
 
virtual Bool_t GetRnrChildren () const
 
virtual Bool_t GetRnrSelf () const
 
virtual Bool_t GetRnrState () const
 
virtual UChar_t GetSelectedLevel () const
 Get selection level, needed for rendering selection and highlight feedback. More...
 
TRefGetSource ()
 
TObjectGetSourceObject () const
 
voidGetUserData () const
 
TEveElementGetVizModel () const
 
const TStringGetVizTag () const
 
virtual Bool_t HandleElementPaste (TEveElement *el)
 React to element being pasted or dnd-ed. More...
 
Bool_t HasChild (TEveElement *el)
 Check if element el is a child of this element. More...
 
Bool_t HasChildren () const
 
virtual Bool_t HasMainColor () const
 
virtual Bool_t HasMainTrans () const
 
Bool_t HasParents () const
 
virtual void HighlightElement (Bool_t state)
 Set element's highlight state. Stamp appropriately. More...
 
void IncDenyDestroy ()
 Increases the deny-destroy count of the element. More...
 
virtual void IncImpliedHighlighted ()
 Increase element's implied-highlight count. Stamp appropriately. More...
 
virtual void IncImpliedSelected ()
 Increase element's implied-selection count. Stamp appropriately. More...
 
void IncParentIgnoreCnt ()
 Increase number of parents ignored in reference-counting. More...
 
virtual void InitMainTrans (Bool_t can_edit=kTRUE)
 Initialize the main transformation to identity matrix. More...
 
Bool_t IsPickable () const
 
TEveElementLastChild () const
 Returns the last child element or 0 if the list is empty. More...
 
virtual void NameTitleChanged ()
 Virtual function called when a name or title of the element has been changed. More...
 
Int_t NumChildren () const
 
Int_t NumParents () const
 
virtual void PadPaint (Option_t *option)
 Paint self and/or children into currently active pad. More...
 
virtual void PaintStandard (TObject *id)
 Paint object – a generic implementation for EVE elements. More...
 
void PrintSourceObject () const
 Call Print() on source object. More...
 
virtual void ProjectAllChildren (Bool_t same_depth=kTRUE)
 If this is a projectable, loop over all projected replicas and add the projected image of all children there. More...
 
virtual void ProjectChild (TEveElement *el, Bool_t same_depth=kTRUE)
 If this is a projectable, loop over all projected replicas and add the projected image of child 'el' there. More...
 
virtual void PropagateMainColorToProjecteds (Color_t color, Color_t old_color)
 Propagate color to projected elements. More...
 
virtual void PropagateMainTransparencyToProjecteds (Char_t t, Char_t old_t)
 Propagate transparency to projected elements. More...
 
virtual void PropagateRnrStateToProjecteds ()
 Propagate render state to the projected replicas of this element. More...
 
virtual void PropagateVizParamsToElements (TEveElement *el=0)
 Propagate visualization parameters from element el (defaulting to this) to all elements (children). More...
 
virtual void PropagateVizParamsToProjecteds ()
 Propagate visualization parameters to dependent elements. More...
 
virtual TEveTransPtrMainTrans (Bool_t create=kTRUE)
 Return pointer to main transformation. More...
 
void RecheckImpliedSelections ()
 Call this if it is possible that implied-selection or highlight has changed for this element or for implied-selection this element is member of and you want to maintain consistent selection state. More...
 
const List_tRefChildren () const
 
virtual TEveTransRefMainTrans ()
 Return reference to main transformation. More...
 
virtual void RemoveElement (TEveElement *el)
 Remove el from the list of children. More...
 
virtual void RemoveElementLocal (TEveElement *el)
 Perform additional local removal of el. More...
 
virtual void RemoveElements ()
 Remove all elements. More...
 
virtual void RemoveElementsLocal ()
 Perform additional local removal of all elements. More...
 
virtual Bool_t RemoveFromListTree (TGListTree *ltree, TGListTreeItem *parent_lti)
 Remove element from list-tree 'ltree' where its parent item is 'parent_lti'. More...
 
virtual Int_t RemoveFromListTrees (TEveElement *parent)
 Remove element from all list-trees where 'parent' is the user-data of the parent list-tree-item. More...
 
virtual void RemoveParent (TEveElement *re)
 Remove re from the list of parents. More...
 
void ResetAllCSCBits ()
 
void ResetCSCBits (UChar_t f)
 
void SaveVizParams (std::ostream &out, const TString &tag, const TString &var)
 Save visualization parameters for this element with given tag. More...
 
virtual void SelectElement (Bool_t state)
 Set element's selection state. Stamp appropriately. More...
 
void SetCompound (TEveCompound *c)
 
void SetCSCBits (UChar_t f)
 
void SetDestroyOnZeroRefCnt (Bool_t d)
 Sets the state of flag determining if the element will be destroyed when reference count reaches zero. More...
 
void SetEditMainColor (Bool_t x)
 
void SetEditMainTransparency (Bool_t x)
 
virtual void SetElementName (const char *name)
 Virtual function for setting of name of an element. More...
 
virtual void SetElementNameTitle (const char *name, const char *title)
 Virtual function for setting of name and title of render element. More...
 
virtual void SetElementTitle (const char *title)
 Virtual function for setting of title of an element. More...
 
void SetMainAlpha (Float_t alpha)
 Set main-transparency via float alpha variable. More...
 
void SetMainColorPixel (Pixel_t pixel)
 Convert pixel to Color_t and call SetMainColor(). More...
 
void SetMainColorPtr (Color_t *color)
 
void SetMainColorRGB (UChar_t r, UChar_t g, UChar_t b)
 Convert RGB values to Color_t and call SetMainColor. More...
 
void SetMainColorRGB (Float_t r, Float_t g, Float_t b)
 Convert RGB values to Color_t and call SetMainColor. More...
 
virtual void SetMainTransparency (Char_t t)
 Set main-transparency. More...
 
void SetPickable (Bool_t p)
 
void SetPickableRecursively (Bool_t p)
 Set pickable state on the element and all its children. More...
 
virtual Bool_t SetRnrChildren (Bool_t rnr)
 Set render state of this element's children, i.e. More...
 
virtual Bool_t SetRnrSelf (Bool_t rnr)
 Set render state of this element, i.e. More...
 
virtual Bool_t SetRnrSelfChildren (Bool_t rnr_self, Bool_t rnr_children)
 Set state for rendering of this element and its children. More...
 
virtual Bool_t SetRnrState (Bool_t rnr)
 Set render state of this element and of its children to the same value. More...
 
void SetSourceObject (TObject *o)
 
virtual void SetTransMatrix (Double_t *carr)
 Set transformation matrix from column-major array. More...
 
virtual void SetTransMatrix (const TGeoMatrix &mat)
 Set transformation matrix from TGeo's matrix. More...
 
void SetUserData (void *ud)
 
void SetVizModel (TEveElement *model)
 Set visualization-parameter model element. More...
 
void SetVizTag (const TString &tag)
 
virtual Bool_t SingleRnrState () const
 
void SpawnEditor ()
 Show GUI editor for this object. More...
 
void StampColorSelection ()
 
void StampObjProps ()
 
void StampTransBBox ()
 
void StampVisibility ()
 
Bool_t TestCSCBits (UChar_t f) const
 
void VizDB_Apply (const char *tag)
 Set visual parameters for this object for given tag. More...
 
void VizDB_Insert (const char *tag, Bool_t replace=kTRUE, Bool_t update=kTRUE)
 Create a replica of element and insert it into VizDB with given tag. More...
 
void VizDB_Reapply ()
 Reset visual parameters for this object from VizDB. More...
 
void VizDB_UpdateModel (Bool_t update=kTRUE)
 Copy visual parameters from this element to viz-db model. More...
 
virtual void WriteVizParams (std::ostream &out, const TString &var)
 Write-out visual parameters for this object. More...
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor. More...
 
virtual ~TNamed ()
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual void SetName (const char *name)
 Set the name of the TNamed. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
- Public Member Functions inherited from TQObject
 TQObject ()
 TQObject Constructor. More...
 
virtual ~TQObject ()
 TQObject Destructor. More...
 
Bool_t AreSignalsBlocked () const
 
Bool_t BlockSignals (Bool_t b)
 
virtual void ChangedBy (const char *method)
 
void CollectClassSignalLists (TList &list, TClass *cls)
 Collect class signal lists from class cls and all its base-classes. More...
 
Bool_t Connect (const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Non-static method is used to connect from the signal of this object to the receiver slot. More...
 
virtual void Connected (const char *)
 
virtual void Destroyed ()
 
Bool_t Disconnect (const char *signal=0, void *receiver=0, const char *slot=0)
 Disconnects signal of this object from slot of receiver. More...
 
virtual void Disconnected (const char *)
 
void Emit (const char *signal)
 Acitvate signal without args. More...
 
void Emit (const char *signal, Long_t *paramArr)
 Emit a signal with a varying number of arguments, paramArr is an array of the parameters. More...
 
void Emit (const char *signal, const char *params)
 Activate signal with parameter text string. More...
 
void Emit (const char *signal, Double_t param)
 Activate signal with single parameter. More...
 
void Emit (const char *signal, Long_t param)
 Activate signal with single parameter. More...
 
void Emit (const char *signal, Long64_t param)
 Activate signal with single parameter. More...
 
void Emit (const char *signal, Bool_t param)
 
void Emit (const char *signal, Char_t param)
 
void Emit (const char *signal, UChar_t param)
 
void Emit (const char *signal, Short_t param)
 
void Emit (const char *signal, UShort_t param)
 
void Emit (const char *signal, Int_t param)
 
void Emit (const char *signal, UInt_t param)
 
void Emit (const char *signal, ULong_t param)
 
void Emit (const char *signal, ULong64_t param)
 
void Emit (const char *signal, Float_t param)
 
template<typename... T>
void EmitVA (const char *signal_name, Int_t, const T &... params)
 
void EmitVA (const char *signal, Int_t nargs, va_list va)=delete
 
TListGetListOfClassSignals () const
 Returns pointer to list of signals of this class. More...
 
TListGetListOfConnections () const
 
TListGetListOfSignals () const
 
virtual Bool_t HasConnection (const char *signal_name) const
 Return true if there is any object connected to this signal. More...
 
virtual void HighPriority (const char *signal_name, const char *slot_name=0)
 
virtual void LowPriority (const char *signal_name, const char *slot_name=0)
 
virtual void Message (const char *msg)
 
virtual Int_t NumberOfConnections () const
 Return number of connections for this object. More...
 
virtual Int_t NumberOfSignals () const
 Return number of signals for this object. More...
 
- Public Member Functions inherited from TAtt3D
 TAtt3D ()
 
virtual ~TAtt3D ()
 
virtual void Sizeof3D () const
 Set total size of this 3D object (used by X3D interface). More...
 
- Public Member Functions inherited from TAttBBox
 TAttBBox ()
 
virtual ~TAttBBox ()
 
Float_tAssertBBox ()
 
virtual void ComputeBBox ()=0
 
Float_tGetBBox ()
 
Bool_t GetBBoxOK () const
 
TAttBBoxoperator= (const TAttBBox &tab)
 
void ResetBBox ()
 
void SetupBBoxCube (Float_t extent, Float_t x, Float_t y, Float_t z)
 Setup bounding box as cube with given extent and center position. More...
 
- Public Member Functions inherited from TEveSecondarySelectable
 TEveSecondarySelectable ()
 Constructor. More...
 
virtual ~TEveSecondarySelectable ()
 
Bool_t GetAlwaysSecSelect () const
 
void ProcessGLSelection (TGLSelectRecord &rec)
 Process secondary GL selection and populate selected set accordingly. More...
 
const SelectionSet_tRefHighlightedSet () const
 
const SelectionSet_tRefSelectedSet () const
 
void SetAlwaysSecSelect (Bool_t f)
 

Protected Member Functions

DigitBase_tNewDigit ()
 Function providing highlight tooltips when always-sec-select is active. More...
 
void ReleaseIds ()
 Protected method. More...
 
- Protected Member Functions inherited from TEveElement
virtual void AnnihilateRecursively ()
 Protected member function called from TEveElement::Annihilate(). More...
 
virtual void PreDeleteElement ()
 Externally assigned and controlled user data. More...
 
virtual void RemoveElementsInternal ()
 Remove all elements. More...
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 
- Protected Member Functions inherited from TQObject
virtual voidGetSender ()
 
virtual const char * GetSenderClassName () const
 
- Protected Member Functions inherited from TAttBBox
 TAttBBox (const TAttBBox &tab)
 
void AssertBBoxExtents (Float_t epsilon=0.005)
 Assert extents of all sides of the bounding-box are at least epsilon. More...
 
void BBoxCheckPoint (Float_t x, Float_t y, Float_t z)
 
void BBoxCheckPoint (const Float_t *p)
 
void BBoxClear ()
 Remove BBox information. More...
 
void BBoxInit (Float_t infinity=1e6)
 Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max) More...
 
void BBoxZero (Float_t epsilon=0, Float_t x=0, Float_t y=0, Float_t z=0)
 Create cube of volume (2*epsilon)^3 at (x,y,z). More...
 
- Protected Member Functions inherited from TEveSecondarySelectable
void ProcessGLSelectionInternal (TGLSelectRecord &rec, SelectionSet_t &sset)
 Process secondary GL selection and populate given set accordingly. More...
 

Protected Attributes

Bool_t fAntiFlick
 
Callback_foo fCallbackFoo
 
Color_t fColor
 The last / current idx added to collection. More...
 
Int_t fDefaultValue
 
TRefArrayfDigitIds
 
Bool_t fDisableLighting
 
Bool_t fEmitSignals
 
TEveFrameBoxfFrame
 
Bool_t fHighlightFrame
 
Bool_t fHistoButtons
 
DigitBase_tfLastDigit
 
Int_t fLastIdx
 The last / current digit added to collection. More...
 
Bool_t fOwnIds
 
TEveRGBAPalettefPalette
 
TEveChunkManager fPlex
 
ERenderMode_e fRenderMode
 
Bool_t fSelectViaFrame
 
Bool_t fSingleColor
 
TooltipCB_foo fTooltipCBFoo
 Additional function to call on secondary-select. More...
 
Bool_t fValueIsColor
 
- Protected Attributes inherited from TEveElement
Bool_t fCanEditMainColor
 
Bool_t fCanEditMainTrans
 
Bool_t fCanEditMainTransparency
 
UChar_t fChangeBits
 
List_t fChildren
 
TEveCompoundfCompound
 
UChar_t fCSCBits
 
Int_t fDenyDestroy
 Counter for top-level list-tree items that prevent automatic destruction. More...
 
Bool_t fDestroyOnZeroRefCnt
 Deny-destroy count. More...
 
Char_t fDestructing
 
Bool_t fHighlighted
 
Short_t fImpliedHighlighted
 
Short_t fImpliedSelected
 
sLTI_t fItems
 
Color_tfMainColorPtr
 
TEveTransfMainTrans
 
Char_t fMainTransparency
 
Int_t fNumChildren
 
Int_t fParentIgnoreCnt
 
List_t fParents
 
Bool_t fPickable
 
Bool_t fRnrChildren
 
Bool_t fRnrSelf
 
Bool_t fSelected
 
TRef fSource
 Set of list-tree-items. More...
 
Int_t fTopItemCnt
 Counter for parents that are ignored in ref-counting. More...
 
voidfUserData
 
TEveElementfVizModel
 
TString fVizTag
 Element used as model from VizDB. More...
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TQObject
TListfListOfConnections
 list of signals from this object More...
 
TListfListOfSignals
 
Bool_t fSignalsBlocked
 list of connections to this object More...
 
- Protected Attributes inherited from TAttBBox
Float_tfBBox
 
- Protected Attributes inherited from TEveSecondarySelectable
Bool_t fAlwaysSecSelect
 
SelectionSet_t fHighlightedSet
 
SelectionSet_t fSelectedSet
 

Private Member Functions

 TEveDigitSet (const TEveDigitSet &)
 
TEveDigitSetoperator= (const TEveDigitSet &)
 

Friends

class TEveDigitSetEditor
 
class TEveDigitSetGL
 

Additional Inherited Members

- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Static Public Member Functions inherited from TQObject
static Bool_t AreAllSignalsBlocked ()
 Returns true if all signals are blocked. More...
 
static Bool_t BlockAllSignals (Bool_t b)
 Block or unblock all signals. Returns the previous block status. More...
 
static Bool_t Connect (TQObject *sender, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver. More...
 
static Bool_t Connect (const char *sender_class, const char *signal, const char *receiver_class, void *receiver, const char *slot)
 This method allows to make a connection from any object of the same class to a single slot. More...
 
static Bool_t Disconnect (TQObject *sender, const char *signal=0, void *receiver=0, const char *slot=0)
 Disconnects signal in object sender from slot_method in object receiver. More...
 
static Bool_t Disconnect (const char *class_name, const char *signal, void *receiver=0, const char *slot=0)
 Disconnects "class signal". More...
 
- Static Public Attributes inherited from TEveElement
static const TGPicturefgListTreeIcons [9] = { 0 }
 
static const TGPicturefgRnrIcons [4] = { 0 }
 
- Protected Types inherited from TEveElement
enum  ECompoundSelectionColorBits {
  kCSCBImplySelectAllChildren = BIT(0), kCSCBTakeAnyParentAsMaster = BIT(1), kCSCBApplyMainColorToAllChildren = BIT(2), kCSCBApplyMainColorToMatchingChildren = BIT(3),
  kCSCBApplyMainTransparencyToAllChildren = BIT(4), kCSCBApplyMainTransparencyToMatchingChildren = BIT(5)
}
 
enum  EDestruct { kNone, kStandard, kAnnihilate }
 
- Static Protected Member Functions inherited from TEveElement
static const char * ToString (Bool_t b)
 Convert Bool_t to string - kTRUE or kFALSE. More...
 
- Static Protected Member Functions inherited from TQObject
static Int_t CheckConnectArgs (TQObject *sender, TClass *sender_class, const char *signal, TClass *receiver_class, const char *slot)
 Checking of consitency of sender/receiver methods/arguments. More...
 
static TString CompressName (const char *method_name)
 Removes "const" words and blanks from full (with prototype) method name and resolve any typedefs in the method signature. More...
 
static Bool_t ConnectToClass (TQObject *sender, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 Create connection between sender and receiver. More...
 
static Bool_t ConnectToClass (const char *sender_class, const char *signal, TClass *receiver_class, void *receiver, const char *slot)
 This method allows to make connection from any object of the same class to the receiver object. More...
 
- Static Protected Attributes inherited from TQObject
static Bool_t fgAllSignalsBlocked = kFALSE
 flag used for suppression of signals More...
 

#include <TEveDigitSet.h>

Inheritance diagram for TEveDigitSet:
[legend]

Member Typedef Documentation

◆ Callback_foo

typedef void(* TEveDigitSet::Callback_foo) (TEveDigitSet *, Int_t, TObject *)

Definition at line 44 of file TEveDigitSet.h.

◆ TooltipCB_foo

typedef TString(* TEveDigitSet::TooltipCB_foo) (TEveDigitSet *, Int_t)

Definition at line 45 of file TEveDigitSet.h.

Member Enumeration Documentation

◆ ERenderMode_e

Enumerator
kRM_AsIs 
kRM_Line 
kRM_Fill 

Definition at line 42 of file TEveDigitSet.h.

Constructor & Destructor Documentation

◆ TEveDigitSet() [1/2]

TEveDigitSet::TEveDigitSet ( const TEveDigitSet )
private

◆ TEveDigitSet() [2/2]

TEveDigitSet::TEveDigitSet ( const char *  n = "TEveDigitSet",
const char *  t = "" 
)

Definition at line 85 of file TEveDigitSet.cxx.

◆ ~TEveDigitSet()

TEveDigitSet::~TEveDigitSet ( )
virtual

Destructor.

Unreference frame and palette. Destroy referenced objects if they are owned by the TEveDigitSet.

Definition at line 123 of file TEveDigitSet.cxx.

Member Function Documentation

◆ AssertPalette()

TEveRGBAPalette * TEveDigitSet::AssertPalette ( )

Make sure the TEveRGBAPalette pointer is not null.

If it is not set, a new one is instantiated and the range is set to current min/max signal values.

Definition at line 455 of file TEveDigitSet.cxx.

◆ DigitColor() [1/4]

void TEveDigitSet::DigitColor ( Color_t  ci)

Set color for the last digit added.

Definition at line 293 of file TEveDigitSet.cxx.

◆ DigitColor() [2/4]

void TEveDigitSet::DigitColor ( Color_t  ci,
Char_t  transparency 
)

Set color for the last digit added.

Definition at line 301 of file TEveDigitSet.cxx.

◆ DigitColor() [3/4]

void TEveDigitSet::DigitColor ( UChar_t  r,
UChar_t  g,
UChar_t  b,
UChar_t  a = 255 
)

Set color for the last digit added.

Definition at line 309 of file TEveDigitSet.cxx.

◆ DigitColor() [4/4]

void TEveDigitSet::DigitColor ( UChar_t rgba)

Set color for the last digit added.

Definition at line 318 of file TEveDigitSet.cxx.

◆ DigitId() [1/2]

void TEveDigitSet::DigitId ( TObject id)

Set external object reference for the last digit added.

Definition at line 327 of file TEveDigitSet.cxx.

◆ DigitId() [2/2]

void TEveDigitSet::DigitId ( Int_t  n,
TObject id 
)

Set external object reference for digit n.

Definition at line 343 of file TEveDigitSet.cxx.

◆ DigitSelected()

void TEveDigitSet::DigitSelected ( Int_t  idx)
virtual

Called from renderer when a digit with index idx is selected.

This is by-passed when always-secondary-select is active.

Definition at line 390 of file TEveDigitSet.cxx.

◆ DigitUserData() [1/2]

void TEveDigitSet::DigitUserData ( void ud)

Set user-data for the last digit added.

Definition at line 335 of file TEveDigitSet.cxx.

◆ DigitUserData() [2/2]

void TEveDigitSet::DigitUserData ( Int_t  n,
void ud 
)

Set user-data for digit n.

Definition at line 357 of file TEveDigitSet.cxx.

◆ DigitValue()

void TEveDigitSet::DigitValue ( Int_t  value)

Set signal value for the last digit added.

Definition at line 285 of file TEveDigitSet.cxx.

◆ GetAntiFlick()

Bool_t TEveDigitSet::GetAntiFlick ( ) const
inline

Definition at line 94 of file TEveDigitSet.h.

◆ GetCallbackFoo()

Callback_foo TEveDigitSet::GetCallbackFoo ( ) const
inline

Definition at line 175 of file TEveDigitSet.h.

◆ GetDigit()

DigitBase_t* TEveDigitSet::GetDigit ( Int_t  n) const
inline

Definition at line 129 of file TEveDigitSet.h.

◆ GetDisableLighting()

Bool_t TEveDigitSet::GetDisableLighting ( ) const
inline

Definition at line 166 of file TEveDigitSet.h.

◆ GetEmitSignals()

Bool_t TEveDigitSet::GetEmitSignals ( ) const
inline

Definition at line 172 of file TEveDigitSet.h.

◆ GetFrame()

TEveFrameBox* TEveDigitSet::GetFrame ( ) const
inline

Definition at line 148 of file TEveDigitSet.h.

◆ GetHighlightFrame()

Bool_t TEveDigitSet::GetHighlightFrame ( ) const
inline

Definition at line 154 of file TEveDigitSet.h.

◆ GetHighlightTooltip()

TString TEveDigitSet::GetHighlightTooltip ( )
virtual

Return tooltip for highlighted element if always-sec-select is set.

Otherwise return the tooltip for this element.

Reimplemented from TEveElement.

Definition at line 208 of file TEveDigitSet.cxx.

◆ GetHistoButtons()

Bool_t TEveDigitSet::GetHistoButtons ( ) const
inline

Definition at line 169 of file TEveDigitSet.h.

◆ GetId()

TObject * TEveDigitSet::GetId ( Int_t  n) const

Return external TObject associated with digit n.

Definition at line 365 of file TEveDigitSet.cxx.

◆ GetObject()

virtual TObject* TEveDigitSet::GetObject ( const TEveException eh) const
inlinevirtual

Get a TObject associated with this render-element.

Most cases uses double-inheritance from TEveElement and TObject so we just do a dynamic cast here. If some TEveElement descendant implements a different scheme, this virtual method should be overriden accordingly.

Reimplemented from TEveElement.

Definition at line 89 of file TEveDigitSet.h.

◆ GetOwnIds()

Bool_t TEveDigitSet::GetOwnIds ( ) const
inline

Definition at line 120 of file TEveDigitSet.h.

◆ GetPalette()

TEveRGBAPalette* TEveDigitSet::GetPalette ( ) const
inline

Definition at line 159 of file TEveDigitSet.h.

◆ GetPlex()

TEveChunkManager* TEveDigitSet::GetPlex ( )
inline

Definition at line 146 of file TEveDigitSet.h.

◆ GetRenderMode()

ERenderMode_e TEveDigitSet::GetRenderMode ( ) const
inline

Definition at line 163 of file TEveDigitSet.h.

◆ GetSelectViaFrame()

Bool_t TEveDigitSet::GetSelectViaFrame ( ) const
inline

Definition at line 151 of file TEveDigitSet.h.

◆ GetTooltipCBFoo()

TooltipCB_foo TEveDigitSet::GetTooltipCBFoo ( ) const
inline

Definition at line 178 of file TEveDigitSet.h.

◆ GetUserData()

void * TEveDigitSet::GetUserData ( Int_t  n) const

Get user-data associated with digit n.

Definition at line 373 of file TEveDigitSet.cxx.

◆ GetValueIsColor()

Bool_t TEveDigitSet::GetValueIsColor ( ) const
inline

Definition at line 157 of file TEveDigitSet.h.

◆ NewDigit()

TEveDigitSet::DigitBase_t * TEveDigitSet::NewDigit ( )
protected

Function providing highlight tooltips when always-sec-select is active.

Protected method called whenever a new digit is added.

Definition at line 135 of file TEveDigitSet.cxx.

◆ operator=()

TEveDigitSet& TEveDigitSet::operator= ( const TEveDigitSet )
private

◆ Paint()

void TEveDigitSet::Paint ( Option_t option = "")
virtual

Paint this object. Only direct rendering is supported.

Reimplemented from TObject.

Definition at line 381 of file TEveDigitSet.cxx.

◆ RefitPlex()

void TEveDigitSet::RefitPlex ( )

Instruct underlying memory allocator to regroup itself into a contiguous memory chunk.

Definition at line 236 of file TEveDigitSet.cxx.

◆ ReleaseIds()

void TEveDigitSet::ReleaseIds ( )
protected

Protected method.

Release and delete the referenced objects, the ownership is NOT checked.

Definition at line 146 of file TEveDigitSet.cxx.

◆ ScanMinMaxValues()

void TEveDigitSet::ScanMinMaxValues ( Int_t min,
Int_t max 
)

Iterate over the digits and determine min and max signal values.

Definition at line 244 of file TEveDigitSet.cxx.

◆ SecSelected()

void TEveDigitSet::SecSelected ( TEveDigitSet qs,
Int_t  idx 
)
virtual

Emit a SecSelected signal.

This is by-passed when always-secondary-select is active.

Definition at line 412 of file TEveDigitSet.cxx.

◆ SetAntiFlick()

void TEveDigitSet::SetAntiFlick ( Bool_t  f)
inline

Definition at line 95 of file TEveDigitSet.h.

◆ SetCallbackFoo()

void TEveDigitSet::SetCallbackFoo ( Callback_foo  f)
inline

Definition at line 176 of file TEveDigitSet.h.

◆ SetCurrentDigit()

void TEveDigitSet::SetCurrentDigit ( Int_t  idx)

Set current digit – the one that will receive calls to DigitValue/Color/Id/UserData() functions.

Note that various AddXyzz() functions set the current digit to the newly added one.

Definition at line 276 of file TEveDigitSet.cxx.

◆ SetDisableLighting()

void TEveDigitSet::SetDisableLighting ( Bool_t  l)
inline

Definition at line 167 of file TEveDigitSet.h.

◆ SetEmitSignals()

void TEveDigitSet::SetEmitSignals ( Bool_t  f)
inline

Definition at line 173 of file TEveDigitSet.h.

◆ SetFrame()

void TEveDigitSet::SetFrame ( TEveFrameBox b)

Set TEveFrameBox pointer.

Definition at line 424 of file TEveDigitSet.cxx.

◆ SetHighlightFrame()

void TEveDigitSet::SetHighlightFrame ( Bool_t  hf)
inline

Definition at line 155 of file TEveDigitSet.h.

◆ SetHistoButtons()

void TEveDigitSet::SetHistoButtons ( Bool_t  f)
inline

Definition at line 170 of file TEveDigitSet.h.

◆ SetMainColor()

void TEveDigitSet::SetMainColor ( Color_t  color)
virtual

Override from TEveElement, forward to Frame.

Reimplemented from TEveElement.

Definition at line 171 of file TEveDigitSet.cxx.

◆ SetOwnIds()

void TEveDigitSet::SetOwnIds ( Bool_t  o)
inline

Definition at line 121 of file TEveDigitSet.h.

◆ SetPalette()

void TEveDigitSet::SetPalette ( TEveRGBAPalette p)

Set TEveRGBAPalette pointer.

Definition at line 442 of file TEveDigitSet.cxx.

◆ SetRenderMode()

void TEveDigitSet::SetRenderMode ( ERenderMode_e  rm)
inline

Definition at line 164 of file TEveDigitSet.h.

◆ SetSelectViaFrame()

void TEveDigitSet::SetSelectViaFrame ( Bool_t  sf)
inline

Definition at line 152 of file TEveDigitSet.h.

◆ SetTooltipCBFoo()

void TEveDigitSet::SetTooltipCBFoo ( TooltipCB_foo  f)
inline

Definition at line 179 of file TEveDigitSet.h.

◆ UnHighlighted()

void TEveDigitSet::UnHighlighted ( )
virtual

Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0.

Reimplemented from TEveElement.

Definition at line 198 of file TEveDigitSet.cxx.

◆ UnSelected()

void TEveDigitSet::UnSelected ( )
virtual

Virtual function called when both fSelected is false and fImpliedSelected is 0.

Reimplemented from TEveElement.

Definition at line 188 of file TEveDigitSet.cxx.

◆ UseSingleColor()

void TEveDigitSet::UseSingleColor ( )

Instruct digit-set to use single color for its digits.

Call SetMainColor/Transparency to initialize it.

Definition at line 163 of file TEveDigitSet.cxx.

Friends And Related Function Documentation

◆ TEveDigitSetEditor

friend class TEveDigitSetEditor
friend

Definition at line 35 of file TEveDigitSet.h.

◆ TEveDigitSetGL

friend class TEveDigitSetGL
friend

Definition at line 36 of file TEveDigitSet.h.

Member Data Documentation

◆ fAntiFlick

Bool_t TEveDigitSet::fAntiFlick
protected

Definition at line 63 of file TEveDigitSet.h.

◆ fCallbackFoo

Callback_foo TEveDigitSet::fCallbackFoo
protected

Definition at line 79 of file TEveDigitSet.h.

◆ fColor

Color_t TEveDigitSet::fColor
protected

The last / current idx added to collection.

Definition at line 69 of file TEveDigitSet.h.

◆ fDefaultValue

Int_t TEveDigitSet::fDefaultValue
protected

Definition at line 60 of file TEveDigitSet.h.

◆ fDigitIds

TRefArray* TEveDigitSet::fDigitIds
protected

Definition at line 58 of file TEveDigitSet.h.

◆ fDisableLighting

Bool_t TEveDigitSet::fDisableLighting
protected

Definition at line 75 of file TEveDigitSet.h.

◆ fEmitSignals

Bool_t TEveDigitSet::fEmitSignals
protected

Definition at line 78 of file TEveDigitSet.h.

◆ fFrame

TEveFrameBox* TEveDigitSet::fFrame
protected

Definition at line 70 of file TEveDigitSet.h.

◆ fHighlightFrame

Bool_t TEveDigitSet::fHighlightFrame
protected

Definition at line 74 of file TEveDigitSet.h.

◆ fHistoButtons

Bool_t TEveDigitSet::fHistoButtons
protected

Definition at line 76 of file TEveDigitSet.h.

◆ fLastDigit

DigitBase_t* TEveDigitSet::fLastDigit
protected

Definition at line 66 of file TEveDigitSet.h.

◆ fLastIdx

Int_t TEveDigitSet::fLastIdx
protected

The last / current digit added to collection.

Definition at line 67 of file TEveDigitSet.h.

◆ fOwnIds

Bool_t TEveDigitSet::fOwnIds
protected

Definition at line 64 of file TEveDigitSet.h.

◆ fPalette

TEveRGBAPalette* TEveDigitSet::fPalette
protected

Definition at line 71 of file TEveDigitSet.h.

◆ fPlex

TEveChunkManager TEveDigitSet::fPlex
protected

Definition at line 65 of file TEveDigitSet.h.

◆ fRenderMode

ERenderMode_e TEveDigitSet::fRenderMode
protected

Definition at line 72 of file TEveDigitSet.h.

◆ fSelectViaFrame

Bool_t TEveDigitSet::fSelectViaFrame
protected

Definition at line 73 of file TEveDigitSet.h.

◆ fSingleColor

Bool_t TEveDigitSet::fSingleColor
protected

Definition at line 62 of file TEveDigitSet.h.

◆ fTooltipCBFoo

TooltipCB_foo TEveDigitSet::fTooltipCBFoo
protected

Additional function to call on secondary-select.

Definition at line 80 of file TEveDigitSet.h.

◆ fValueIsColor

Bool_t TEveDigitSet::fValueIsColor
protected

Definition at line 61 of file TEveDigitSet.h.


The documentation for this class was generated from the following files: