Logo ROOT  
Reference Guide
ROOT::Experimental::REveElement Class Reference

Definition at line 69 of file REveElement.hxx.

Public Types

typedef std::list< REveAunt * > AuntList_t
 
enum  EChangeBits {
  kCBColorSelection = BIT(0) , kCBTransBBox = BIT(1) , kCBObjProps = BIT(2) , kCBVisibility = BIT(3) ,
  kCBElementAdded = BIT(4)
}
 
typedef std::list< REveElement * > List_t
 
typedef std::set< REveElement * > Set_t
 

Public Member Functions

 REveElement (const REveElement &e)
 Copy constructor. More...
 
 REveElement (const std::string &name="", const std::string &title="")
 Default constructor. More...
 
virtual ~REveElement ()
 Destructor. More...
 
virtual Bool_t AcceptElement (REveElement *el)
 Check if el can be added to this element. More...
 
virtual void AddAunt (REveAunt *au)
 Add el into the list aunts. More...
 
virtual void AddElement (REveElement *el)
 Add el to the list of children. 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...
 
virtual void BuildRenderData ()
 Write transformation Matrix to render data. More...
 
virtual Bool_t CanEditElement () const
 
virtual Bool_t CanEditMainColor () const
 
virtual Bool_t CanEditMainTrans () const
 
virtual Bool_t CanEditMainTransparency () const
 
virtual void CheckReferenceCount (const std::string &from="<unknown>")
 Check external references to this and eventually auto-destruct the render-element. More...
 
virtual void ClearStamps ()
 
virtual void CloneChildrenRecurse (REveElement *dest, Int_t level=0) const
 Clone children and attach them to the dest element. More...
 
virtual REveElementCloneElement () const
 Clone the element via copy constructor. More...
 
virtual REveElementCloneElementRecurse (Int_t level=0) const
 Clone elements and recurse 'level' deep over children. More...
 
virtual void CopyVizParams (const REveElement *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 CSCTakeMotherAsMaster ()
 
void DecDenyDestroy ()
 Decreases the deny-destroy count of the element. More...
 
void DecImpliedSelected ()
 
virtual void Destroy ()
 Destroy this element. More...
 
virtual void DestroyElements ()
 Destroy all children of this element. 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 EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
 Enable rendering of children and their list contents. More...
 
virtual void ExportToCINT (const 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...
 
REveElementFindChild (const TString &name, const TClass *cls=nullptr)
 Find the first child with given name. More...
 
REveElementFindChild (TPRegexp &regexp, const TClass *cls=nullptr)
 Find the first child whose name matches regexp. More...
 
Int_t FindChildren (List_t &matches, const TString &name, const TClass *cls=nullptr)
 Find all children with given name and append them to matches list. More...
 
Int_t FindChildren (List_t &matches, TPRegexp &regexp, const TClass *cls=nullptr)
 Find all children whose name matches regexp and append them to matches list. More...
 
REveElementFirstChild () const
 Returns the first child element or 0 if the list is empty. More...
 
UChar_t GetChangeBits () const
 
TClassGetChildClass () const
 
const char * GetCName () const
 
REveCompoundGetCompound ()
 
const char * GetCTitle () const
 
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...
 
ElementId_t GetElementId () const
 
virtual std::string GetHighlightTooltip () const
 
int GetImpliedSelected ()
 
virtual Color_t GetMainColor () const
 
Color_tGetMainColorPtr () const
 
virtual Char_t GetMainTransparency () const
 
REveElementGetMother ()
 
std::string GetName () const
 
REveRenderDataGetRenderData () const
 
virtual Bool_t GetRnrAnything () const
 
virtual Bool_t GetRnrChildren () const
 
virtual Bool_t GetRnrSelf () const
 
virtual Bool_t GetRnrState () const
 
REveSceneGetScene ()
 
REveElementGetSelectionMaster ()
 Returns the master element - that is: More...
 
std::string GetTitle () const
 
voidGetUserData () const
 
REveElementGetVizModel () const
 
const TStringGetVizTag () const
 
Bool_t HasAunts () const
 
Bool_t HasChild (REveElement *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 HasMother ()
 
bool HasScene ()
 
void IncDenyDestroy ()
 Increases the deny-destroy count of the element. More...
 
void IncImpliedSelected ()
 
virtual void InitMainTrans (Bool_t can_edit=kTRUE)
 Initialize the main transformation to identity matrix. More...
 
TClassIsA () const
 Return class for this element. More...
 
Bool_t IsPickable () const
 
REveElementLastChild () 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 NumAunts () const
 
Int_t NumChildren () const
 
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 (REveElement *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 PropagateVizParamsToChildren (REveElement *el=nullptr)
 Propagate visualization parameters from element el (defaulting to this) to all children. More...
 
virtual void PropagateVizParamsToProjecteds ()
 Propagate visualization parameters to dependent elements. More...
 
virtual REveTransPtrMainTrans (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...
 
AuntList_tRefAunts ()
 
const AuntList_tRefAunts () const
 
List_tRefChildren ()
 
const List_tRefChildren () const
 
virtual REveTransRefMainTrans ()
 Return reference to main transformation. More...
 
virtual void RemoveAunt (REveAunt *au)
 Remove el from the list of aunts. More...
 
virtual void RemoveElement (REveElement *el)
 Remove el from the list of children. More...
 
virtual void RemoveElementLocal (REveElement *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...
 
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...
 
void SetChildClass (TClass *c)
 
void SetCompound (REveCompound *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)
 
void SetMainAlpha (Float_t alpha)
 Set main-transparency via float alpha variable. More...
 
virtual void SetMainColor (Color_t color)
 Set main color of the element. More...
 
void SetMainColorPixel (Pixel_t pixel)
 Convert pixel to Color_t and call SetMainColor(). More...
 
void SetMainColorPtr (Color_t *colptr)
 
void SetMainColorRGB (Float_t r, Float_t g, Float_t b)
 Convert RGB values to Color_t and call SetMainColor. More...
 
void SetMainColorRGB (UChar_t r, UChar_t g, UChar_t b)
 Convert RGB values to Color_t and call SetMainColor. More...
 
virtual void SetMainTransparency (Char_t t)
 Set main-transparency. More...
 
void SetName (const std::string &name)
 Set name of an element. More...
 
void SetNameTitle (const std::string &name, const std::string &title)
 Set name and title of an element. 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 SetSelectionMaster (REveElement *el)
 
void SetTitle (const std::string &title)
 Set title of an element. More...
 
virtual void SetTransMatrix (const TGeoMatrix &mat)
 Set transformation matrix from TGeo's matrix. More...
 
virtual void SetTransMatrix (Double_t *carr)
 Set transformation matrix from column-major array. More...
 
void SetupDefaultColorAndTransparency (Color_t col, Bool_t can_edit_color, Bool_t can_edit_transparency)
 Set up element to use built-in main color and set flags allowing editing of main color and transparency. More...
 
void SetUserData (void *ud)
 
void SetVizModel (REveElement *model)
 Set visualization-parameter model element. More...
 
Bool_t SetVizModelByTag ()
 Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly. More...
 
void SetVizTag (const TString &tag)
 
virtual Bool_t SingleRnrState () const
 
void StampColorSelection ()
 
void StampElementAdded ()
 
void StampObjProps ()
 
void StampObjPropsPreChk ()
 
void StampTransBBox ()
 
void StampVisibility ()
 
Bool_t TestCSCBits (UChar_t f) const
 
void VizDB_Apply (const std::string &tag)
 Set visual parameters for this object for given tag. More...
 
void VizDB_Insert (const std::string &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 Int_t WriteCoreJson (nlohmann::json &cj, Int_t rnr_offset)
 Write core json. More...
 
virtual void WriteVizParams (std::ostream &out, const TString &var)
 Write-out visual parameters for this object. More...
 

Protected Types

enum  ECompoundSelectionColorBits {
  kCSCBImplySelectAllChildren = BIT(0) , kCSCBTakeMotherAsMaster = BIT(1) , kCSCBApplyMainColorToAllChildren = BIT(2) , kCSCBApplyMainColorToMatchingChildren = BIT(3) ,
  kCSCBApplyMainTransparencyToAllChildren = BIT(4) , kCSCBApplyMainTransparencyToMatchingChildren = BIT(5)
}
 
enum  EDestruct { kNone , kStandard , kAnnihilate }
 

Protected Member Functions

virtual void AnnihilateRecursively ()
 Protected member function called from REveElement::Annihilate(). More...
 
void assign_element_id_recurisvely ()
 
void assign_scene_recursively (REveScene *s)
 
ElementId_t get_mother_id () const
 
ElementId_t get_scene_id () const
 
virtual void PreDeleteElement ()
 Vertex / normal / triangle index information for rendering. More...
 
virtual void RemoveElementsInternal ()
 Remove all elements. More...
 

Static Protected Member Functions

static const std::string & ToString (Bool_t b)
 Convert Bool_t to string - kTRUE or kFALSE. More...
 

Protected Attributes

AuntList_t fAunts
 
Bool_t fCanEditMainColor {kFALSE}
 
Bool_t fCanEditMainTrans {kFALSE}
 
Bool_t fCanEditMainTransparency {kFALSE}
 
UChar_t fChangeBits {0}
 
TClassfChildClass {nullptr}
 
List_t fChildren
 
REveCompoundfCompound {nullptr}
 
UChar_t fCSCBits {0}
 
Color_t fDefaultColor {kPink}
 
Int_t fDenyDestroy {0}
 
Bool_t fDestroyOnZeroRefCnt {kTRUE}
 Deny-destroy count. More...
 
Char_t fDestructing {kNone}
 
Short_t fImpliedSelected {0}
 
Color_tfMainColorPtr {nullptr}
 
std::unique_ptr< REveTransfMainTrans
 
Char_t fMainTransparency {0}
 
REveElementfMother {nullptr}
 
std::string fName
 
Bool_t fPickable {0}
 
std::unique_ptr< REveRenderDatafRenderData
 Externally assigned and controlled user data. More...
 
Bool_t fRnrChildren {kTRUE}
 
Bool_t fRnrSelf {kTRUE}
 
REveScenefScene {nullptr}
 
REveElementfSelectionMaster {nullptr}
 
std::string fTitle
 
voidfUserData {nullptr}
 
REveElementfVizModel {nullptr}
 
TString fVizTag
 Element used as model from VizDB. More...
 

Private Member Functions

REveElementoperator= (const REveElement &)
 

Private Attributes

ElementId_t fElementId {0}
 

Friends

class REveManager
 
class REveScene
 

#include <ROOT/REveElement.hxx>

Inheritance diagram for ROOT::Experimental::REveElement:
[legend]

Member Typedef Documentation

◆ AuntList_t

Definition at line 81 of file REveElement.hxx.

◆ List_t

Definition at line 77 of file REveElement.hxx.

◆ Set_t

Definition at line 79 of file REveElement.hxx.

Member Enumeration Documentation

◆ EChangeBits

Enumerator
kCBColorSelection 
kCBTransBBox 
kCBObjProps 
kCBVisibility 
kCBElementAdded 

Definition at line 349 of file REveElement.hxx.

◆ ECompoundSelectionColorBits

Enumerator
kCSCBImplySelectAllChildren 
kCSCBTakeMotherAsMaster 
kCSCBApplyMainColorToAllChildren 
kCSCBApplyMainColorToMatchingChildren 
kCSCBApplyMainTransparencyToAllChildren 
kCSCBApplyMainTransparencyToMatchingChildren 

Definition at line 296 of file REveElement.hxx.

◆ EDestruct

Enumerator
kNone 
kStandard 
kAnnihilate 

Definition at line 306 of file REveElement.hxx.

Constructor & Destructor Documentation

◆ REveElement() [1/2]

REveElement::REveElement ( const std::string &  name = "",
const std::string &  title = "" 
)

Default constructor.

Definition at line 51 of file REveElement.cxx.

◆ REveElement() [2/2]

REveElement::REveElement ( const REveElement e)

Copy constructor.

Does shallow copy. For deep-cloning and children-cloning, see:

int Int_t
Definition: RtypesCore.h:41
virtual void CloneChildrenRecurse(REveElement *dest, Int_t level=0) const
Clone children and attach them to the dest element.
virtual REveElement * CloneElementRecurse(Int_t level=0) const
Clone elements and recurse 'level' deep over children.
REveElement(const std::string &name="", const std::string &title="")
Default constructor.
Definition: REveElement.cxx:51
#define dest(otri, vertexptr)
Definition: triangle.c:1040

'void* UserData' is NOT copied. If the element is projectable, its projections are NOT copied.

Not implemented for most sub-classes, let us know. Note that sub-classes of REveProjected are NOT and will NOT be copyable.

Definition at line 70 of file REveElement.cxx.

◆ ~REveElement()

REveElement::~REveElement ( )
virtual

Destructor.

Do not call this method directly, either call Destroy() or Annihilate(). See also DestroyElements() and AnnihilateElements() if you need to delete all children of an element.

Definition at line 98 of file REveElement.cxx.

Member Function Documentation

◆ AcceptElement()

Bool_t REveElement::AcceptElement ( REveElement el)
virtual

Check if el can be added to this element.

Here we make sure the new child is not equal to this and, if fChildClass is set, that it is inherited from it.

Reimplemented in ROOT::Experimental::REveSceneInfo.

Definition at line 830 of file REveElement.cxx.

◆ AddAunt()

void REveElement::AddAunt ( REveAunt au)
virtual

Add el into the list aunts.

Adding aunt is subordinate to adding a niece. This is an internal function.

Definition at line 503 of file REveElement.cxx.

◆ AddElement()

void REveElement::AddElement ( REveElement el)
virtual

Add el to the list of children.

Reimplemented in ROOT::Experimental::REveCompound, and ROOT::Experimental::REveViewerList.

Definition at line 842 of file REveElement.cxx.

◆ AddStamp()

void REveElement::AddStamp ( UChar_t  bits)
virtual

Add (bitwise or) given stamps to fChangeBits.

Register this element to REX::gEve as stamped. This method is virtual so that sub-classes can add additional actions. The base-class method should still be called (or replicated).

Definition at line 1415 of file REveElement.cxx.

◆ Annihilate()

void REveElement::Annihilate ( )
virtual

Optimized destruction without check of reference-count.

Parents are not notified about child destruction. The method should only be used when an element does not have more than one parent – otherwise an exception is thrown.

Definition at line 1178 of file REveElement.cxx.

◆ AnnihilateElements()

void REveElement::AnnihilateElements ( )
virtual

Annihilate elements.

Definition at line 1208 of file REveElement.cxx.

◆ AnnihilateRecursively()

void REveElement::AnnihilateRecursively ( )
protectedvirtual

Protected member function called from REveElement::Annihilate().

Definition at line 1152 of file REveElement.cxx.

◆ ApplyVizTag()

Bool_t REveElement::ApplyVizTag ( const TString tag,
const TString fallback_tag = "" 
)

Set the VizTag, find model-element from the VizDB and copy visualization-parameters from it.

If the model is not found and fallback_tag is non-null, search for it is attempted as well. For example: ApplyVizTag("TPC Clusters", "Clusters");

If the model-element can not be found a warning is printed and false is returned.

Definition at line 289 of file REveElement.cxx.

◆ assign_element_id_recurisvely()

void REveElement::assign_element_id_recurisvely ( )
protected

Definition at line 131 of file REveElement.cxx.

◆ assign_scene_recursively()

void REveElement::assign_scene_recursively ( REveScene s)
protected

Definition at line 140 of file REveElement.cxx.

◆ BuildRenderData()

◆ CanEditElement()

virtual Bool_t ROOT::Experimental::REveElement::CanEditElement ( ) const
inlinevirtual

Definition at line 238 of file REveElement.hxx.

◆ CanEditMainColor()

virtual Bool_t ROOT::Experimental::REveElement::CanEditMainColor ( ) const
inlinevirtual

Definition at line 252 of file REveElement.hxx.

◆ CanEditMainTrans()

virtual Bool_t ROOT::Experimental::REveElement::CanEditMainTrans ( ) const
inlinevirtual

Definition at line 272 of file REveElement.hxx.

◆ CanEditMainTransparency()

virtual Bool_t ROOT::Experimental::REveElement::CanEditMainTransparency ( ) const
inlinevirtual

Definition at line 265 of file REveElement.hxx.

◆ CheckReferenceCount()

void REveElement::CheckReferenceCount ( const std::string &  from = "<unknown>")
virtual

Check external references to this and eventually auto-destruct the render-element.

Reimplemented in ROOT::Experimental::REveTrackPropagator.

Definition at line 528 of file REveElement.cxx.

◆ ClearStamps()

virtual void ROOT::Experimental::REveElement::ClearStamps ( )
inlinevirtual

Definition at line 374 of file REveElement.hxx.

◆ CloneChildrenRecurse()

void REveElement::CloneChildrenRecurse ( REveElement dest,
Int_t  level = 0 
) const
virtual

Clone children and attach them to the dest element.

If level == 0, only the direct descendants are cloned (default). If level == -1, all the hierarchy is cloned.

Definition at line 199 of file REveElement.cxx.

◆ CloneElement()

REveElement * REveElement::CloneElement ( ) const
virtual

Clone the element via copy constructor.

Should be implemented for all classes that require cloning support.

Reimplemented in ROOT::Experimental::REvePointSet.

Definition at line 174 of file REveElement.cxx.

◆ CloneElementRecurse()

REveElement * REveElement::CloneElementRecurse ( Int_t  level = 0) const
virtual

Clone elements and recurse 'level' deep over children.

  • If level == 0, only the element itself is cloned (default).
  • If level == -1, all the hierarchy is cloned.

Definition at line 184 of file REveElement.cxx.

◆ CopyVizParams()

void REveElement::CopyVizParams ( const REveElement el)
virtual

Copy visualization parameters from element el.

This method needs to be overriden by any class that introduces new parameters.

Reimplemented in ROOT::Experimental::REveLine, ROOT::Experimental::REvePointSet, ROOT::Experimental::REveShape, ROOT::Experimental::REveStraightLineSet, ROOT::Experimental::REveTrack, and ROOT::Experimental::REveTrackList.

Definition at line 352 of file REveElement.cxx.

◆ CopyVizParamsFromDB()

void REveElement::CopyVizParamsFromDB ( )
virtual

Copy visualization parameters from the model-element fVizModel.

A warning is printed if the model-element fVizModel is not set.

Definition at line 366 of file REveElement.cxx.

◆ CSCApplyMainColorToAllChildren()

void ROOT::Experimental::REveElement::CSCApplyMainColorToAllChildren ( )
inline

Definition at line 340 of file REveElement.hxx.

◆ CSCApplyMainColorToMatchingChildren()

void ROOT::Experimental::REveElement::CSCApplyMainColorToMatchingChildren ( )
inline

Definition at line 341 of file REveElement.hxx.

◆ CSCApplyMainTransparencyToAllChildren()

void ROOT::Experimental::REveElement::CSCApplyMainTransparencyToAllChildren ( )
inline

Definition at line 342 of file REveElement.hxx.

◆ CSCApplyMainTransparencyToMatchingChildren()

void ROOT::Experimental::REveElement::CSCApplyMainTransparencyToMatchingChildren ( )
inline

Definition at line 343 of file REveElement.hxx.

◆ CSCImplySelectAllChildren()

void ROOT::Experimental::REveElement::CSCImplySelectAllChildren ( )
inline

Definition at line 338 of file REveElement.hxx.

◆ CSCTakeMotherAsMaster()

void ROOT::Experimental::REveElement::CSCTakeMotherAsMaster ( )
inline

Definition at line 339 of file REveElement.hxx.

◆ DecDenyDestroy()

void REveElement::DecDenyDestroy ( )

Decreases the deny-destroy count of the element.

Call this after releasing an external pointer to the element.

Definition at line 1322 of file REveElement.cxx.

◆ DecImpliedSelected()

void ROOT::Experimental::REveElement::DecImpliedSelected ( )
inline

Definition at line 328 of file REveElement.hxx.

◆ Destroy()

void REveElement::Destroy ( )
virtual

Destroy this element.

Throws an exception if deny-destroy is in force. This method should be called instead of a destructor. Note that an exception will be thrown if the element has been protected against destruction with IncDenyDestroy().

Definition at line 1223 of file REveElement.cxx.

◆ DestroyElements()

void REveElement::DestroyElements ( )
virtual

Destroy all children of this element.

Definition at line 1254 of file REveElement.cxx.

◆ DestroyMainTrans()

void REveElement::DestroyMainTrans ( )
virtual

Destroy the main transformation matrix, it will always be taken as identity.

Editing of transformation parameters is disabled.

Definition at line 802 of file REveElement.cxx.

◆ DestroyOrWarn()

void REveElement::DestroyOrWarn ( )
virtual

Destroy this element. Prints a warning if deny-destroy is in force.

Definition at line 1239 of file REveElement.cxx.

◆ DisableListElements()

void REveElement::DisableListElements ( Bool_t  rnr_self = kFALSE,
Bool_t  rnr_children = kFALSE 
)

Disable rendering of children and their list contents.

Arguments control how to set self/child rendering.

Same as above function, but default arguments are different. This is convenient for calls via context menu.

Definition at line 1143 of file REveElement.cxx.

◆ EnableListElements()

void REveElement::EnableListElements ( Bool_t  rnr_self = kTRUE,
Bool_t  rnr_children = kTRUE 
)

Enable rendering of children and their list contents.

Arguments control how to set self/child rendering.

Definition at line 1130 of file REveElement.cxx.

◆ ExportToCINT()

void REveElement::ExportToCINT ( const char *  var_name)
virtual

Export render-element to CINT with variable name var_name.

Definition at line 555 of file REveElement.cxx.

◆ FillImpliedSelectedSet()

void REveElement::FillImpliedSelectedSet ( Set_t impSelSet)
virtual

Populate set impSelSet with derived / dependant elements.

If this is a REveProjectable, the projected replicas are added to the set. Thus it does not have to be reimplemented for each sub-class of REveProjected.

Note that this also takes care of projections of REveCompound class, which is also a projectable.

Reimplemented in ROOT::Experimental::REveCompound, and ROOT::Experimental::REveDataItem.

Definition at line 1375 of file REveElement.cxx.

◆ FindChild() [1/2]

REveElement * REveElement::FindChild ( const TString name,
const TClass cls = nullptr 
)

Find the first child with given name.

If cls is specified (non 0), it is also checked.

Returns nullptr if not found.

Definition at line 1030 of file REveElement.cxx.

◆ FindChild() [2/2]

REveElement * REveElement::FindChild ( TPRegexp regexp,
const TClass cls = nullptr 
)

Find the first child whose name matches regexp.

If cls is specified (non 0), it is also checked.

Returns nullptr if not found.

Definition at line 1049 of file REveElement.cxx.

◆ FindChildren() [1/2]

Int_t REveElement::FindChildren ( List_t matches,
const TString name,
const TClass cls = nullptr 
)

Find all children with given name and append them to matches list.

If class is specified (non 0), it is also checked.

Returns number of elements added to the list.

Definition at line 1068 of file REveElement.cxx.

◆ FindChildren() [2/2]

Int_t REveElement::FindChildren ( List_t matches,
TPRegexp regexp,
const TClass cls = nullptr 
)

Find all children whose name matches regexp and append them to matches list.

Returns number of elements added to the list.

Definition at line 1092 of file REveElement.cxx.

◆ FirstChild()

REveElement * REveElement::FirstChild ( ) const

Returns the first child element or 0 if the list is empty.

Definition at line 1113 of file REveElement.cxx.

◆ get_mother_id()

ElementId_t REveElement::get_mother_id ( ) const
protected

Definition at line 121 of file REveElement.cxx.

◆ get_scene_id()

ElementId_t REveElement::get_scene_id ( ) const
protected

Definition at line 126 of file REveElement.cxx.

◆ GetChangeBits()

UChar_t ROOT::Experimental::REveElement::GetChangeBits ( ) const
inline

Definition at line 376 of file REveElement.hxx.

◆ GetChildClass()

TClass * ROOT::Experimental::REveElement::GetChildClass ( ) const
inline

Definition at line 188 of file REveElement.hxx.

◆ GetCName()

const char * ROOT::Experimental::REveElement::GetCName ( ) const
inline

Definition at line 143 of file REveElement.hxx.

◆ GetCompound()

REveCompound * ROOT::Experimental::REveElement::GetCompound ( )
inline

Definition at line 170 of file REveElement.hxx.

◆ GetCTitle()

const char * ROOT::Experimental::REveElement::GetCTitle ( ) const
inline

Definition at line 145 of file REveElement.hxx.

◆ GetDenyDestroy()

Int_t REveElement::GetDenyDestroy ( ) const

Returns the number of times deny-destroy has been requested on the element.

Definition at line 1304 of file REveElement.cxx.

◆ GetDestroyOnZeroRefCnt()

Bool_t REveElement::GetDestroyOnZeroRefCnt ( ) const

Returns state of flag determining if the element will be destroyed when reference count reaches zero.

This is true by default.

Definition at line 1285 of file REveElement.cxx.

◆ GetElementId()

ElementId_t ROOT::Experimental::REveElement::GetElementId ( ) const
inline

Definition at line 136 of file REveElement.hxx.

◆ GetHighlightTooltip()

virtual std::string ROOT::Experimental::REveElement::GetHighlightTooltip ( ) const
inlinevirtual

Definition at line 147 of file REveElement.hxx.

◆ GetImpliedSelected()

int ROOT::Experimental::REveElement::GetImpliedSelected ( )
inline

Definition at line 329 of file REveElement.hxx.

◆ GetMainColor()

virtual Color_t ROOT::Experimental::REveElement::GetMainColor ( ) const
inlinevirtual

Definition at line 258 of file REveElement.hxx.

◆ GetMainColorPtr()

Color_t * ROOT::Experimental::REveElement::GetMainColorPtr ( ) const
inline

Definition at line 254 of file REveElement.hxx.

◆ GetMainTransparency()

virtual Char_t ROOT::Experimental::REveElement::GetMainTransparency ( ) const
inlinevirtual

Definition at line 267 of file REveElement.hxx.

◆ GetMother()

REveElement * ROOT::Experimental::REveElement::GetMother ( )
inline

Definition at line 177 of file REveElement.hxx.

◆ GetName()

std::string ROOT::Experimental::REveElement::GetName ( ) const
inline

Definition at line 142 of file REveElement.hxx.

◆ GetRenderData()

REveRenderData * ROOT::Experimental::REveElement::GetRenderData ( ) const
inline

Definition at line 288 of file REveElement.hxx.

◆ GetRnrAnything()

virtual Bool_t ROOT::Experimental::REveElement::GetRnrAnything ( ) const
inlinevirtual

Definition at line 243 of file REveElement.hxx.

◆ GetRnrChildren()

virtual Bool_t ROOT::Experimental::REveElement::GetRnrChildren ( ) const
inlinevirtual

Definition at line 241 of file REveElement.hxx.

◆ GetRnrSelf()

virtual Bool_t ROOT::Experimental::REveElement::GetRnrSelf ( ) const
inlinevirtual

Definition at line 240 of file REveElement.hxx.

◆ GetRnrState()

virtual Bool_t ROOT::Experimental::REveElement::GetRnrState ( ) const
inlinevirtual

Definition at line 242 of file REveElement.hxx.

◆ GetScene()

REveScene * ROOT::Experimental::REveElement::GetScene ( )
inline

Definition at line 176 of file REveElement.hxx.

◆ GetSelectionMaster()

REveElement * REveElement::GetSelectionMaster ( )

Returns the master element - that is:

  • master of projectable, if this is a projected;
  • master of compound, if fCompound is set;
  • master of mother, if kSCBTakeMotherAsMaster bit is set; If non of the above is true, this is returned.

Definition at line 1345 of file REveElement.cxx.

◆ GetTitle()

std::string ROOT::Experimental::REveElement::GetTitle ( ) const
inline

Definition at line 144 of file REveElement.hxx.

◆ GetUserData()

void * ROOT::Experimental::REveElement::GetUserData ( ) const
inline

Definition at line 285 of file REveElement.hxx.

◆ GetVizModel()

REveElement * ROOT::Experimental::REveElement::GetVizModel ( ) const
inline

Definition at line 157 of file REveElement.hxx.

◆ GetVizTag()

const TString & ROOT::Experimental::REveElement::GetVizTag ( ) const
inline

Definition at line 154 of file REveElement.hxx.

◆ HasAunts()

Bool_t ROOT::Experimental::REveElement::HasAunts ( ) const
inline

Definition at line 186 of file REveElement.hxx.

◆ HasChild()

Bool_t REveElement::HasChild ( REveElement el)

Check if element el is a child of this element.

Definition at line 1019 of file REveElement.cxx.

◆ HasChildren()

Bool_t ROOT::Experimental::REveElement::HasChildren ( ) const
inline

Definition at line 194 of file REveElement.hxx.

◆ HasMainColor()

virtual Bool_t ROOT::Experimental::REveElement::HasMainColor ( ) const
inlinevirtual

Definition at line 257 of file REveElement.hxx.

◆ HasMainTrans()

virtual Bool_t ROOT::Experimental::REveElement::HasMainTrans ( ) const
inlinevirtual

Definition at line 273 of file REveElement.hxx.

◆ HasMother()

bool ROOT::Experimental::REveElement::HasMother ( )
inline

Definition at line 174 of file REveElement.hxx.

◆ HasScene()

bool ROOT::Experimental::REveElement::HasScene ( )
inline

Definition at line 173 of file REveElement.hxx.

◆ IncDenyDestroy()

void REveElement::IncDenyDestroy ( )

Increases the deny-destroy count of the element.

Call this if you store an external pointer to the element.

Definition at line 1313 of file REveElement.cxx.

◆ IncImpliedSelected()

void ROOT::Experimental::REveElement::IncImpliedSelected ( )
inline

Definition at line 327 of file REveElement.hxx.

◆ InitMainTrans()

void REveElement::InitMainTrans ( Bool_t  can_edit = kTRUE)
virtual

Initialize the main transformation to identity matrix.

If can_edit is true (default), the user will be able to edit the transformation parameters via GUI.

Definition at line 789 of file REveElement.cxx.

◆ IsA()

TClass * REveElement::IsA ( ) const

Return class for this element.

Definition at line 547 of file REveElement.cxx.

◆ IsPickable()

Bool_t ROOT::Experimental::REveElement::IsPickable ( ) const
inline

Definition at line 318 of file REveElement.hxx.

◆ LastChild()

REveElement * REveElement::LastChild ( ) const

Returns the last child element or 0 if the list is empty.

Definition at line 1121 of file REveElement.cxx.

◆ NameTitleChanged()

void REveElement::NameTitleChanged ( )
virtual

Virtual function called when a name or title of the element has been changed.

If you override this, call also the version of your direct base-class.

Definition at line 244 of file REveElement.cxx.

◆ NumAunts()

Int_t ROOT::Experimental::REveElement::NumAunts ( ) const
inline

Definition at line 185 of file REveElement.hxx.

◆ NumChildren()

Int_t ROOT::Experimental::REveElement::NumChildren ( ) const
inline

Definition at line 193 of file REveElement.hxx.

◆ operator=()

REveElement & ROOT::Experimental::REveElement::operator= ( const REveElement )
private

◆ PreDeleteElement()

void REveElement::PreDeleteElement ( )
protectedvirtual

Vertex / normal / triangle index information for rendering.

Called before the element is deleted, thus offering the last chance to detach from acquired resources and from the framework itself.

Here the request is just passed to REveManager. If you override it, make sure to call base-class version.

Definition at line 162 of file REveElement.cxx.

◆ ProjectAllChildren()

void REveElement::ProjectAllChildren ( Bool_t  same_depth = kTRUE)
virtual

If this is a projectable, loop over all projected replicas and add the projected image of all children there.

This is supposed to be called after you destroy all children and then add new ones after this element has already been projected. You might also want to call RecheckImpliedSelections() on this element.

If 'same_depth' flag is true, the same depth as for the projected element is used in every projection. Otherwise current depth of each relevant projection-manager is used.

Definition at line 998 of file REveElement.cxx.

◆ ProjectChild()

void REveElement::ProjectChild ( REveElement el,
Bool_t  same_depth = kTRUE 
)
virtual

If this is a projectable, loop over all projected replicas and add the projected image of child 'el' there.

This is supposed to be called after you add a child to a projectable after it has already been projected. You might also want to call RecheckImpliedSelections() on this element or 'el'.

If 'same_depth' flag is true, the same depth as for parent object is used in every projection. Otherwise current depth of each relevant projection-manager is used.

Definition at line 968 of file REveElement.cxx.

◆ PropagateMainColorToProjecteds()

void REveElement::PropagateMainColorToProjecteds ( Color_t  color,
Color_t  old_color 
)
virtual

Propagate color to projected elements.

Definition at line 713 of file REveElement.cxx.

◆ PropagateMainTransparencyToProjecteds()

void REveElement::PropagateMainTransparencyToProjecteds ( Char_t  t,
Char_t  old_t 
)
virtual

Propagate transparency to projected elements.

Definition at line 751 of file REveElement.cxx.

◆ PropagateRnrStateToProjecteds()

void REveElement::PropagateRnrStateToProjecteds ( )
virtual

Propagate render state to the projected replicas of this element.

Maybe this should be optional on REX::gEve/element level.

Definition at line 649 of file REveElement.cxx.

◆ PropagateVizParamsToChildren()

void REveElement::PropagateVizParamsToChildren ( REveElement el = nullptr)
virtual

Propagate visualization parameters from element el (defaulting to this) to all children.

The primary use of this is for model-elements from visualization-parameter database.

Definition at line 337 of file REveElement.cxx.

◆ PropagateVizParamsToProjecteds()

void REveElement::PropagateVizParamsToProjecteds ( )
virtual

Propagate visualization parameters to dependent elements.

MainColor is propagated independently in SetMainColor(). In this case, as fMainColor is a pointer to Color_t, it should be set in TProperClass::CopyVizParams().

Render state is not propagated. Maybe it should be, at least optionally.

Definition at line 321 of file REveElement.cxx.

◆ PtrMainTrans()

REveTrans * REveElement::PtrMainTrans ( Bool_t  create = kTRUE)
virtual

Return pointer to main transformation.

If 'create' flag is set (default) it is created if not yet existing.

Definition at line 764 of file REveElement.cxx.

◆ RecheckImpliedSelections()

void REveElement::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.

This can happen if you add elements into compounds in response to user-interaction.

Definition at line 1390 of file REveElement.cxx.

◆ RefAunts() [1/2]

AuntList_t & ROOT::Experimental::REveElement::RefAunts ( )
inline

Definition at line 183 of file REveElement.hxx.

◆ RefAunts() [2/2]

const AuntList_t & ROOT::Experimental::REveElement::RefAunts ( ) const
inline

Definition at line 184 of file REveElement.hxx.

◆ RefChildren() [1/2]

List_t & ROOT::Experimental::REveElement::RefChildren ( )
inline

Definition at line 191 of file REveElement.hxx.

◆ RefChildren() [2/2]

const List_t & ROOT::Experimental::REveElement::RefChildren ( ) const
inline

Definition at line 192 of file REveElement.hxx.

◆ RefMainTrans()

REveTrans & REveElement::RefMainTrans ( )
virtual

Return reference to main transformation.

It is created if not yet existing.

Definition at line 776 of file REveElement.cxx.

◆ RemoveAunt()

void REveElement::RemoveAunt ( REveAunt au)
virtual

Remove el from the list of aunts.

Removing aunt is subordinate to removing a niece. This is an internal function.

Definition at line 515 of file REveElement.cxx.

◆ RemoveElement()

void REveElement::RemoveElement ( REveElement el)
virtual

Remove el from the list of children.

Definition at line 875 of file REveElement.cxx.

◆ RemoveElementLocal()

void REveElement::RemoveElementLocal ( REveElement el)
virtual

Perform additional local removal of el.

Called from RemoveElement() which does whole untangling. Put into special function as framework-related handling of element removal should really be common to all classes and clearing of local structures happens in between removal of list-tree-items and final removal. If you override this, you should also override RemoveElementsLocal().

Reimplemented in ROOT::Experimental::REveCompound, ROOT::Experimental::REvePointSetArray, ROOT::Experimental::REveViewer, and ROOT::Experimental::REveViewerList.

Definition at line 908 of file REveElement.cxx.

◆ RemoveElements()

void REveElement::RemoveElements ( )
virtual

Remove all elements.

This assumes removing of all elements can be done more efficiently then looping over them and removing them one by one.

Definition at line 939 of file REveElement.cxx.

◆ RemoveElementsInternal()

void REveElement::RemoveElementsInternal ( )
protectedvirtual

Remove all elements.

This assumes removing of all elements can be done more efficiently then looping over them and removing one by one. This protected function performs the removal on the level of REveElement.

Definition at line 918 of file REveElement.cxx.

◆ RemoveElementsLocal()

void REveElement::RemoveElementsLocal ( )
virtual

Perform additional local removal of all elements.

See comment to RemoveElementLocal(REveElement*).

Reimplemented in ROOT::Experimental::REveCompound, ROOT::Experimental::REvePointSetArray, ROOT::Experimental::REveViewer, and ROOT::Experimental::REveViewerList.

Definition at line 952 of file REveElement.cxx.

◆ ResetAllCSCBits()

void ROOT::Experimental::REveElement::ResetAllCSCBits ( )
inline

Definition at line 337 of file REveElement.hxx.

◆ ResetCSCBits()

void ROOT::Experimental::REveElement::ResetCSCBits ( UChar_t  f)
inline

Definition at line 334 of file REveElement.hxx.

◆ SaveVizParams()

void REveElement::SaveVizParams ( std::ostream &  out,
const TString tag,
const TString var 
)

Save visualization parameters for this element with given tag.

This function creates the instantiation code, calls virtual WriteVizParams() and, at the end, writes out the code for registration of the model into the VizDB.

Definition at line 385 of file REveElement.cxx.

◆ SetChildClass()

void ROOT::Experimental::REveElement::SetChildClass ( TClass c)
inline

Definition at line 189 of file REveElement.hxx.

◆ SetCompound()

void ROOT::Experimental::REveElement::SetCompound ( REveCompound c)
inline

Definition at line 171 of file REveElement.hxx.

◆ SetCSCBits()

void ROOT::Experimental::REveElement::SetCSCBits ( UChar_t  f)
inline

Definition at line 333 of file REveElement.hxx.

◆ SetDestroyOnZeroRefCnt()

void REveElement::SetDestroyOnZeroRefCnt ( Bool_t  d)

Sets the state of flag determining if the element will be destroyed when reference count reaches zero.

This is true by default.

Definition at line 1295 of file REveElement.cxx.

◆ SetEditMainColor()

void ROOT::Experimental::REveElement::SetEditMainColor ( Bool_t  x)
inline

Definition at line 253 of file REveElement.hxx.

◆ SetEditMainTransparency()

void ROOT::Experimental::REveElement::SetEditMainTransparency ( Bool_t  x)
inline

Definition at line 266 of file REveElement.hxx.

◆ SetMainAlpha()

void REveElement::SetMainAlpha ( Float_t  alpha)

Set main-transparency via float alpha variable.

Value of alpha is clamped t0 [0, 1].

Definition at line 741 of file REveElement.cxx.

◆ SetMainColor()

void REveElement::SetMainColor ( Color_t  color)
virtual

◆ SetMainColorPixel()

void REveElement::SetMainColorPixel ( Pixel_t  pixel)

Convert pixel to Color_t and call SetMainColor().

Definition at line 689 of file REveElement.cxx.

◆ SetMainColorPtr()

void ROOT::Experimental::REveElement::SetMainColorPtr ( Color_t colptr)
inline

Definition at line 255 of file REveElement.hxx.

◆ SetMainColorRGB() [1/2]

void REveElement::SetMainColorRGB ( Float_t  r,
Float_t  g,
Float_t  b 
)

Convert RGB values to Color_t and call SetMainColor.

Definition at line 705 of file REveElement.cxx.

◆ SetMainColorRGB() [2/2]

void REveElement::SetMainColorRGB ( UChar_t  r,
UChar_t  g,
UChar_t  b 
)

Convert RGB values to Color_t and call SetMainColor.

Definition at line 697 of file REveElement.cxx.

◆ SetMainTransparency()

void REveElement::SetMainTransparency ( Char_t  t)
virtual

Set main-transparency.

Transparency is clamped to [0, 100].

Reimplemented in ROOT::Experimental::REveCompound.

Definition at line 726 of file REveElement.cxx.

◆ SetName()

void REveElement::SetName ( const std::string &  name)

Set name of an element.

Definition at line 211 of file REveElement.cxx.

◆ SetNameTitle()

void REveElement::SetNameTitle ( const std::string &  name,
const std::string &  title 
)

Set name and title of an element.

Here we attempt to cast the assigned object into TNamed and call SetNameTitle() there. If you override this call NameTitleChanged() from there.

Definition at line 232 of file REveElement.cxx.

◆ SetPickable()

void ROOT::Experimental::REveElement::SetPickable ( Bool_t  p)
inline

Definition at line 319 of file REveElement.hxx.

◆ SetPickableRecursively()

void REveElement::SetPickableRecursively ( Bool_t  p)

Set pickable state on the element and all its children.

Definition at line 1331 of file REveElement.cxx.

◆ SetRnrChildren()

Bool_t REveElement::SetRnrChildren ( Bool_t  rnr)
virtual

Set render state of this element's children, i.e.

if they will be published on next scene update pass. Returns true if the state has changed.

Definition at line 589 of file REveElement.cxx.

◆ SetRnrSelf()

Bool_t REveElement::SetRnrSelf ( Bool_t  rnr)
virtual

Set render state of this element, i.e.

if it will be published on next scene update pass. Returns true if the state has changed.

Definition at line 566 of file REveElement.cxx.

◆ SetRnrSelfChildren()

Bool_t REveElement::SetRnrSelfChildren ( Bool_t  rnr_self,
Bool_t  rnr_children 
)
virtual

Set state for rendering of this element and its children.

Returns true if the state has changed.

Definition at line 610 of file REveElement.cxx.

◆ SetRnrState()

Bool_t REveElement::SetRnrState ( Bool_t  rnr)
virtual

Set render state of this element and of its children to the same value.

Returns true if the state has changed.

Definition at line 633 of file REveElement.cxx.

◆ SetSelectionMaster()

void ROOT::Experimental::REveElement::SetSelectionMaster ( REveElement el)
inline

Definition at line 323 of file REveElement.hxx.

◆ SetTitle()

void REveElement::SetTitle ( const std::string &  title)

Set title of an element.

Definition at line 220 of file REveElement.cxx.

◆ SetTransMatrix() [1/2]

void REveElement::SetTransMatrix ( const TGeoMatrix mat)
virtual

Set transformation matrix from TGeo's matrix.

Definition at line 819 of file REveElement.cxx.

◆ SetTransMatrix() [2/2]

void REveElement::SetTransMatrix ( Double_t carr)
virtual

Set transformation matrix from column-major array.

Definition at line 811 of file REveElement.cxx.

◆ SetupDefaultColorAndTransparency()

void REveElement::SetupDefaultColorAndTransparency ( Color_t  col,
Bool_t  can_edit_color,
Bool_t  can_edit_transparency 
)

Set up element to use built-in main color and set flags allowing editing of main color and transparency.

Definition at line 662 of file REveElement.cxx.

◆ SetUserData()

void ROOT::Experimental::REveElement::SetUserData ( void ud)
inline

Definition at line 286 of file REveElement.hxx.

◆ SetVizModel()

void REveElement::SetVizModel ( REveElement model)

Set visualization-parameter model element.

Calling of this function from outside of EVE should in principle be avoided as it can lead to dis-synchronization of viz-tag and viz-model.

Definition at line 255 of file REveElement.cxx.

◆ SetVizModelByTag()

Bool_t REveElement::SetVizModelByTag ( )

Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly.

If the tag is not found in VizDB, the old model-element is kept and false is returned.

Definition at line 266 of file REveElement.cxx.

◆ SetVizTag()

void ROOT::Experimental::REveElement::SetVizTag ( const TString tag)
inline

Definition at line 155 of file REveElement.hxx.

◆ SingleRnrState()

virtual Bool_t ROOT::Experimental::REveElement::SingleRnrState ( ) const
inlinevirtual

Reimplemented in ROOT::Experimental::REveScene, and ROOT::Experimental::REveSceneInfo.

Definition at line 239 of file REveElement.hxx.

◆ StampColorSelection()

void ROOT::Experimental::REveElement::StampColorSelection ( )
inline

Definition at line 366 of file REveElement.hxx.

◆ StampElementAdded()

void ROOT::Experimental::REveElement::StampElementAdded ( )
inline

Definition at line 371 of file REveElement.hxx.

◆ StampObjProps()

void ROOT::Experimental::REveElement::StampObjProps ( )
inline

Definition at line 368 of file REveElement.hxx.

◆ StampObjPropsPreChk()

void ROOT::Experimental::REveElement::StampObjPropsPreChk ( )
inline

Definition at line 369 of file REveElement.hxx.

◆ StampTransBBox()

void ROOT::Experimental::REveElement::StampTransBBox ( )
inline

Definition at line 367 of file REveElement.hxx.

◆ StampVisibility()

void ROOT::Experimental::REveElement::StampVisibility ( )
inline

Definition at line 370 of file REveElement.hxx.

◆ TestCSCBits()

Bool_t ROOT::Experimental::REveElement::TestCSCBits ( UChar_t  f) const
inline

Definition at line 335 of file REveElement.hxx.

◆ ToString()

const std::string & REveElement::ToString ( Bool_t  b)
staticprotected

Convert Bool_t to string - kTRUE or kFALSE.

Needed in WriteVizParams().

Definition at line 1447 of file REveElement.cxx.

◆ VizDB_Apply()

void REveElement::VizDB_Apply ( const std::string &  tag)

Set visual parameters for this object for given tag.

Definition at line 426 of file REveElement.cxx.

◆ VizDB_Insert()

void REveElement::VizDB_Insert ( const std::string &  tag,
Bool_t  replace = kTRUE,
Bool_t  update = kTRUE 
)

Create a replica of element and insert it into VizDB with given tag.

If replace is true an existing element with the same tag will be replaced. If update is true, existing client of tag will be updated.

Definition at line 481 of file REveElement.cxx.

◆ VizDB_Reapply()

void REveElement::VizDB_Reapply ( )

Reset visual parameters for this object from VizDB.

The model object must be already set.

Definition at line 439 of file REveElement.cxx.

◆ VizDB_UpdateModel()

void REveElement::VizDB_UpdateModel ( Bool_t  update = kTRUE)

Copy visual parameters from this element to viz-db model.

If update is set, all clients of the model will be updated to the new value. A warning is printed if the model-element fVizModel is not set.

Definition at line 455 of file REveElement.cxx.

◆ WriteCoreJson()

◆ WriteVizParams()

void REveElement::WriteVizParams ( std::ostream &  out,
const TString var 
)
virtual

Write-out visual parameters for this object.

This is a virtual function and all sub-classes are required to first call the base-element version. The name of the element pointer is 'x%03d', due to cint limitations. Three spaces should be used for indentation, same as in SavePrimitive() methods.

Reimplemented in ROOT::Experimental::REveLine, ROOT::Experimental::REvePointSet, ROOT::Experimental::REveShape, ROOT::Experimental::REveStraightLineSet, ROOT::Experimental::REveTrack, and ROOT::Experimental::REveTrackList.

Definition at line 412 of file REveElement.cxx.

Friends And Related Function Documentation

◆ REveManager

friend class REveManager
friend

Definition at line 71 of file REveElement.hxx.

◆ REveScene

friend class REveScene
friend

Definition at line 72 of file REveElement.hxx.

Member Data Documentation

◆ fAunts

AuntList_t ROOT::Experimental::REveElement::fAunts
protected

Definition at line 100 of file REveElement.hxx.

◆ fCanEditMainColor

Bool_t ROOT::Experimental::REveElement::fCanEditMainColor {kFALSE}
protected

Definition at line 112 of file REveElement.hxx.

◆ fCanEditMainTrans

Bool_t ROOT::Experimental::REveElement::fCanEditMainTrans {kFALSE}
protected

Definition at line 114 of file REveElement.hxx.

◆ fCanEditMainTransparency

Bool_t ROOT::Experimental::REveElement::fCanEditMainTransparency {kFALSE}
protected

Definition at line 113 of file REveElement.hxx.

◆ fChangeBits

UChar_t ROOT::Experimental::REveElement::fChangeBits {0}
protected

Definition at line 362 of file REveElement.hxx.

◆ fChildClass

TClass* ROOT::Experimental::REveElement::fChildClass {nullptr}
protected

Definition at line 102 of file REveElement.hxx.

◆ fChildren

List_t ROOT::Experimental::REveElement::fChildren
protected

Definition at line 101 of file REveElement.hxx.

◆ fCompound

REveCompound* ROOT::Experimental::REveElement::fCompound {nullptr}
protected

Definition at line 103 of file REveElement.hxx.

◆ fCSCBits

UChar_t ROOT::Experimental::REveElement::fCSCBits {0}
protected

Definition at line 315 of file REveElement.hxx.

◆ fDefaultColor

Color_t ROOT::Experimental::REveElement::fDefaultColor {kPink}
protected

Definition at line 117 of file REveElement.hxx.

◆ fDenyDestroy

Int_t ROOT::Experimental::REveElement::fDenyDestroy {0}
protected

Definition at line 107 of file REveElement.hxx.

◆ fDestroyOnZeroRefCnt

Bool_t ROOT::Experimental::REveElement::fDestroyOnZeroRefCnt {kTRUE}
protected

Deny-destroy count.

Definition at line 108 of file REveElement.hxx.

◆ fDestructing

Char_t ROOT::Experimental::REveElement::fDestructing {kNone}
protected

Definition at line 363 of file REveElement.hxx.

◆ fElementId

ElementId_t ROOT::Experimental::REveElement::fElementId {0}
private

Definition at line 84 of file REveElement.hxx.

◆ fImpliedSelected

Short_t ROOT::Experimental::REveElement::fImpliedSelected {0}
protected

Definition at line 313 of file REveElement.hxx.

◆ fMainColorPtr

Color_t* ROOT::Experimental::REveElement::fMainColorPtr {nullptr}
protected

Definition at line 118 of file REveElement.hxx.

◆ fMainTrans

std::unique_ptr<REveTrans> ROOT::Experimental::REveElement::fMainTrans
protected

Definition at line 119 of file REveElement.hxx.

◆ fMainTransparency

Char_t ROOT::Experimental::REveElement::fMainTransparency {0}
protected

Definition at line 116 of file REveElement.hxx.

◆ fMother

REveElement* ROOT::Experimental::REveElement::fMother {nullptr}
protected

Definition at line 87 of file REveElement.hxx.

◆ fName

std::string ROOT::Experimental::REveElement::fName
protected

Definition at line 98 of file REveElement.hxx.

◆ fPickable

Bool_t ROOT::Experimental::REveElement::fPickable {0}
protected

Definition at line 314 of file REveElement.hxx.

◆ fRenderData

std::unique_ptr<REveRenderData> ROOT::Experimental::REveElement::fRenderData
protected

Externally assigned and controlled user data.

Definition at line 123 of file REveElement.hxx.

◆ fRnrChildren

Bool_t ROOT::Experimental::REveElement::fRnrChildren {kTRUE}
protected

Definition at line 111 of file REveElement.hxx.

◆ fRnrSelf

Bool_t ROOT::Experimental::REveElement::fRnrSelf {kTRUE}
protected

Definition at line 110 of file REveElement.hxx.

◆ fScene

REveScene* ROOT::Experimental::REveElement::fScene {nullptr}
protected

Definition at line 88 of file REveElement.hxx.

◆ fSelectionMaster

REveElement* ROOT::Experimental::REveElement::fSelectionMaster {nullptr}
protected

Definition at line 89 of file REveElement.hxx.

◆ fTitle

std::string ROOT::Experimental::REveElement::fTitle
protected

Definition at line 99 of file REveElement.hxx.

◆ fUserData

void* ROOT::Experimental::REveElement::fUserData {nullptr}
protected

Definition at line 121 of file REveElement.hxx.

◆ fVizModel

REveElement* ROOT::Experimental::REveElement::fVizModel {nullptr}
protected

Definition at line 104 of file REveElement.hxx.

◆ fVizTag

TString ROOT::Experimental::REveElement::fVizTag
protected

Element used as model from VizDB.

Definition at line 105 of file REveElement.hxx.

Libraries for ROOT::Experimental::REveElement:
[legend]

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