ROOT
6.06/09
Reference Guide
|
Abstract base-class for non-linear projectable objects.
Via ProjectedClass(const TEveProjection* p) method it returns a TClass instance for the projected class and keeps references to the projected objects.
It is assumed that all classes deriving from TEveProjectable are also derived from TEveElement.
See also TEveProjectionManager::ImportElements().
Definition at line 34 of file TEveProjectionBases.h.
Public Types | |
typedef std::list< TEveProjected * > | ProjList_t |
typedef std::list< TEveProjected * >::iterator | ProjList_i |
Public Member Functions | |
TEveProjectable () | |
Constructor. More... | |
virtual | ~TEveProjectable () |
Destructor. More... | |
virtual TClass * | ProjectedClass (const TEveProjection *p) const =0 |
virtual Bool_t | HasProjecteds () const |
ProjList_i | BeginProjecteds () |
ProjList_i | EndProjecteds () |
virtual void | AddProjected (TEveProjected *p) |
virtual void | RemoveProjected (TEveProjected *p) |
virtual void | AnnihilateProjecteds () |
Optimized destroy of projected elements with condition there is only one parent for projected element. More... | |
virtual void | ClearProjectedList () |
virtual void | AddProjectedsToSet (std::set< TEveElement * > &set) |
Add the projected elements to the set, dyn-casting them to TEveElement. More... | |
virtual void | PropagateVizParams (TEveElement *el=0) |
Set visualization parameters of projecteds. More... | |
virtual void | PropagateRenderState (Bool_t rnr_self, Bool_t rnr_children) |
Set render state of projecteds. More... | |
virtual void | PropagateMainColor (Color_t color, Color_t old_color) |
Set main color of projecteds if their color is the same as old_color. More... | |
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. More... | |
ClassDef (TEveProjectable, 0) | |
Protected Attributes | |
ProjList_t | fProjectedList |
Private Member Functions | |
TEveProjectable (const TEveProjectable &) | |
TEveProjectable & | operator= (const TEveProjectable &) |
#include <TEveProjectionBases.h>
typedef std::list<TEveProjected*>::iterator TEveProjectable::ProjList_i |
Definition at line 42 of file TEveProjectionBases.h.
typedef std::list<TEveProjected*> TEveProjectable::ProjList_t |
Definition at line 41 of file TEveProjectionBases.h.
|
private |
TEveProjectable::TEveProjectable | ( | ) |
Constructor.
Definition at line 37 of file TEveProjectionBases.cxx.
|
virtual |
Destructor.
Force projected replicas to unreference *this, then destroy them.
Definition at line 45 of file TEveProjectionBases.cxx.
|
inlinevirtual |
Definition at line 58 of file TEveProjectionBases.h.
Referenced by TEveProjected::SetProjection().
|
virtual |
Add the projected elements to the set, dyn-casting them to TEveElement.
Definition at line 86 of file TEveProjectionBases.cxx.
Referenced by TEveElement::FillImpliedSelectedSet().
|
virtual |
Optimized destroy of projected elements with condition there is only one parent for projected element.
Method is called from TEveElement::Annihilate().
Definition at line 65 of file TEveProjectionBases.cxx.
Referenced by TEveElement::Annihilate().
|
inline |
Definition at line 55 of file TEveProjectionBases.h.
Referenced by TEveElement::ProjectAllChildren(), and TEveElement::ProjectChild().
TEveProjectable::ClassDef | ( | TEveProjectable | , |
0 | |||
) |
|
virtual |
Definition at line 77 of file TEveProjectionBases.cxx.
Referenced by TEveElement::AnnihilateRecursively().
|
inline |
Definition at line 56 of file TEveProjectionBases.h.
Referenced by TEveElement::ProjectAllChildren(), and TEveElement::ProjectChild().
|
inlinevirtual |
Definition at line 53 of file TEveProjectionBases.h.
Referenced by TEveElement::Annihilate(), TEveElement::AnnihilateRecursively(), TEveElement::PropagateMainColorToProjecteds(), TEveElement::PropagateMainTransparencyToProjecteds(), TEveElement::PropagateRnrStateToProjecteds(), and TEveElement::PropagateVizParamsToProjecteds().
|
private |
|
pure virtual |
Implemented in TEveElementList, TEveTrackList, TEveTrack, TEveStraightLineSet, TEvePointSet, TEveCaloViz, TEveLine, TEveGeoShape, TEveJetCone, TEveCompound, and TEveBox.
Referenced by TEveProjectionManager::ImportElementsRecurse().
Set main color of projecteds if their color is the same as old_color.
Definition at line 125 of file TEveProjectionBases.cxx.
Referenced by TEveElement::PropagateMainColorToProjecteds().
Set main transparency of projecteds if their transparency is the same as the old one.
Definition at line 138 of file TEveProjectionBases.cxx.
Referenced by TEveElement::PropagateMainTransparencyToProjecteds().
Set render state of projecteds.
Definition at line 113 of file TEveProjectionBases.cxx.
Referenced by TEveElement::PropagateRnrStateToProjecteds().
|
virtual |
Set visualization parameters of projecteds.
Use element el as model. If el == 0 (default), this casted to TEveElement is used.
Definition at line 99 of file TEveProjectionBases.cxx.
Referenced by TEveElement::PropagateVizParamsToProjecteds().
|
inlinevirtual |
Definition at line 59 of file TEveProjectionBases.h.
Referenced by TEveProjected::SetProjection(), TEveProjected::UnRefProjectable(), and TEveProjected::~TEveProjected().
|
protected |
Definition at line 45 of file TEveProjectionBases.h.
Referenced by AddProjectedsToSet(), AnnihilateProjecteds(), ClearProjectedList(), PropagateMainColor(), PropagateMainTransparency(), PropagateRenderState(), PropagateVizParams(), TEveLine::SetLineStyle(), TEveLine::SetLineWidth(), TEveLine::SetMarkerColor(), TEvePointSet::SetMarkerSize(), TEvePointSet::SetMarkerStyle(), TEveLine::SetRnrLine(), TEveLine::SetRnrPoints(), TEveLine::SetSmooth(), and ~TEveProjectable().