38REveProjectable::REveProjectable()
80 proj->UnRefProjectable(
this,
kFALSE);
100 set.insert(proj->GetProjectedAsElement());
123 if (proj->GetProjectedAsElement()->SetRnrSelfChildren(rnr_self, rnr_children))
124 proj->GetProjectedAsElement()->StampVisibility();
134 auto p_as_el = proj->GetProjectedAsElement();
135 if (p_as_el->GetMainColor() == old_color) {
136 p_as_el->SetMainColor(color);
137 p_as_el->StampColorSelection();
149 auto p_as_el = proj->GetProjectedAsElement();
150 if (p_as_el->GetMainTransparency() == old_t) {
151 p_as_el->SetMainTransparency(t);
152 p_as_el->StampColorSelection();
204 static const REveException eH(
"REveProjected::UnRefProjectable ");
virtual void Annihilate()
Optimized destruction without check of reference-count.
virtual void CopyVizParams(const REveElement *el)
Copy visualization parameters from element el.
REveException Exception-type thrown by Eve classes.
void PreDeleteElement(REveElement *element)
Called from REveElement prior to its destruction so the framework components (like object editor) can...
virtual void AddProjectedsToSet(std::set< REveElement * > &set)
Add the projected elements to the set, dyn-casting them to REveElement.
REveProjectable()
Constructor.
virtual void PropagateVizParams(REveElement *el=nullptr)
Set visualization parameters of projecteds.
virtual void RemoveProjected(REveProjected *p)
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...
ProjList_t fProjectedList
virtual void ClearProjectedList()
virtual void PropagateRenderState(Bool_t rnr_self, Bool_t rnr_children)
Set render state of projecteds.
virtual void AddProjected(REveProjected *p)
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 ~REveProjectable()
Destructor.
virtual REveElement * GetProjectedAsElement()
Returns this projected dynamic-casted to REveElement.
virtual void SetProjection(REveProjectionManager *mng, REveProjectable *model)
Sets projection manager and reference in the projectable object.
virtual void UnRefProjectable(REveProjectable *assumed_parent, bool notifyParent=true)
Remove reference to projectable.
void SetDepthCommon(Float_t d, REveElement *el, Float_t *bbox)
Utility function to update the z-values of the bounding-box.
virtual ~REveProjected()
Destructor.
virtual void SetDepth(Float_t d)
Set depth coordinate for the element.
virtual void SetDepthLocal(Float_t d)
Base-class implementation – just sets fDepth.
REveProjectable * fProjectable
REveProjectionManager * fManager
REveProjectionManager Manager class for steering of projections and managing projected objects.
REveProjection * GetProjection()
virtual Bool_t Is2D() const =0
R__EXTERN REveManager * gEve