|
ROOT
Reference Guide |
|
Go to the documentation of this file.
69 (*i)->UnRefProjectable(
this,
kFALSE);
70 (*i)->GetProjectedAsElement()->Annihilate();
90 set.insert((*i)->GetProjectedAsElement());
117 if ((*i)->GetProjectedAsElement()->SetRnrSelfChildren(rnr_self, rnr_children))
118 (*i)->GetProjectedAsElement()->ElementChanged();
129 if ((*i)->GetProjectedAsElement()->GetMainColor() == old_color)
130 (*i)->GetProjectedAsElement()->SetMainColor(color);
142 if ((*i)->GetProjectedAsElement()->GetMainTransparency() == old_t)
143 (*i)->GetProjectedAsElement()->SetMainTransparency(t);
206 static const TEveException eH(
"TEveProjected::UnRefProjectable ");
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual void AddProjected(TEveProjected *p)
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
Sets projection manager and reference in the projectable object.
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 AnnihilateProjecteds()
Optimized destroy of projected elements with condition there is only one parent for projected element...
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
TEveProjected()
Constructor.
virtual void PropagateVizParams(TEveElement *el=0)
Set visualization parameters of projecteds.
TEveProjectable * fProjectable
virtual void PropagateRenderState(Bool_t rnr_self, Bool_t rnr_children)
Set render state of projecteds.
virtual Bool_t Is2D() const =0
ProjList_t fProjectedList
R__EXTERN TEveManager * gEve
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 UnRefProjectable(TEveProjectable *assumed_parent, bool notifyParent=true)
Remove reference to projectable.
Abstract base-class for non-linear projectable objects.
std::list< TEveProjected * >::iterator ProjList_i
Manager class for steering of projections and managing projected objects.
TEveProjectionManager * fManager
virtual ~TEveProjectable()
Destructor.
virtual void SetDepthLocal(Float_t d)
Base-class implementation – just sets fDepth.
virtual void SetDepth(Float_t d)
Set depth coordinate for the element.
TEveProjectable()
Constructor.
virtual void ClearProjectedList()
void PreDeleteElement(TEveElement *element)
Called from TEveElement prior to its destruction so the framework components (like object editor) can...
Exception class thrown by TEve classes and macros.
Abstract base class for classes that hold results of a non-linear projection transformation.
virtual ~TEveProjected()
Destructor.
virtual TEveElement * GetProjectedAsElement()
Returns this projected dynamic-casted to TEveElement.
TEveProjection * GetProjection()
void SetDepthCommon(Float_t d, TEveElement *el, Float_t *bbox)
Utility function to update the z-values of the bounding-box.
virtual void RemoveProjected(TEveProjected *p)
virtual void AddProjectedsToSet(std::set< TEveElement * > &set)
Add the projected elements to the set, dyn-casting them to TEveElement.