55 const TGPicture* TEveElement::fgRnrIcons[4] = { 0 };
56 const TGPicture* TEveElement::fgListTreeIcons[9] = { 0 };
71 fDestroyOnZeroRefCnt (
kTRUE),
74 fCanEditMainColor (
kFALSE),
75 fCanEditMainTransparency(
kFALSE),
76 fCanEditMainTrans (
kFALSE),
77 fMainTransparency (0),
87 fImpliedHighlighted (0),
104 fParentIgnoreCnt (0),
107 fDestroyOnZeroRefCnt (
kTRUE),
109 fRnrChildren (
kTRUE),
110 fCanEditMainColor (
kFALSE),
111 fCanEditMainTransparency(
kFALSE),
112 fCanEditMainTrans (
kFALSE),
113 fMainTransparency (0),
114 fMainColorPtr (&main_color),
122 fImpliedSelected (0),
123 fImpliedHighlighted (0),
150 fParentIgnoreCnt (0),
153 fDestroyOnZeroRefCnt (e.fDestroyOnZeroRefCnt),
154 fRnrSelf (e.fRnrSelf),
155 fRnrChildren (e.fRnrChildren),
156 fCanEditMainColor (e.fCanEditMainColor),
157 fCanEditMainTransparency(e.fCanEditMainTransparency),
158 fCanEditMainTrans (e.fCanEditMainTrans),
159 fMainTransparency (e.fMainTransparency),
165 fPickable (e.fPickable),
168 fImpliedSelected (0),
169 fImpliedHighlighted (0),
170 fCSCBits (e.fCSCBits),
195 (*p)->RemoveElementLocal(
this);
196 (*p)->fChildren.remove(
this);
197 --((*p)->fNumChildren);
204 i->fTree->DeleteItem(i->fItem);
253 dest->
AddElement((*i)->CloneElementRecurse(level));
267 static const TEveException eh(
"TEveElement::GetElementName ");
270 return named ? named->
GetName() :
"<no-name>";
280 static const TEveException eh(
"TEveElement::GetElementTitle ");
283 return named ? named->
GetTitle() :
"<no-title>";
294 static const TEveException eh(
"TEveElement::SetElementName ");
311 static const TEveException eh(
"TEveElement::SetElementTitle ");
328 static const TEveException eh(
"TEveElement::SetElementNameTitle ");
405 if ( ! fallback_tag.
IsNull())
414 Warning(
"TEveElement::ApplyVizTag",
"entry for tag '%s' not found in VizDB.", tag.
Data());
483 Warning(
"TEveElement::CopyVizParamsFromDB",
"VizModel has not been set.");
503 TString intro =
" TAG='" + tag +
"', CLASS='" + cls +
"'";
504 out <<
" //" << intro <<
"\n";
505 out <<
" //" <<
TString(
'-', intro.Length()) <<
"\n";
506 out << t << cls <<
"* " << var <<
" = new " << cls <<
";\n";
510 out << t <<
"gEve->InsertVizDBEntry(\"" << tag <<
"\", "<< var <<
");\n";
577 Warning(
"VizDB_UpdateModel",
"VizModel has not been set.");
593 Error(
"VizDB_Insert",
"Creation of replica failed.");
623 if (dynamic_cast<TEveCompound*>(*i))
695 (*p)->CollectSceneParents(scenes);
710 if (*p != parent) (*p)->CollectSceneParents(scenes);
715 (*c)->CollectSceneParentsFromChildren(scenes,
this);
735 (*i)->AddIntoListTree(ltree, parent);
762 static const TEveException eh(
"TEveElement::AddIntoListTree ");
765 ltree->
AddItem(parent_lti, item);
773 (*i)->AddIntoListTree(ltree, item);
795 if (i->fTree == ltree)
826 static const TEveException eh(
"TEveElement::RemoveFromListTree ");
834 if (parent_lti == 0) {
850 static const TEveException eh(
"TEveElement::RemoveFromListTrees ");
860 (plti == 0 && parent == 0))
863 j->fTree->DeleteItem(j->fItem);
864 j->fTree->ClearViewPort();
872 if (parent == 0 && count > 0)
886 if (i->fTree == ltree)
899 if (i->fTree == ltree && i->fItem->
GetParent() == parent_lti)
912 if (i->fTree == ltree)
925 if (i->fTree == ltree && i->fItem->
GetParent() == parent_lti)
941 throw(eh +
"not a TObject.");
969 static const TEveException eh(
"TEveElement::DumpSourceObject ");
973 throw eh +
"source-object not set.";
984 static const TEveException eh(
"TEveElement::PrintSourceObject ");
988 throw eh +
"source-object not set.";
999 static const TEveException eh(
"TEveElement::ExportSourceObjectToCINT ");
1003 throw eh +
"source-object not set.";
1005 const char* cname = so->IsA()->
GetName();
1023 (*i)->PadPaint(option);
1036 static const TEveException eh(
"TEveElement::PaintStandard ");
1048 Int_t reqSections =
gPad->GetViewer3D()->AddObject(buff);
1051 Warning(eh,
"IsA='%s'. Viewer3D requires more sections (%d). Only direct-rendering supported.",
1215 if (t > 100) t = 100;
1228 if (alpha < 0) alpha = 0;
1229 if (alpha > 1) alpha = 1;
1329 throw(eh +
Form(
"parent '%s' rejects '%s'.",
1379 (*i)->RemoveParent(
this);
1484 if (name.
CompareTo((*i)->GetElementName()) == 0)
1503 if (regexp.
MatchB((*i)->GetElementName()))
1524 if (name.
CompareTo((*i)->GetElementName()) == 0)
1528 matches.push_back(*i);
1548 if (regexp.
MatchB((*i)->GetElementName()))
1552 matches.push_back(*i);
1584 (*i)->SetRnrSelf(rnr_self);
1585 (*i)->SetRnrChildren(rnr_children);
1602 (*i)->SetRnrSelf(rnr_self);
1603 (*i)->SetRnrChildren(rnr_children);
1614 static const TEveException eh(
"TEveElement::AnnihilateRecursively ");
1631 (*i)->AnnihilateRecursively();
1655 Warning(eh,
"More than one parent for '%s': %d. Refusing to delete.",
1672 fParents.front()->RemoveElement(
this);
1705 throw eh +
TString::Format(
"element '%s' (%s*) 0x%lx is protected against destruction.",
1718 static const TEveException eh(
"TEveElement::DestroyOrWarn ");
1735 static const TEveException eh(
"TEveElement::DestroyElements ");
1746 Warning(eh,
"element destruction failed: '%s'.", exc.
Data());
1753 Info(eh,
"element '%s' is protected agains destruction, removing locally.", c->
GetElementName());
1865 (*i)->SetPickableRecursively(p);
2069 return b ?
"kTRUE" :
"kFALSE";
2111 fOwnObject (e.fOwnObject)
2140 throw eh +
"fObject not set.";
2150 static const TEveException eh(
"TEveElementObjectPtr::ExportToCINT ");
2153 const char* cname = obj->IsA()->
GetName();
2154 gROOT->ProcessLine(
Form(
"%s* %s = (%s*)0x%lx;", cname, var_name, cname, (
ULong_t)obj));
2207 fChildClass (e.fChildClass)
void ElementStamped(TEveElement *element)
Mark element as changed – it will be processed on next redraw.
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
virtual void AnnihilateProjecteds()
Optimized destroy of projected elements with condition there is only one parent for projected element...
Abstract base class for classes that hold results of a non-linear projection transformation.
virtual void SetElementName(const char *name)
Virtual function for setting of name of an element.
virtual const char * GetTitle() const
Returns title of object.
void DecDenyDestroy()
Decreases the deny-destroy count of the element.
virtual void PadPaint(Option_t *option)
Paint self and/or children into currently active pad.
void SetVizModel(TEveElement *model)
Set visualization-parameter model element.
void DisableListElements(Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE)
Disable rendering of children and their list contents.
virtual void SelectElement(Bool_t state)
Set element's selection state. Stamp appropriately.
Int_t fDenyDestroy
Counter for top-level list-tree items that prevent automatic destruction.
virtual void * GetUserData() const =0
virtual void AddParent(TEveElement *re)
Add re into the list parents.
virtual UChar_t GetSelectedLevel() const
Get selection level, needed for rendering selection and highlight feedback.
virtual sLTI_i FindItem(TGListTree *ltree)
Find any list-tree-item of this element in list-tree 'ltree'.
Int_t DeleteItem(TGListTreeItem *item)
Delete item from list tree.
static const TGPicture * fgRnrIcons[4]
Bool_t MatchB(const TString &s, const TString &mods="", Int_t start=0, Int_t nMaxMatch=10)
const TGWindow * GetParent() const
virtual Bool_t HasMainTrans() const
virtual const char * GetElementTitle() const
Virtual function for retrieving title of the render-element.
virtual void CollectSceneParentsFromChildren(List_t &scenes, TEveElement *parent)
Collect scene-parents from all children.
void EditElement(TEveElement *element)
Show element in default editor.
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEveCompoundProjected class.
virtual void AddStamp(UChar_t bits)
Add (bitwise or) given stamps to fChangeBits.
std::set< TEveElement * > Set_t
virtual void DestroyMainTrans()
Destroy the main transformation matrix, it will always be taken as identity.
virtual Bool_t AcceptElement(TEveElement *el)
Check if TEveElement el is inherited from fChildClass.
void VizDB_Apply(const char *tag)
Set visual parameters for this object for given tag.
virtual void RemoveParent(TEveElement *re)
Remove re from the list of parents.
virtual void NameTitleChanged()
Virtual function called when a name or title of the element has been changed.
virtual void SetName(const char *name)
Change (i.e.
virtual Int_t SubImportChildren(TEveElement *el, TEveElement *proj_parent)
Recursively import children elements of el and apply projection to the newly imported objects...
virtual void RemoveElementLocal(TEveElement *el)
Perform additional local removal of el.
static const TGPicture * fgListTreeIcons[9]
Int_t fTopItemCnt
Counter for parents that are ignored in ref-counting.
TEveElement * LastChild() const
Returns the last child element or 0 if the list is empty.
void IncDenyDestroy()
Increases the deny-destroy count of the element.
virtual void PropagateMainColorToProjecteds(Color_t color, Color_t old_color)
Propagate color to projected elements.
virtual Bool_t SetRnrState(Bool_t rnr)
Set render state of this element and of its children to the same value.
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...
virtual void PropagateMainTransparency(Char_t t, Char_t old_t)
Set main transparency of projecteds if their transparency is the same as the old one.
virtual void PaintStandard(TObject *id)
Paint object – a generic implementation for EVE elements.
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
virtual void CollectSceneParents(List_t &scenes)
Collect all parents of class TEveScene.
virtual void Destroy()
Destroy this element.
TEveElement * FindVizDBEntry(const TString &tag)
Find a visualization-parameter database entry corresponding to tag.
TEveProjectable * GetProjectable() const
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Int_t GetParentIgnoreCnt() const
Get number of parents that should be ignored in doing reference-counting.
TEveSelection * GetSelection() const
virtual const char * GetElementName() const
Virtual function for retrieving name of the element.
void DecParentIgnoreCnt()
Decrease number of parents ignored in reference-counting.
Bool_t FindVizModel()
Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordi...
virtual void SetNameTitle(const char *name, const char *title)
Change (i.e. set) all the TNamed parameters (name and title).
static const char * ToString(Bool_t b)
Convert Bool_t to string - kTRUE or kFALSE.
TEveElementList(const char *n="TEveElementList", const char *t="", Bool_t doColor=kFALSE, Bool_t doTransparency=kFALSE)
Constructor.
virtual void PropagateVizParamsToProjecteds()
Propagate visualization parameters to dependent elements.
virtual void RemoveElementsLocal()
Perform additional local removal of all elements.
TEveElement()
Default constructor.
void SetMainColorPtr(Color_t *color)
void AddElement(TEveElement *element, TEveElement *parent=0)
Add an element.
TObject * GetSourceObject() const
void RecheckImpliedSelections()
Call this if it is possible that implied-selection or highlight has changed for this element or for i...
const char * Data() const
TGListTreeItem * GetParent() const
virtual TEveElementList * CloneElement() const
Clone the element via copy constructor.
virtual void RemoveElement(TEveElement *el)
Remove el from the list of children.
void IncParentIgnoreCnt()
Increase number of parents ignored in reference-counting.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
Bool_t GetUseOrphanage() const
Bool_t fDestroyOnZeroRefCnt
Deny-destroy count.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
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...
Bool_t fCanEditMainTransparency
sLTI_t::reverse_iterator sLTI_ri
virtual void Annihilate()
Optimized destruction without check of reference-count.
The TNamed class is the base class for all named ROOT classes.
void VizDB_Reapply()
Reset visual parameters for this object from VizDB.
void SetVizTag(const TString &tag)
virtual TEveElement * CloneElementRecurse(Int_t level=0) const
Clone elements and recurse 'level' deep over children.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
virtual void DestroyListSubTree(TGListTree *ltree, TGListTreeItem *parent)
Destroy sub-tree under item 'parent' in list-tree 'ltree'.
TEveElementListProjected()
Constructor.
virtual Bool_t GetRnrChildren() const
virtual Color_t GetMainColor() const
Float_t GetCurrentDepth() const
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.
void Info(const char *location, const char *msgfmt,...)
virtual TObject * GetRenderObject(const TEveException &eh) const
const std::string ClassName(PyObject *pyobj)
Retrieve the class name from the given python object (which may be just an instance of the class)...
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.
virtual void SetElementTitle(const char *title)
Virtual function for setting of title of an element.
Base-class for non-linear projections.
virtual void PropagateRenderState(Bool_t rnr_self, Bool_t rnr_children)
Set render state of projecteds.
virtual void ExpandIntoListTree(TGListTree *ltree, TGListTreeItem *parent)
Populates parent with elements.
virtual Bool_t GetRnrSelf() const
void SaveVizParams(std::ostream &out, const TString &tag, const TString &var)
Save visualization parameters for this element with given tag.
Bool_t HasChild(TEveElement *el)
Check if element el is a child of this element.
virtual void DestroyElements()
Destroy all children of this element.
void Error(const char *location, const char *msgfmt,...)
Manager class for steering of projections and managing projected objects.
void SetSectionsValid(UInt_t mask)
void SetFrom(Double_t *carr)
virtual void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
virtual ~TEveElement()
Destructor.
Abstract base-class for non-linear projectable objects.
void ElementChanged(TEveElement *element, Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
Element was changed, perform framework side action.
virtual TEveElementObjectPtr * CloneElement() const
Clone the element via copy constructor.
virtual void InitMainTrans(Bool_t can_edit=kTRUE)
Initialize the main transformation to identity matrix.
Color_t * GetMainColorPtr() const
void SetPickableRecursively(Bool_t p)
Set pickable state on the element and all its children.
virtual TGListTreeItem * AddIntoListTrees(TEveElement *parent)
Add this render element into all list-trees and all items belonging to parent.
virtual void PreDeleteElement()
Externally assigned and controlled user data.
List_t::const_iterator List_ci
virtual void CheckReferenceCount(const TEveException &eh="TEveElement::CheckReferenceCount ")
Check external references to this and eventually auto-destruct the render-element.
TGListTreeItem * GetNextSibling() const
TEveElement * GetMaster()
Returns the master element - that is:
TGListTreeItem * GetFirstChild() const
virtual TGListTreeItem * AddIntoListTree(TGListTree *ltree, TGListTreeItem *parent_lti)
Add this element into ltree to an already existing item parent_lti.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
virtual ~TEveElementObjectPtr()
Destructor.
R__EXTERN TEveManager * gEve
virtual void SetElementNameTitle(const char *name, const char *title)
Virtual function for setting of name and title of render element.
virtual void DecImpliedHighlighted()
Decrease element's implied-highlight count. Stamp appropriately.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void PropagateMainTransparencyToProjecteds(Char_t t, Char_t old_t)
Propagate transparency to projected elements.
void AddItem(TGListTreeItem *parent, TGListTreeItem *item)
Add given item to list tree.
virtual void DecImpliedSelected()
Decrease element's implied-selection count. Stamp appropriately.
virtual const TGPicture * GetListTreeCheckBoxIcon()
Returns list-tree-item check-box picture appropriate for given rendering state.
void SetMainColorRGB(UChar_t r, UChar_t g, UChar_t b)
Convert RGB values to Color_t and call SetMainColor.
std::list< TEveProjected * >::iterator ProjList_i
void SetMainAlpha(Float_t alpha)
Set main-transparency via float alpha variable.
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
virtual void AnnihilateRecursively()
Protected member function called from TEveElement::Annihilate().
virtual void IncImpliedSelected()
Increase element's implied-selection count. Stamp appropriately.
virtual void ClearProjectedList()
ClassImp(TEveElement::TEveListTreeInfo)
void SetBuffer3D(TBuffer3D &buff)
Fill transformation part TBuffer3D core section.
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Populate set impSelSet with derived / dependant elements.
virtual void IncImpliedHighlighted()
Increase element's implied-highlight count. Stamp appropriately.
virtual void ExportToCINT(char *var_name)
Export render-element to CINT with variable name var_name.
char * Form(const char *fmt,...)
TEveElement with external TObject as a holder of visualization data.
TEveElementList * GetOrphanage() const
virtual TObject * GetObject(const TEveException &eh="TEveElementObjectPtr::GetObject ") const
Return external object.
virtual Bool_t SetRnrSelf(Bool_t rnr)
Set render state of this element, i.e.
Generic 3D primitive description class.
static Int_t GetColor(const char *hexcolor)
Static method returning color number for color specified by hex color string of form: "#rrggbb"...
virtual const char * GetName() const
Returns name of object.
The ROOT global object gROOT contains a list of all defined classes.
virtual void AddElement(TEveElement *el)
Add el to the list of children.
Bool_t GetDestroyOnZeroRefCnt() const
Returns state of flag determining if the element will be destroyed when reference count reaches zero...
void Warning(const char *location, const char *msgfmt,...)
virtual void SetMainColor(Color_t color)
Set main color of the element.
void StampColorSelection()
virtual void ClearViewPort()
Clear view port and redraw full content.
void ExportSourceObjectToCINT(char *var_name) const
Export source object to CINT with given name for the variable.
virtual Int_t RemoveFromListTrees(TEveElement *parent)
Remove element from all list-trees where 'parent' is the user-data of the parent list-tree-item.
virtual void SetMainTransparency(Char_t t)
Set main-transparency.
TEveElement * FirstChild() const
Returns the first child element or 0 if the list is empty.
virtual Bool_t RemoveFromListTree(TGListTree *ltree, TGListTreeItem *parent_lti)
Remove element from list-tree 'ltree' where its parent item is 'parent_lti'.
virtual TEveElement * ForwardEdit()
Returns element to be displayed in GUI editor on click.
void SetCurrentDepth(Float_t d)
virtual void Paint(Option_t *option="")
This method must be overridden if a class wants to paint itself.
std::list< TEveElement * > List_t
virtual void DestroyOrWarn()
Destroy this element. Prints a warning if deny-destroy is in force.
void EnableListElements(Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
Enable rendering of children and their list contents.
virtual void RemoveElementsInternal()
Remove all elements.
virtual const char * GetName() const
Returns name of object.
virtual void ExportToCINT(char *var_name)
Export external object to CINT with variable name var_name.
A projected element list – required for proper propagation of render state to projected views...
void DumpSourceObject() const
Call Dump() on source object.
Int_t GetDenyDestroy() const
Returns the number of times deny-destroy has been requested on the element.
Bool_t TestCSCBits(UChar_t f) const
virtual Bool_t SingleRnrState() const
virtual Bool_t SetRnrChildren(Bool_t rnr)
Set render state of this element's children, i.e.
virtual Bool_t HasProjecteds() const
virtual void HighlightElement(Bool_t state)
Set element's highlight state. Stamp appropriately.
virtual TObject * GetObject(const TEveException &eh) const
Get a TObject associated with this render-element.
virtual void AddProjectedsToSet(std::set< TEveElement * > &set)
Add the projected elements to the set, dyn-casting them to TEveElement.
virtual void UnHighlighted()
Virtual function called when both fHighlighted is false and fImpliedHighlighted is 0...
virtual const TGPicture * GetListTreeIcon(Bool_t open=kFALSE)
Returns pointer to first listtreeicon.
Short_t fImpliedHighlighted
void SpawnEditor()
Show GUI editor for this object.
virtual void CopyVizParamsFromDB()
Copy visualization parameters from the model-element fVizModel.
Mother of all ROOT objects.
Structure holding information about TGListTree and TGListTreeItem that represents given TEveElement...
virtual void PropagateVizParams(TEveElement *el=0)
Set visualization parameters of projecteds.
ProjList_i BeginProjecteds()
Bool_t HasChildren() const
TEveElementObjectPtr(TObject *obj, Bool_t own=kTRUE)
Constructor.
virtual void RemoveElements()
Remove all elements.
Special list-tree-item for Eve.
virtual Bool_t AcceptElement(TEveElement *el)
Check if el can be added to this element.
#define dest(otri, vertexptr)
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...
virtual void PropagateVizParamsToElements(TEveElement *el=0)
Propagate visualization parameters from element el (defaulting to this) to all elements (children)...
virtual void WriteVizParams(std::ostream &out, const TString &var)
Write-out visual parameters for this object.
void SetMainColorPixel(Pixel_t pixel)
Convert pixel to Color_t and call SetMainColor().
virtual TEveTrans & RefMainTrans()
Return reference to main transformation.
virtual Bool_t SetRnrSelfChildren(Bool_t rnr_self, Bool_t rnr_children)
Set state for rendering of this element and its children.
virtual Char_t GetMainTransparency() const
Exception class thrown by TEve classes and macros.
virtual TEveElement * CloneElement() const
Clone the element via copy constructor.
virtual TGListTreeItem * FindListTreeItem(TGListTree *ltree)
Find any list-tree-item of this element in list-tree 'ltree'.
void VizDB_UpdateModel(Bool_t update=kTRUE)
Copy visual parameters from this element to viz-db model.
void SetDestroyOnZeroRefCnt(Bool_t d)
Sets the state of flag determining if the element will be destroyed when reference count reaches zero...
Bool_t InsertVizDBEntry(const TString &tag, TEveElement *model, Bool_t replace, Bool_t update)
Insert a new visualization-parameter database entry.
virtual void PropagateMainColor(Color_t color, Color_t old_color)
Set main color of projecteds if their color is the same as old_color.
virtual void PropagateRnrStateToProjecteds()
Propagate render state to the projected replicas of this element.
Bool_t InheritsFrom(const char *cl) const
Return kTRUE if this class inherits from a class with name "classname".
virtual void AnnihilateElements()
Annihilate elements.
void RecheckImpliedSetForElement(TEveElement *el)
If given element is selected or implied-selected with this selection and recheck implied-set for give...
virtual TEveTrans * PtrMainTrans(Bool_t create=kTRUE)
Return pointer to main transformation.
TEveElement * FindChild(const TString &name, const TClass *cls=0)
Find the first child with given name.
virtual TEveElement * SubImportElements(TEveElement *el, TEveElement *proj_parent)
Recursively import elements and apply projection to the newly imported objects.
virtual void UnSelected()
Virtual function called when both fSelected is false and fImpliedSelected is 0.
void PreDeleteElement(TEveElement *element)
Called from TEveElement prior to its destruction so the framework components (like object editor) can...
virtual TEveElement * ForwardSelection()
Returns element to be selected on click.
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
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' ...
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
const char * cd(char *path=0)
void PrintSourceObject() const
Call Print() on source object.
TString fVizTag
Element used as model from VizDB.
virtual void CloneChildrenRecurse(TEveElement *dest, Int_t level=0) const
Clone children and attach them to the dest element.
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
virtual void SetTransMatrix(Double_t *carr)
Set transformation matrix from column-major array.
void UnitTrans()
Reset matrix to unity.
virtual void Dump() const
Dump contents of object on stdout.
virtual void UpdateProjection()
This is abstract method from base-class TEveProjected.
TEveSelection * GetHighlight() const
virtual Bool_t HandleElementPaste(TEveElement *el)
React to element being pasted or dnd-ed.
ProjList_i EndProjecteds()