Logo ROOT  
Reference Guide
TEveElement.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEveElement
13 #define ROOT_TEveElement
14 
15 #include "TEveUtil.h"
16 #include "TEveProjectionBases.h"
17 
18 #include "TNamed.h"
19 #include "TRef.h"
20 #include <list>
21 #include <set>
22 
23 class TGListTree;
24 class TGListTreeItem;
25 class TGPicture;
26 
27 class TEveCompound;
28 class TEveTrans;
29 class TGeoMatrix;
30 
31 /******************************************************************************/
32 // TEveElement
33 /******************************************************************************/
34 
36 {
37  friend class TEveManager;
38 
39  TEveElement& operator=(const TEveElement&) = delete;
40 
41 public:
43  {
44  public:
47 
51  virtual ~TEveListTreeInfo() {}
52 
54  { fTree = l.fTree; fItem = l.fItem; return *this; }
55 
56  bool operator==(const TEveListTreeInfo& x) const
57  { return fTree == x.fTree && fItem == x.fItem; }
58  bool operator<(const TEveListTreeInfo& x) const
59  { return fTree == x.fTree ? fItem < x.fItem : fTree < x.fTree; }
60 
61  ClassDef(TEveListTreeInfo, 0); // Structure agregating data for a render element image in a list tree.
62  };
63 
64  static const TGPicture* fgRnrIcons[4];
65  static const TGPicture* fgListTreeIcons[9];
66 
67  typedef std::set<TEveListTreeInfo> sLTI_t;
68  typedef sLTI_t::iterator sLTI_i;
69  typedef sLTI_t::reverse_iterator sLTI_ri;
70 
71  typedef std::list<TEveElement*> List_t;
72  typedef List_t::iterator List_i;
73  typedef List_t::const_iterator List_ci;
74 
75  typedef std::set<TEveElement*> Set_t;
76  typedef Set_t::iterator Set_i;
77  typedef Set_t::const_iterator Set_ci;
78 
79 protected:
80  List_t fParents; // List of parents.
81  List_t fChildren; // List of children.
82  TEveCompound *fCompound; // Compound this object belongs to.
83  TEveElement *fVizModel; //! Element used as model from VizDB.
84  TString fVizTag; // Tag used to query VizDB for model element.
85 
87  Int_t fParentIgnoreCnt; //! Counter for parents that are ignored in ref-counting.
88  Int_t fTopItemCnt; //! Counter for top-level list-tree items that prevent automatic destruction.
89  Int_t fDenyDestroy; //! Deny-destroy count.
90  Bool_t fDestroyOnZeroRefCnt; // Auto-destruct when ref-count reaches zero.
91 
92  Bool_t fRnrSelf; // Render this element.
93  Bool_t fRnrChildren; // Render children of this element.
94  Bool_t fCanEditMainColor; // Allow editing of main color.
95  Bool_t fCanEditMainTransparency; // Allow editing of main transparency.
96  Bool_t fCanEditMainTrans; // Allow editing of main transformation.
97 
98  Char_t fMainTransparency; // Main-transparency variable.
99  Color_t *fMainColorPtr; // Pointer to main-color variable.
100  TEveTrans *fMainTrans; // Pointer to main transformation matrix.
101 
102  sLTI_t fItems; //! Set of list-tree-items.
103 
104  TRef fSource; // External object that is represented by this element.
105  void *fUserData; //! Externally assigned and controlled user data.
106 
107  virtual void PreDeleteElement();
108  virtual void RemoveElementsInternal();
109  virtual void AnnihilateRecursively();
110 
111  static const char* ToString(Bool_t b);
112 
113 public:
114  TEveElement();
115  TEveElement(Color_t& main_color);
116  TEveElement(const TEveElement& e);
117  virtual ~TEveElement();
118 
119  virtual TEveElement* CloneElement() const;
120  virtual TEveElement* CloneElementRecurse(Int_t level=0) const;
121  virtual void CloneChildrenRecurse(TEveElement* dest, Int_t level=0) const;
122 
123  virtual const char* GetElementName() const;
124  virtual const char* GetElementTitle() const;
126  virtual void SetElementName (const char* name);
127  virtual void SetElementTitle(const char* title);
128  virtual void SetElementNameTitle(const char* name, const char* title);
129  virtual void NameTitleChanged();
130 
131  const TString& GetVizTag() const { return fVizTag; }
132  void SetVizTag(const TString& tag) { fVizTag = tag; }
133 
134  TEveElement* GetVizModel() const { return fVizModel; }
137 
138  Bool_t ApplyVizTag(const TString& tag, const TString& fallback_tag="");
139 
140  virtual void PropagateVizParamsToProjecteds();
141  virtual void PropagateVizParamsToElements(TEveElement* el=0);
142  virtual void CopyVizParams(const TEveElement* el);
143  virtual void CopyVizParamsFromDB();
144  void SaveVizParams (std::ostream& out, const TString& tag, const TString& var);
145  virtual void WriteVizParams(std::ostream& out, const TString& var);
146 
150 
151  virtual void AddParent(TEveElement* re);
152  virtual void RemoveParent(TEveElement* re);
153  virtual void CheckReferenceCount(const TEveException& eh="TEveElement::CheckReferenceCount ");
154  virtual void CollectSceneParents(List_t& scenes);
155  virtual void CollectSceneParentsFromChildren(List_t& scenes,
156  TEveElement* parent);
157 
158  List_i BeginParents() { return fParents.begin(); }
159  List_i EndParents() { return fParents.end(); }
160  List_ci BeginParents() const { return fParents.begin(); }
161  List_ci EndParents() const { return fParents.end(); }
162  Int_t NumParents() const { return fParents.size(); }
163  Bool_t HasParents() const { return !fParents.empty(); }
164 
165  const List_t& RefChildren() const { return fChildren; }
166  List_i BeginChildren() { return fChildren.begin(); }
167  List_i EndChildren() { return fChildren.end(); }
168  List_ci BeginChildren() const { return fChildren.begin(); }
169  List_ci EndChildren() const { return fChildren.end(); }
170  Int_t NumChildren() const { return fNumChildren; }
171  Bool_t HasChildren() const { return fNumChildren != 0; }
172 
174  TEveElement* FindChild(const TString& name, const TClass* cls=0);
175  TEveElement* FindChild(TPRegexp& regexp, const TClass* cls=0);
176  Int_t FindChildren(List_t& matches, const TString& name, const TClass* cls=0);
177  Int_t FindChildren(List_t& matches, TPRegexp& regexp, const TClass* cls=0);
178  TEveElement* FirstChild() const;
179  TEveElement* LastChild () const;
180 
181  void EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE); // *MENU*
182  void DisableListElements(Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE); // *MENU*
183 
186 
187  Int_t GetDenyDestroy() const;
188  void IncDenyDestroy();
189  void DecDenyDestroy();
190 
191  Int_t GetParentIgnoreCnt() const;
192  void IncParentIgnoreCnt();
193  void DecParentIgnoreCnt();
194 
195  virtual void PadPaint(Option_t* option);
196  virtual void PaintStandard(TObject* id);
197 
198  virtual TObject* GetObject (const TEveException& eh) const;
199  virtual TObject* GetEditorObject(const TEveException& eh) const { return GetObject(eh); }
200  virtual TObject* GetRenderObject(const TEveException& eh) const { return GetObject(eh); }
201 
202  // --------------------------------
203 
204  virtual void ExpandIntoListTree(TGListTree* ltree, TGListTreeItem* parent);
205  virtual void DestroyListSubTree(TGListTree* ltree, TGListTreeItem* parent);
206 
207  virtual TGListTreeItem* AddIntoListTree(TGListTree* ltree,
208  TGListTreeItem* parent_lti);
209  virtual TGListTreeItem* AddIntoListTree(TGListTree* ltree,
210  TEveElement* parent);
211  virtual TGListTreeItem* AddIntoListTrees(TEveElement* parent);
212 
213  virtual Bool_t RemoveFromListTree(TGListTree* ltree,
214  TGListTreeItem* parent_lti);
215  virtual Int_t RemoveFromListTrees(TEveElement* parent);
216 
217  virtual sLTI_i FindItem(TGListTree* ltree);
218  virtual sLTI_i FindItem(TGListTree* ltree,
219  TGListTreeItem* parent_lti);
220  virtual TGListTreeItem* FindListTreeItem(TGListTree* ltree);
222  TGListTreeItem* parent_lti);
223 
224  virtual Int_t GetNItems() const { return fItems.size(); }
225 
226  void SpawnEditor(); // *MENU*
227  virtual void ExportToCINT(char* var_name); // *MENU*
228 
229  void DumpSourceObject() const; // *MENU*
230  void PrintSourceObject() const; // *MENU*
231  void ExportSourceObjectToCINT(char* var_name) const; // *MENU*
232 
233  virtual Bool_t AcceptElement(TEveElement* el);
234 
235  virtual void AddElement(TEveElement* el);
236  virtual void RemoveElement(TEveElement* el);
237  virtual void RemoveElementLocal(TEveElement* el);
238  virtual void RemoveElements();
239  virtual void RemoveElementsLocal();
240 
241  virtual void AnnihilateElements();
242  virtual void Annihilate();
243 
244  virtual void ProjectChild(TEveElement* el, Bool_t same_depth=kTRUE);
245  virtual void ProjectAllChildren(Bool_t same_depth=kTRUE);
246 
247  virtual void Destroy(); // *MENU*
248  virtual void DestroyOrWarn();
249  virtual void DestroyElements(); // *MENU*
250 
252  virtual void ElementChanged(Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE);
253 
254  virtual Bool_t CanEditElement() const { return kTRUE; }
255  virtual Bool_t SingleRnrState() const { return kFALSE; }
256  virtual Bool_t GetRnrSelf() const { return fRnrSelf; }
257  virtual Bool_t GetRnrChildren() const { return fRnrChildren; }
258  virtual Bool_t GetRnrState() const { return fRnrSelf && fRnrChildren; }
259  virtual Bool_t GetRnrAnything() const { return fRnrSelf || (fRnrChildren && HasChildren()); }
260  virtual Bool_t SetRnrSelf(Bool_t rnr);
261  virtual Bool_t SetRnrChildren(Bool_t rnr);
262  virtual Bool_t SetRnrSelfChildren(Bool_t rnr_self, Bool_t rnr_children);
263  virtual Bool_t SetRnrState(Bool_t rnr);
264  virtual void PropagateRnrStateToProjecteds();
265 
266  virtual Bool_t CanEditMainColor() const { return fCanEditMainColor; }
268  Color_t* GetMainColorPtr() const { return fMainColorPtr; }
269  void SetMainColorPtr(Color_t* color) { fMainColorPtr = color; }
270 
271  virtual Bool_t HasMainColor() const { return fMainColorPtr != 0; }
272  virtual Color_t GetMainColor() const { return fMainColorPtr ? *fMainColorPtr : 0; }
273  virtual void SetMainColor(Color_t color);
274  void SetMainColorPixel(Pixel_t pixel);
277  virtual void PropagateMainColorToProjecteds(Color_t color, Color_t old_color);
278 
281  virtual Char_t GetMainTransparency() const { return fMainTransparency; }
282  virtual void SetMainTransparency(Char_t t);
283  void SetMainAlpha(Float_t alpha);
284  virtual void PropagateMainTransparencyToProjecteds(Char_t t, Char_t old_t);
285 
286  virtual Bool_t CanEditMainTrans() const { return fCanEditMainTrans; }
287  virtual Bool_t HasMainTrans() const { return fMainTrans != 0; }
288  virtual TEveTrans* PtrMainTrans(Bool_t create=kTRUE);
289  virtual TEveTrans& RefMainTrans();
290  virtual void InitMainTrans(Bool_t can_edit=kTRUE);
291  virtual void DestroyMainTrans();
292 
293  virtual void SetTransMatrix(Double_t* carr);
294  virtual void SetTransMatrix(const TGeoMatrix& mat);
295 
296  TRef& GetSource() { return fSource; }
297  TObject* GetSourceObject() const { return fSource.GetObject(); }
298  void SetSourceObject(TObject* o) { fSource = o; }
299  /*
300  void DumpSourceObject(); // *MENU*
301  void InspectSourceObject(); // *MENU*
302  */
303 
304  void* GetUserData() const { return fUserData; }
305  void SetUserData(void* ud) { fUserData = ud; }
306 
307 
308  // Selection state and management
309  //--------------------------------
310 
311 protected:
317 
319  {
320  kCSCBImplySelectAllChildren = BIT(0), // compound will select all children
321  kCSCBTakeAnyParentAsMaster = BIT(1), // element will take any compound parent as master
322  kCSCBApplyMainColorToAllChildren = BIT(2), // compound will apply color change to all children
323  kCSCBApplyMainColorToMatchingChildren = BIT(3), // compound will apply color change to all children with matching color
324  kCSCBApplyMainTransparencyToAllChildren = BIT(4), // compound will apply transparency change to all children
325  kCSCBApplyMainTransparencyToMatchingChildren = BIT(5) // compound will apply transparency change to all children with matching color
326  };
327 
329  {
333  };
334 
336 
337 public:
340 
341  Bool_t IsPickable() const { return fPickable; }
342  void SetPickable(Bool_t p) { fPickable = p; }
344 
345  virtual TEveElement* ForwardSelection();
346  virtual TEveElement* ForwardEdit();
347 
348  virtual void SelectElement(Bool_t state);
349  virtual void IncImpliedSelected();
350  virtual void DecImpliedSelected();
351  virtual void UnSelected();
352 
353  virtual void HighlightElement(Bool_t state);
354  virtual void IncImpliedHighlighted();
355  virtual void DecImpliedHighlighted();
356  virtual void UnHighlighted();
357 
358  virtual void FillImpliedSelectedSet(Set_t& impSelSet);
359 
360  virtual UChar_t GetSelectedLevel() const;
361 
363 
364  void SetCSCBits(UChar_t f) { fCSCBits |= f; }
365  void ResetCSCBits(UChar_t f) { fCSCBits &= ~f; }
366  Bool_t TestCSCBits(UChar_t f) const { return (fCSCBits & f) != 0; }
367 
368  void ResetAllCSCBits() { fCSCBits = 0; }
375 
376 
377  // Change-stamping and change bits
378  //---------------------------------
379 
381  {
382  kCBColorSelection = BIT(0), // Main color or select/hilite state changed.
383  kCBTransBBox = BIT(1), // Transformation matrix or bounding-box changed.
384  kCBObjProps = BIT(2), // Object changed, requires dropping its display-lists.
385  kCBVisibility = BIT(3) // Rendering of self/children changed.
386  // kCBElementAdded = BIT(), // Element was added to a new parent.
387  // kCBElementRemoved = BIT() // Element was removed from a parent.
388 
389  // Deletions are handled in a special way in TEveManager::PreDeleteElement().
390  };
391 
392 protected:
395 
396 public:
401  // void StampElementAdded() { AddStamp(kCBElementAdded); }
402  // void StampElementRemoved() { AddStamp(kCBElementRemoved); }
403  virtual void AddStamp(UChar_t bits);
404  virtual void ClearStamps() { fChangeBits = 0; }
405 
406  UChar_t GetChangeBits() const { return fChangeBits; }
407 
408 
409  // List-tree icons
410  //-----------------
411 
412  virtual const TGPicture* GetListTreeIcon(Bool_t open=kFALSE);
413  virtual const TGPicture* GetListTreeCheckBoxIcon();
414 
415  // Menu entries for VizDB communication (here so they are last in the menu).
416 
417  void VizDB_Apply(const char* tag); // *MENU*
418  void VizDB_Reapply(); // *MENU*
419  void VizDB_UpdateModel(Bool_t update=kTRUE); // *MENU*
420  void VizDB_Insert(const char* tag, Bool_t replace=kTRUE, Bool_t update=kTRUE); // *MENU*
421 
422  ClassDef(TEveElement, 0); // Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and list-tree item management.
423 };
424 
425 
426 /******************************************************************************/
427 // TEveElementList
428 /******************************************************************************/
429 
431  public TNamed,
432  public TEveProjectable
433 {
434 private:
435  TEveElementList& operator=(const TEveElementList&); // Not implemented
436 
437 protected:
438  Color_t fColor; // Color of the object.
439  TClass *fChildClass; // Class of acceptable children, others are rejected.
440 
441 public:
442  TEveElementList(const char* n="TEveElementList", const char* t="",
443  Bool_t doColor=kFALSE, Bool_t doTransparency=kFALSE);
445  virtual ~TEveElementList() {}
446 
447  virtual TObject* GetObject(const TEveException& /*eh*/="TEveElementList::GetObject ") const
448  { const TObject* obj = this; return const_cast<TObject*>(obj); }
449 
450  virtual TEveElementList* CloneElement() const;
451 
452  virtual const char* GetElementName() const { return GetName(); }
453  virtual const char* GetElementTitle() const { return GetTitle(); }
454 
455  virtual void SetElementName (const char* name)
457 
458  virtual void SetElementTitle(const char* title)
459  { TNamed::SetTitle(title); NameTitleChanged(); }
460 
461  virtual void SetElementNameTitle(const char* name, const char* title)
463 
464  TClass* GetChildClass() const { return fChildClass; }
466 
467  virtual Bool_t AcceptElement(TEveElement* el);
468 
469  virtual TClass* ProjectedClass(const TEveProjection* p) const;
470 
471  ClassDef(TEveElementList, 0); // List of TEveElement objects with a possibility to limit the class of accepted elements.
472 };
473 
474 
475 /******************************************************************************/
476 // TEveElementListProjected
477 /******************************************************************************/
478 
480  public TEveProjected
481 {
482 private:
485 
486 public:
489 
490  virtual void UpdateProjection();
491  virtual TEveElement* GetProjectedAsElement() { return this; }
492 
493  ClassDef(TEveElementListProjected, 0); // Projected TEveElementList.
494 };
495 
496 #endif
TEveElementList::SetElementName
virtual void SetElementName(const char *name)
Virtual function for setting of name of an element.
Definition: TEveElement.h:455
TEveElementListProjected::TEveElementListProjected
TEveElementListProjected(const TEveElementListProjected &)
TEveElement::ApplyVizTag
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.
Definition: TEveElement.cxx:397
TEveElement::SetPickable
void SetPickable(Bool_t p)
Definition: TEveElement.h:342
TEveElement::HasChildren
Bool_t HasChildren() const
Definition: TEveElement.h:171
c
#define c(i)
Definition: RSha256.hxx:101
TEveElement::SetMainColorPixel
void SetMainColorPixel(Pixel_t pixel)
Convert pixel to Color_t and call SetMainColor().
Definition: TEveElement.cxx:1174
l
auto * l
Definition: textangle.C:4
TEveElement::fDenyDestroy
Int_t fDenyDestroy
Counter for top-level list-tree items that prevent automatic destruction.
Definition: TEveElement.h:89
TEveElement::SetRnrSelfChildren
virtual Bool_t SetRnrSelfChildren(Bool_t rnr_self, Bool_t rnr_children)
Set state for rendering of this element and its children.
Definition: TEveElement.cxx:1104
TEveElement::GetVizTag
const TString & GetVizTag() const
Definition: TEveElement.h:131
n
const Int_t n
Definition: legend1.C:16
TEveElement::fCanEditMainTrans
Bool_t fCanEditMainTrans
Definition: TEveElement.h:96
TEveElement::FindItem
virtual sLTI_i FindItem(TGListTree *ltree)
Find any list-tree-item of this element in list-tree 'ltree'.
Definition: TEveElement.cxx:883
TEveElement::fRnrSelf
Bool_t fRnrSelf
Definition: TEveElement.h:92
TEveElement::GetRnrAnything
virtual Bool_t GetRnrAnything() const
Definition: TEveElement.h:259
TEveElement::TEveListTreeInfo::operator<
bool operator<(const TEveListTreeInfo &x) const
Definition: TEveElement.h:58
TEveElement::FirstChild
TEveElement * FirstChild() const
Returns the first child element or 0 if the list is empty.
Definition: TEveElement.cxx:1563
TEveElement::fgRnrIcons
static const TGPicture * fgRnrIcons[4]
Definition: TEveElement.h:64
TEveElement::GetRnrState
virtual Bool_t GetRnrState() const
Definition: TEveElement.h:258
TEveElement::GetMainTransparency
virtual Char_t GetMainTransparency() const
Definition: TEveElement.h:281
TEveElement::SetUserData
void SetUserData(void *ud)
Definition: TEveElement.h:305
TEveElement::PaintStandard
virtual void PaintStandard(TObject *id)
Paint object – a generic implementation for EVE elements.
Definition: TEveElement.cxx:1034
TEveElement::fMainTransparency
Char_t fMainTransparency
Definition: TEveElement.h:98
TEveElement::CanEditMainTransparency
virtual Bool_t CanEditMainTransparency() const
Definition: TEveElement.h:279
TEveElement
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
Definition: TEveElement.h:36
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
TEveTrans
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
Definition: TEveTrans.h:27
e
#define e(i)
Definition: RSha256.hxx:103
TEveElement::GetDenyDestroy
Int_t GetDenyDestroy() const
Returns the number of times deny-destroy has been requested on the element.
Definition: TEveElement.cxx:1785
TEveElement::Destroy
virtual void Destroy()
Destroy this element.
Definition: TEveElement.cxx:1700
TEveElement::SetElementName
virtual void SetElementName(const char *name)
Virtual function for setting of name of an element.
Definition: TEveElement.cxx:292
TEveElement::DecDenyDestroy
void DecDenyDestroy()
Decreases the deny-destroy count of the element.
Definition: TEveElement.cxx:1803
TEveElement::ForwardSelection
virtual TEveElement * ForwardSelection()
Returns element to be selected on click.
Definition: TEveElement.cxx:1874
TEveElement::GetSelectedLevel
virtual UChar_t GetSelectedLevel() const
Get selection level, needed for rendering selection and highlight feedback.
Definition: TEveElement.cxx:2003
TEveElement::PadPaint
virtual void PadPaint(Option_t *option)
Paint self and/or children into currently active pad.
Definition: TEveElement.cxx:1012
TEveElement::SetVizModel
void SetVizModel(TEveElement *model)
Set visualization-parameter model element.
Definition: TEveElement.cxx:355
TEveElement::sLTI_i
sLTI_t::iterator sLTI_i
Definition: TEveElement.h:68
TEveElement::fPickable
Bool_t fPickable
Definition: TEveElement.h:312
TGPicture
Definition: TGPicture.h:36
f
#define f(i)
Definition: RSha256.hxx:104
TNamed::SetNameTitle
virtual void SetNameTitle(const char *name, const char *title)
Set all the TNamed parameters (name and title).
Definition: TNamed.cxx:154
TEveElement::RemoveParent
virtual void RemoveParent(TEveElement *re)
Remove re from the list of parents.
Definition: TEveElement.cxx:645
TEveElement::GetEditorObject
virtual TObject * GetEditorObject(const TEveException &eh) const
Definition: TEveElement.h:199
TNamed::SetName
virtual void SetName(const char *name)
Set the name of the TNamed.
Definition: TNamed.cxx:140
Option_t
const char Option_t
Definition: RtypesCore.h:66
dest
#define dest(otri, vertexptr)
Definition: triangle.c:1040
TEveElement::ExportSourceObjectToCINT
void ExportSourceObjectToCINT(char *var_name) const
Export source object to CINT with given name for the variable.
Definition: TEveElement.cxx:997
TEveElement::GetDestroyOnZeroRefCnt
Bool_t GetDestroyOnZeroRefCnt() const
Returns state of flag determining if the element will be destroyed when reference count reaches zero.
Definition: TEveElement.cxx:1766
TEveElement::RemoveElementLocal
virtual void RemoveElementLocal(TEveElement *el)
Perform additional local removal of el.
Definition: TEveElement.cxx:1360
TEveElement::fVizModel
TEveElement * fVizModel
Definition: TEveElement.h:83
TEveElement::fRnrChildren
Bool_t fRnrChildren
Definition: TEveElement.h:93
TEveElement::PropagateVizParamsToProjecteds
virtual void PropagateVizParamsToProjecteds()
Propagate visualization parameters to dependent elements.
Definition: TEveElement.cxx:427
TEveElement::fTopItemCnt
Int_t fTopItemCnt
Counter for parents that are ignored in ref-counting.
Definition: TEveElement.h:88
TEveElement::kCBObjProps
@ kCBObjProps
Definition: TEveElement.h:384
TEveElementListProjected::operator=
TEveElementListProjected & operator=(const TEveElementListProjected &)
TEveElement::HandleElementPaste
virtual Bool_t HandleElementPaste(TEveElement *el)
React to element being pasted or dnd-ed.
Definition: TEveElement.cxx:1842
Pixel_t
ULong_t Pixel_t
Definition: GuiTypes.h:39
TEveElement::ProjectAllChildren
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 childre...
Definition: TEveElement.cxx:1448
TEveElement::GetHighlightTooltip
virtual TString GetHighlightTooltip()
Definition: TEveElement.h:125
TEveElement::kCSCBApplyMainColorToAllChildren
@ kCSCBApplyMainColorToAllChildren
Definition: TEveElement.h:322
TNamed::GetTitle
virtual const char * GetTitle() const
Returns title of object.
Definition: TNamed.h:48
TEveElement::CopyVizParams
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
Definition: TEveElement.cxx:462
TEveElementList::TEveElementList
TEveElementList(const char *n="TEveElementList", const char *t="", Bool_t doColor=kFALSE, Bool_t doTransparency=kFALSE)
Constructor.
Definition: TEveElement.cxx:2089
TEveElement::HasMainTrans
virtual Bool_t HasMainTrans() const
Definition: TEveElement.h:287
TEveElement::NumParents
Int_t NumParents() const
Definition: TEveElement.h:162
TEveElement::TestCSCBits
Bool_t TestCSCBits(UChar_t f) const
Definition: TEveElement.h:366
TEveProjection
Base-class for non-linear projections.
Definition: TEveProjections.h:27
TEveElement::IncParentIgnoreCnt
void IncParentIgnoreCnt()
Increase number of parents ignored in reference-counting.
Definition: TEveElement.cxx:1824
r
ROOT::R::TRInterface & r
Definition: Object.C:4
TEveElement::fMainColorPtr
Color_t * fMainColorPtr
Definition: TEveElement.h:99
TEveElement::TEveListTreeInfo::TEveListTreeInfo
TEveListTreeInfo()
Definition: TEveElement.h:48
TNamed.h
TEveElement::SingleRnrState
virtual Bool_t SingleRnrState() const
Definition: TEveElement.h:255
TEveElement::SetEditMainTransparency
void SetEditMainTransparency(Bool_t x)
Definition: TEveElement.h:280
TEveElement::TEveListTreeInfo::operator==
bool operator==(const TEveListTreeInfo &x) const
Definition: TEveElement.h:56
TEveElement::kAnnihilate
@ kAnnihilate
Definition: TEveElement.h:332
TRef::GetObject
TObject * GetObject() const
Return a pointer to the referenced object.
Definition: TRef.cxx:377
TEveElement::kCSCBImplySelectAllChildren
@ kCSCBImplySelectAllChildren
Definition: TEveElement.h:320
TEveElement::TEveListTreeInfo::operator=
TEveListTreeInfo & operator=(const TEveListTreeInfo &l)
Definition: TEveElement.h:53
TEveElement::CloneElementRecurse
virtual TEveElement * CloneElementRecurse(Int_t level=0) const
Clone elements and recurse 'level' deep over children.
Definition: TEveElement.cxx:234
TEveElement::GetRnrSelf
virtual Bool_t GetRnrSelf() const
Definition: TEveElement.h:256
TEveCompound
Description of TEveCompound.
Definition: TEveCompound.h:24
TEveElement::fItems
sLTI_t fItems
Definition: TEveElement.h:102
TEveElement::DecParentIgnoreCnt
void DecParentIgnoreCnt()
Decrease number of parents ignored in reference-counting.
Definition: TEveElement.cxx:1832
TEveElement::SetVizTag
void SetVizTag(const TString &tag)
Definition: TEveElement.h:132
TEveElement::ToString
static const char * ToString(Bool_t b)
Convert Bool_t to string - kTRUE or kFALSE.
Definition: TEveElement.cxx:2067
Float_t
float Float_t
Definition: RtypesCore.h:57
TEveElement::fUserData
void * fUserData
Definition: TEveElement.h:105
TEveElement::fgListTreeIcons
static const TGPicture * fgListTreeIcons[9]
Definition: TEveElement.h:65
Int_t
int Int_t
Definition: RtypesCore.h:45
TEveElement::FindChildren
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.
Definition: TEveElement.cxx:1518
TEveElement::IncDenyDestroy
void IncDenyDestroy()
Increases the deny-destroy count of the element.
Definition: TEveElement.cxx:1794
TEveElement::RemoveElementsLocal
virtual void RemoveElementsLocal()
Perform additional local removal of all elements.
Definition: TEveElement.cxx:1402
TEveElement::PropagateMainColorToProjecteds
virtual void PropagateMainColorToProjecteds(Color_t color, Color_t old_color)
Propagate color to projected elements.
Definition: TEveElement.cxx:1198
TEveElement::TEveElement
TEveElement()
Default constructor.
Definition: TEveElement.cxx:61
TEveElement::SetMainColorPtr
void SetMainColorPtr(Color_t *color)
Definition: TEveElement.h:269
TEveElementList::AcceptElement
virtual Bool_t AcceptElement(TEveElement *el)
Check if TEveElement el is inherited from fChildClass.
Definition: TEveElement.cxx:2131
TGListTree
Definition: TGListTree.h:210
TEveElement::SetEditMainColor
void SetEditMainColor(Bool_t x)
Definition: TEveElement.h:267
TEveElement::GetParentIgnoreCnt
Int_t GetParentIgnoreCnt() const
Get number of parents that should be ignored in doing reference-counting.
Definition: TEveElement.cxx:1816
TEveElement::AddStamp
virtual void AddStamp(UChar_t bits)
Add (bitwise or) given stamps to fChangeBits.
Definition: TEveElement.cxx:2035
x
Double_t x[n]
Definition: legend1.C:17
TEveElement::CollectSceneParents
virtual void CollectSceneParents(List_t &scenes)
Collect all parents of class TEveScene.
Definition: TEveElement.cxx:692
TEveElement::SetCSCBits
void SetCSCBits(UChar_t f)
Definition: TEveElement.h:364
TEveElement::kStandard
@ kStandard
Definition: TEveElement.h:331
TEveElement::kCSCBApplyMainColorToMatchingChildren
@ kCSCBApplyMainColorToMatchingChildren
Definition: TEveElement.h:323
TRef.h
TEveElement::SetElementTitle
virtual void SetElementTitle(const char *title)
Virtual function for setting of title of an element.
Definition: TEveElement.cxx:309
TEveElement::DestroyMainTrans
virtual void DestroyMainTrans()
Destroy the main transformation matrix, it will always be taken as identity.
Definition: TEveElement.cxx:1287
TEveElement::GetRenderObject
virtual TObject * GetRenderObject(const TEveException &eh) const
Definition: TEveElement.h:200
TEveElement::ECompoundSelectionColorBits
ECompoundSelectionColorBits
Definition: TEveElement.h:319
TEveElement::VizDB_Apply
void VizDB_Apply(const char *tag)
Set visual parameters for this object for given tag.
Definition: TEveElement.cxx:535
TEveElement::fChildren
List_t fChildren
Definition: TEveElement.h:81
TEveElement::HasChild
Bool_t HasChild(TEveElement *el)
Check if element el is a child of this element.
Definition: TEveElement.cxx:1469
TEveElement::fCanEditMainTransparency
Bool_t fCanEditMainTransparency
Definition: TEveElement.h:95
TEveElement::sLTI_ri
sLTI_t::reverse_iterator sLTI_ri
Definition: TEveElement.h:69
TEveElement::GetUserData
void * GetUserData() const
Definition: TEveElement.h:304
TEveElement::fCompound
TEveCompound * fCompound
Definition: TEveElement.h:82
TEveElement::fCanEditMainColor
Bool_t fCanEditMainColor
Definition: TEveElement.h:94
TEveElement::ClearStamps
virtual void ClearStamps()
Definition: TEveElement.h:404
TEveElement::Set_i
Set_t::iterator Set_i
Definition: TEveElement.h:76
TEveElement::CanEditElement
virtual Bool_t CanEditElement() const
Definition: TEveElement.h:254
TString
Basic string class.
Definition: TString.h:136
ROOT::Math::detail::open
@ open
Definition: GenVectorIO.h:35
TEveElement::List_i
List_t::iterator List_i
Definition: TEveElement.h:72
TEveElement::CSCApplyMainColorToMatchingChildren
void CSCApplyMainColorToMatchingChildren()
Definition: TEveElement.h:372
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
TEveElement::HasParents
Bool_t HasParents() const
Definition: TEveElement.h:163
TEveElementList::GetObject
virtual TObject * GetObject(const TEveException &="TEveElementList::GetObject ") const
Get a TObject associated with this render-element.
Definition: TEveElement.h:447
Color_t
short Color_t
Definition: RtypesCore.h:83
TEveElement::SetRnrState
virtual Bool_t SetRnrState(Bool_t rnr)
Set render state of this element and of its children to the same value.
Definition: TEveElement.cxx:1127
TEveElementList
A list of TEveElements.
Definition: TEveElement.h:433
TEveProjectionBases.h
b
#define b(i)
Definition: RSha256.hxx:100
TEveElement::SetPickableRecursively
void SetPickableRecursively(Bool_t p)
Set pickable state on the element and all its children.
Definition: TEveElement.cxx:1860
TEveElement::GetMainColor
virtual Color_t GetMainColor() const
Definition: TEveElement.h:272
TEveElement::AddIntoListTrees
virtual TGListTreeItem * AddIntoListTrees(TEveElement *parent)
Add this render element into all list-trees and all items belonging to parent.
Definition: TEveElement.cxx:807
TEveElement::TEveListTreeInfo::~TEveListTreeInfo
virtual ~TEveListTreeInfo()
Definition: TEveElement.h:51
bool
TEveElement::CheckReferenceCount
virtual void CheckReferenceCount(const TEveException &eh="TEveElement::CheckReferenceCount ")
Check external references to this and eventually auto-destruct the render-element.
Definition: TEveElement.cxx:659
TEveElement::CSCApplyMainTransparencyToMatchingChildren
void CSCApplyMainTransparencyToMatchingChildren()
Definition: TEveElement.h:374
TEveElement::EDestruct
EDestruct
Definition: TEveElement.h:329
TEveElement::GetMaster
TEveElement * GetMaster()
Returns the master element - that is:
Definition: TEveElement.cxx:609
TEveElement::GetNItems
virtual Int_t GetNItems() const
Definition: TEveElement.h:224
TEveElement::LastChild
TEveElement * LastChild() const
Returns the last child element or 0 if the list is empty.
Definition: TEveElement.cxx:1571
TEveElementListProjected::~TEveElementListProjected
virtual ~TEveElementListProjected()
Definition: TEveElement.h:488
TEveElement::fMainTrans
TEveTrans * fMainTrans
Definition: TEveElement.h:100
TEveElement::DestroyElements
virtual void DestroyElements()
Destroy all children of this element.
Definition: TEveElement.cxx:1733
TEveElement::GetListTreeCheckBoxIcon
virtual const TGPicture * GetListTreeCheckBoxIcon()
Returns list-tree-item check-box picture appropriate for given rendering state.
Definition: TEveElement.cxx:2054
TEveElement::FindVizModel
Bool_t FindVizModel()
Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordi...
Definition: TEveElement.cxx:374
TEveElement::Select_foo
void(TEveElement::* Select_foo)(Bool_t)
Definition: TEveElement.h:338
TEveUtil.h
TEveElement::ResetAllCSCBits
void ResetAllCSCBits()
Definition: TEveElement.h:368
TEveElement::fChangeBits
UChar_t fChangeBits
Definition: TEveElement.h:393
TEveElement::GetRnrChildren
virtual Bool_t GetRnrChildren() const
Definition: TEveElement.h:257
update
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
Definition: RooAdaptiveGaussKronrodIntegrator1D.cxx:652
TEveElement::~TEveElement
virtual ~TEveElement()
Destructor.
Definition: TEveElement.cxx:186
TEveElement::IncImpliedSelected
virtual void IncImpliedSelected()
Increase element's implied-selection count. Stamp appropriately.
Definition: TEveElement.cxx:1906
TEveElement::DestroyListSubTree
virtual void DestroyListSubTree(TGListTree *ltree, TGListTreeItem *parent)
Destroy sub-tree under item 'parent' in list-tree 'ltree'.
Definition: TEveElement.cxx:742
TEveElementList::~TEveElementList
virtual ~TEveElementList()
Definition: TEveElement.h:445
TEveElement::CanEditMainTrans
virtual Bool_t CanEditMainTrans() const
Definition: TEveElement.h:286
TEveElement::ExportToCINT
virtual void ExportToCINT(char *var_name)
Export render-element to CINT with variable name var_name.
Definition: TEveElement.cxx:957
TEveProjectable
Abstract base-class for non-linear projectable objects.
Definition: TEveProjectionBases.h:35
TEveElement::SetRnrSelf
virtual Bool_t SetRnrSelf(Bool_t rnr)
Set render state of this element, i.e.
Definition: TEveElement.cxx:1061
TEveElement::InitMainTrans
virtual void InitMainTrans(Bool_t can_edit=kTRUE)
Initialize the main transformation to identity matrix.
Definition: TEveElement.cxx:1274
TEveElement::CSCImplySelectAllChildren
void CSCImplySelectAllChildren()
Definition: TEveElement.h:369
TEveElement::TEveListTreeInfo::TEveListTreeInfo
TEveListTreeInfo(const TEveListTreeInfo &l)
Definition: TEveElement.h:50
TEveElement::GetVizModel
TEveElement * GetVizModel() const
Definition: TEveElement.h:134
TEveElement::fParents
List_t fParents
Definition: TEveElement.h:80
TEveElement::TEveListTreeInfo::fItem
TGListTreeItem * fItem
Definition: TEveElement.h:46
TEveElement::RecheckImpliedSelections
void RecheckImpliedSelections()
Call this if it is possible that implied-selection or highlight has changed for this element or for i...
Definition: TEveElement.cxx:2020
TEveElement::VizDB_Insert
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.
Definition: TEveElement.cxx:586
TEveElement::IsPickable
Bool_t IsPickable() const
Definition: TEveElement.h:341
TEveElement::RemoveElement
virtual void RemoveElement(TEveElement *el)
Remove el from the list of children.
Definition: TEveElement.cxx:1341
TEveElement::fImpliedSelected
Short_t fImpliedSelected
Definition: TEveElement.h:315
TEveElement::GetElementName
virtual const char * GetElementName() const
Virtual function for retrieving name of the element.
Definition: TEveElement.cxx:265
TEveElement::SaveVizParams
void SaveVizParams(std::ostream &out, const TString &tag, const TString &var)
Save visualization parameters for this element with given tag.
Definition: TEveElement.cxx:494
TEveElement::ElementChanged
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.
Definition: TEveElement.cxx:1852
TEveElementListProjected::UpdateProjection
virtual void UpdateProjection()
This is abstract method from base-class TEveProjected.
Definition: TEveElement.cxx:2166
TEveElement::SetSourceObject
void SetSourceObject(TObject *o)
Definition: TEveElement.h:298
TEveElementListProjected
A projected element list – required for proper propagation of render state to projected views.
Definition: TEveElement.h:481
TEveElement::fDestroyOnZeroRefCnt
Bool_t fDestroyOnZeroRefCnt
Deny-destroy count.
Definition: TEveElement.h:90
TEveElement::Annihilate
virtual void Annihilate()
Optimized destruction without check of reference-count.
Definition: TEveElement.cxx:1649
TEveElement::DecImpliedHighlighted
virtual void DecImpliedHighlighted()
Decrease element's implied-highlight count. Stamp appropriately.
Definition: TEveElement.cxx:1960
TEveElementList::CloneElement
virtual TEveElementList * CloneElement() const
Clone the element via copy constructor.
Definition: TEveElement.cxx:2122
TEveElement::fDestructing
Char_t fDestructing
Definition: TEveElement.h:394
TEveElement::SetMainTransparency
virtual void SetMainTransparency(Char_t t)
Set main-transparency.
Definition: TEveElement.cxx:1211
TEveElement::VizDB_Reapply
void VizDB_Reapply()
Reset visual parameters for this object from VizDB.
Definition: TEveElement.cxx:548
TEveElement::StampVisibility
void StampVisibility()
Definition: TEveElement.h:400
TEveElement::fNumChildren
Int_t fNumChildren
Definition: TEveElement.h:86
TEveElement::ForwardEdit
virtual TEveElement * ForwardEdit()
Returns element to be displayed in GUI editor on click.
Definition: TEveElement.cxx:1884
TEveElement::SetMainColorRGB
void SetMainColorRGB(UChar_t r, UChar_t g, UChar_t b)
Convert RGB values to Color_t and call SetMainColor.
Definition: TEveElement.cxx:1182
TEveElement::kCSCBTakeAnyParentAsMaster
@ kCSCBTakeAnyParentAsMaster
Definition: TEveElement.h:321
TEveElement::DumpSourceObject
void DumpSourceObject() const
Call Dump() on source object.
Definition: TEveElement.cxx:967
TEveElement::ResetCSCBits
void ResetCSCBits(UChar_t f)
Definition: TEveElement.h:365
TEveElement::kCBColorSelection
@ kCBColorSelection
Definition: TEveElement.h:382
TEveElement::TEveListTreeInfo
Structure holding information about TGListTree and TGListTreeItem that represents given TEveElement.
Definition: TEveElement.h:43
TEveElement::FillImpliedSelectedSet
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Populate set impSelSet with derived / dependant elements.
Definition: TEveElement.cxx:1989
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
TEveElement::StampObjProps
void StampObjProps()
Definition: TEveElement.h:399
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
TEveElement::NumChildren
Int_t NumChildren() const
Definition: TEveElement.h:170
TEveElement::kCSCBApplyMainTransparencyToMatchingChildren
@ kCSCBApplyMainTransparencyToMatchingChildren
Definition: TEveElement.h:325
TEveElement::SetCompound
void SetCompound(TEveCompound *c)
Definition: TEveElement.h:149
TEveElementList::fChildClass
TClass * fChildClass
Definition: TEveElement.h:439
TEveElement::PreDeleteElement
virtual void PreDeleteElement()
Externally assigned and controlled user data.
Definition: TEveElement.cxx:215
TEveElement::List_ci
List_t::const_iterator List_ci
Definition: TEveElement.h:73
TEveElement::AddElement
virtual void AddElement(TEveElement *el)
Add el to the list of children.
Definition: TEveElement.cxx:1324
TEveElement::TEveListTreeInfo::fTree
TGListTree * fTree
Definition: TEveElement.h:45
TEveElement::CSCTakeAnyParentAsMaster
void CSCTakeAnyParentAsMaster()
Definition: TEveElement.h:370
TEveElement::ExpandIntoListTree
virtual void ExpandIntoListTree(TGListTree *ltree, TGListTreeItem *parent)
Populates parent with elements.
Definition: TEveElement.cxx:729
BIT
#define BIT(n)
Definition: Rtypes.h:85
TEveElement::RemoveFromListTrees
virtual Int_t RemoveFromListTrees(TEveElement *parent)
Remove element from all list-trees where 'parent' is the user-data of the parent list-tree-item.
Definition: TEveElement.cxx:848
TEveElement::PropagateMainTransparencyToProjecteds
virtual void PropagateMainTransparencyToProjecteds(Char_t t, Char_t old_t)
Propagate transparency to projected elements.
Definition: TEveElement.cxx:1236
TEveManager
Central application manager for Eve.
Definition: TEveManager.h:50
TEveElementList::operator=
TEveElementList & operator=(const TEveElementList &)
Short_t
short Short_t
Definition: RtypesCore.h:39
TEveElement::StampTransBBox
void StampTransBBox()
Definition: TEveElement.h:398
TEveElement::fImpliedHighlighted
Short_t fImpliedHighlighted
Definition: TEveElement.h:316
TEveElement::CloneChildrenRecurse
virtual void CloneChildrenRecurse(TEveElement *dest, Int_t level=0) const
Clone children and attach them to the dest element.
Definition: TEveElement.cxx:249
TEveElementList::GetElementTitle
virtual const char * GetElementTitle() const
Virtual function for retrieving title of the render-element.
Definition: TEveElement.h:453
TEveElement::fHighlighted
Bool_t fHighlighted
Definition: TEveElement.h:314
TEveElement::AnnihilateRecursively
virtual void AnnihilateRecursively()
Protected member function called from TEveElement::Annihilate().
Definition: TEveElement.cxx:1612
TNamed::SetTitle
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
Definition: TNamed.cxx:164
TEveElement::BeginChildren
List_ci BeginChildren() const
Definition: TEveElement.h:168
TEveElement::operator=
TEveElement & operator=(const TEveElement &)=delete
TEveElement::DestroyOrWarn
virtual void DestroyOrWarn()
Destroy this element. Prints a warning if deny-destroy is in force.
Definition: TEveElement.cxx:1716
TEveElement::PrintSourceObject
void PrintSourceObject() const
Call Print() on source object.
Definition: TEveElement.cxx:982
TEveElement::Set_ci
Set_t::const_iterator Set_ci
Definition: TEveElement.h:77
void
typedef void((*Func_t)())
TEveElement::BeginParents
List_i BeginParents()
Definition: TEveElement.h:158
TEveElement::RemoveElements
virtual void RemoveElements()
Remove all elements.
Definition: TEveElement.cxx:1389
TPRegexp
Definition: TPRegexp.h:36
TEveElement::kCSCBApplyMainTransparencyToAllChildren
@ kCSCBApplyMainTransparencyToAllChildren
Definition: TEveElement.h:324
TEveElement::StampColorSelection
void StampColorSelection()
Definition: TEveElement.h:397
TEveElement::AddIntoListTree
virtual TGListTreeItem * AddIntoListTree(TGListTree *ltree, TGListTreeItem *parent_lti)
Add this element into ltree to an already existing item parent_lti.
Definition: TEveElement.cxx:759
TEveElement::EndParents
List_ci EndParents() const
Definition: TEveElement.h:161
TEveElement::EndParents
List_i EndParents()
Definition: TEveElement.h:159
TEveElement::HasMainColor
virtual Bool_t HasMainColor() const
Definition: TEveElement.h:271
TEveElement::kCBVisibility
@ kCBVisibility
Definition: TEveElement.h:385
TEveElement::SetElementNameTitle
virtual void SetElementNameTitle(const char *name, const char *title)
Virtual function for setting of name and title of render element.
Definition: TEveElement.cxx:326
TEveElement::RefChildren
const List_t & RefChildren() const
Definition: TEveElement.h:165
TEveElement::RemoveFromListTree
virtual Bool_t RemoveFromListTree(TGListTree *ltree, TGListTreeItem *parent_lti)
Remove element from list-tree 'ltree' where its parent item is 'parent_lti'.
Definition: TEveElement.cxx:823
TEveElement::DecImpliedSelected
virtual void DecImpliedSelected()
Decrease element's implied-selection count. Stamp appropriately.
Definition: TEveElement.cxx:1915
TEveElement::fSelected
Bool_t fSelected
Definition: TEveElement.h:313
TEveElementList::SetElementNameTitle
virtual void SetElementNameTitle(const char *name, const char *title)
Virtual function for setting of name and title of render element.
Definition: TEveElement.h:461
TEveElement::GetListTreeIcon
virtual const TGPicture * GetListTreeIcon(Bool_t open=kFALSE)
Returns pointer to first listtreeicon.
Definition: TEveElement.cxx:2044
TEveElement::SetMainAlpha
void SetMainAlpha(Float_t alpha)
Set main-transparency via float alpha variable.
Definition: TEveElement.cxx:1226
Double_t
double Double_t
Definition: RtypesCore.h:59
TEveElement::TEveListTreeInfo::TEveListTreeInfo
TEveListTreeInfo(TGListTree *lt, TGListTreeItem *lti)
Definition: TEveElement.h:49
TGeoMatrix
Geometrical transformation package.
Definition: TGeoMatrix.h:41
TEveElement::IncImpliedHighlighted
virtual void IncImpliedHighlighted()
Increase element's implied-highlight count. Stamp appropriately.
Definition: TEveElement.cxx:1951
TEveElement::AnnihilateElements
virtual void AnnihilateElements()
Annihilate elements.
Definition: TEveElement.cxx:1683
TEveElementList::GetChildClass
TClass * GetChildClass() const
Definition: TEveElement.h:464
TEveException
Exception class thrown by TEve classes and macros.
Definition: TEveUtil.h:102
TEveProjected
Abstract base class for classes that hold results of a non-linear projection transformation.
Definition: TEveProjectionBases.h:84
TEveElement::GetCompound
TEveCompound * GetCompound()
Definition: TEveElement.h:148
TEveElement::GetChangeBits
UChar_t GetChangeBits() const
Definition: TEveElement.h:406
TEveElement::EnableListElements
void EnableListElements(Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
Enable rendering of children and their list contents.
Definition: TEveElement.cxx:1580
TEveElement::UnSelected
virtual void UnSelected()
Virtual function called when both fSelected is false and fImpliedSelected is 0.
Definition: TEveElement.cxx:1930
TEveElement::GetElementTitle
virtual const char * GetElementTitle() const
Virtual function for retrieving title of the render-element.
Definition: TEveElement.cxx:278
TEveElement::GetMainColorPtr
Color_t * GetMainColorPtr() const
Definition: TEveElement.h:268
TEveElement::EndChildren
List_ci EndChildren() const
Definition: TEveElement.h:169
TClass
TClass instances represent classes, structs and namespaces in the ROOT type system.
Definition: TClass.h:80
UChar_t
unsigned char UChar_t
Definition: RtypesCore.h:38
TEveElementListProjected::GetProjectedAsElement
virtual TEveElement * GetProjectedAsElement()
Returns this projected dynamic-casted to TEveElement.
Definition: TEveElement.h:491
TEveElementList::SetElementTitle
virtual void SetElementTitle(const char *title)
Virtual function for setting of title of an element.
Definition: TEveElement.h:458
TEveElement::AcceptElement
virtual Bool_t AcceptElement(TEveElement *el)
Check if el can be added to this element.
Definition: TEveElement.cxx:1316
TEveElement::SetMainColor
virtual void SetMainColor(Color_t color)
Set main color of the element.
Definition: TEveElement.cxx:1158
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
TEveElement::GetSourceObject
TObject * GetSourceObject() const
Definition: TEveElement.h:297
TEveElement::SetRnrChildren
virtual Bool_t SetRnrChildren(Bool_t rnr)
Set render state of this element's children, i.e.
Definition: TEveElement.cxx:1083
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TEveElement::EChangeBits
EChangeBits
Definition: TEveElement.h:381
TEveElement::WriteVizParams
virtual void WriteVizParams(std::ostream &out, const TString &var)
Write-out visual parameters for this object.
Definition: TEveElement.cxx:521
TEveElement::HighlightElement
virtual void HighlightElement(Bool_t state)
Set element's highlight state. Stamp appropriately.
Definition: TEveElement.cxx:1937
TEveElement::BeginChildren
List_i BeginChildren()
Definition: TEveElement.h:166
TEveElement::GetSource
TRef & GetSource()
Definition: TEveElement.h:296
TEveElement::fVizTag
TString fVizTag
Element used as model from VizDB.
Definition: TEveElement.h:84
TEveElementListProjected::TEveElementListProjected
TEveElementListProjected()
Constructor.
Definition: TEveElement.cxx:2157
name
char name[80]
Definition: TGX11.cxx:110
TEveElement::BeginParents
List_ci BeginParents() const
Definition: TEveElement.h:160
TEveElement::ImplySelect_foo
void(TEveElement::* ImplySelect_foo)()
Definition: TEveElement.h:339
TEveElement::UnHighlighted
virtual void UnHighlighted()
Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0.
Definition: TEveElement.cxx:1975
TEveElement::GetObject
virtual TObject * GetObject(const TEveException &eh) const
Get a TObject associated with this render-element.
Definition: TEveElement.cxx:937
d
#define d(i)
Definition: RSha256.hxx:102
TEveElement::FindListTreeItem
virtual TGListTreeItem * FindListTreeItem(TGListTree *ltree)
Find any list-tree-item of this element in list-tree 'ltree'.
Definition: TEveElement.cxx:909
TEveElement::SetDestroyOnZeroRefCnt
void SetDestroyOnZeroRefCnt(Bool_t d)
Sets the state of flag determining if the element will be destroyed when reference count reaches zero...
Definition: TEveElement.cxx:1776
TEveElement::PropagateRnrStateToProjecteds
virtual void PropagateRnrStateToProjecteds()
Propagate render state to the projected replicas of this element.
Definition: TEveElement.cxx:1143
TRef
Persistent Reference link to a TObject A TRef is a lightweight object pointing to any TObject.
Definition: TRef.h:32
TEveElement::List_t
std::list< TEveElement * > List_t
Definition: TEveElement.h:71
TEveElement::PtrMainTrans
virtual TEveTrans * PtrMainTrans(Bool_t create=kTRUE)
Return pointer to main transformation.
Definition: TEveElement.cxx:1249
TEveElement::kNone
@ kNone
Definition: TEveElement.h:330
make_cnn_model.model
model
Definition: make_cnn_model.py:6
TEveElement::RemoveElementsInternal
virtual void RemoveElementsInternal()
Remove all elements.
Definition: TEveElement.cxx:1370
TEveElement::EndChildren
List_i EndChildren()
Definition: TEveElement.h:167
TNamed::GetName
virtual const char * GetName() const
Returns name of object.
Definition: TNamed.h:47
TEveElement::ProjectChild
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' ...
Definition: TEveElement.cxx:1418
TEveElement::CloneElement
virtual TEveElement * CloneElement() const
Clone the element via copy constructor.
Definition: TEveElement.cxx:224
TEveElement::kCBTransBBox
@ kCBTransBBox
Definition: TEveElement.h:383
TEveElementList::GetElementName
virtual const char * GetElementName() const
Virtual function for retrieving name of the element.
Definition: TEveElement.h:452
TEveElement::SelectElement
virtual void SelectElement(Bool_t state)
Set element's selection state. Stamp appropriately.
Definition: TEveElement.cxx:1892
TEveElement::CSCApplyMainColorToAllChildren
void CSCApplyMainColorToAllChildren()
Definition: TEveElement.h:371
TEveElement::PropagateVizParamsToElements
virtual void PropagateVizParamsToElements(TEveElement *el=0)
Propagate visualization parameters from element el (defaulting to this) to all elements (children).
Definition: TEveElement.cxx:443
TEveElement::RefMainTrans
virtual TEveTrans & RefMainTrans()
Return reference to main transformation.
Definition: TEveElement.cxx:1261
TEveElement::CanEditMainColor
virtual Bool_t CanEditMainColor() const
Definition: TEveElement.h:266
TEveElement::AddParent
virtual void AddParent(TEveElement *re)
Add re into the list parents.
Definition: TEveElement.cxx:635
TGListTreeItem
Definition: TGListTree.h:44
TEveElement::sLTI_t
std::set< TEveListTreeInfo > sLTI_t
Definition: TEveElement.h:67
Char_t
char Char_t
Definition: RtypesCore.h:33
TEveElementList::fColor
Color_t fColor
Definition: TEveElement.h:438
TEveElement::SetTransMatrix
virtual void SetTransMatrix(Double_t *carr)
Set transformation matrix from column-major array.
Definition: TEveElement.cxx:1297
TEveElement::fCSCBits
UChar_t fCSCBits
Definition: TEveElement.h:335
TEveElement::SpawnEditor
void SpawnEditor()
Show GUI editor for this object.
Definition: TEveElement.cxx:949
TEveElement::CopyVizParamsFromDB
virtual void CopyVizParamsFromDB()
Copy visualization parameters from the model-element fVizModel.
Definition: TEveElement.cxx:475
TEveElement::VizDB_UpdateModel
void VizDB_UpdateModel(Bool_t update=kTRUE)
Copy visual parameters from this element to viz-db model.
Definition: TEveElement.cxx:564
TEveElement::CollectSceneParentsFromChildren
virtual void CollectSceneParentsFromChildren(List_t &scenes, TEveElement *parent)
Collect scene-parents from all children.
Definition: TEveElement.cxx:705
TEveElement::Set_t
std::set< TEveElement * > Set_t
Definition: TEveElement.h:75
TEveElement::FindChild
TEveElement * FindChild(const TString &name, const TClass *cls=0)
Find the first child with given name.
Definition: TEveElement.cxx:1480
TEveElement::fParentIgnoreCnt
Int_t fParentIgnoreCnt
Definition: TEveElement.h:87
TEveElementList::SetChildClass
void SetChildClass(TClass *c)
Definition: TEveElement.h:465
TEveElement::CSCApplyMainTransparencyToAllChildren
void CSCApplyMainTransparencyToAllChildren()
Definition: TEveElement.h:373
TEveElementList::ProjectedClass
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEveCompoundProjected class.
Definition: TEveElement.cxx:2141
int
TEveElement::fSource
TRef fSource
Set of list-tree-items.
Definition: TEveElement.h:104
TEveElement::DisableListElements
void DisableListElements(Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE)
Disable rendering of children and their list contents.
Definition: TEveElement.cxx:1598
TEveElement::NameTitleChanged
virtual void NameTitleChanged()
Virtual function called when a name or title of the element has been changed.
Definition: TEveElement.cxx:342
g
#define g(i)
Definition: RSha256.hxx:105