Definition at line 81 of file REveProjectionBases.hxx.
Public Member Functions | |
REveProjected ()=default | |
virtual | ~REveProjected () |
Destructor. More... | |
Float_t | GetDepth () const |
REveProjectionManager * | GetManager () const |
REveProjectable * | GetProjectable () const |
virtual REveElement * | GetProjectedAsElement () |
Returns this projected dynamic-casted to REveElement. More... | |
virtual void | SetDepth (Float_t d) |
Set depth coordinate for the element. More... | |
virtual void | SetProjection (REveProjectionManager *mng, REveProjectable *model) |
Sets projection manager and reference in the projectable object. More... | |
virtual void | UnRefProjectable (REveProjectable *assumed_parent, bool notifyParent=true) |
Remove reference to projectable. More... | |
virtual void | UpdateProjection ()=0 |
Protected Member Functions | |
void | SetDepthCommon (Float_t d, REveElement *el, Float_t *bbox) |
Utility function to update the z-values of the bounding-box. More... | |
virtual void | SetDepthLocal (Float_t d) |
Base-class implementation – just sets fDepth. More... | |
Protected Attributes | |
Float_t | fDepth {0.} |
REveProjectionManager * | fManager {nullptr} |
REveProjectable * | fProjectable {nullptr} |
Private Member Functions | |
REveProjected (const REveProjected &) | |
REveProjected & | operator= (const REveProjected &) |
#include <ROOT/REveProjectionBases.hxx>
|
private |
|
default |
|
virtual |
Destructor.
If fProjectable is non-null, *this is removed from its list of projected replicas.
Definition at line 171 of file REveProjectionBases.cxx.
|
inline |
Definition at line 100 of file REveProjectionBases.hxx.
|
inline |
Definition at line 98 of file REveProjectionBases.hxx.
|
inline |
Definition at line 99 of file REveProjectionBases.hxx.
|
virtual |
Returns this projected dynamic-casted to REveElement.
This is needed as class REveProjected is used as secondary inheritance.
Reimplemented in ROOT::Experimental::REveCompoundProjected, ROOT::Experimental::REveEllipsoidProjected, ROOT::Experimental::REveGeoShapeProjected, ROOT::Experimental::REveJetConeProjected, ROOT::Experimental::REveLineProjected, ROOT::Experimental::REvePointSetProjected, ROOT::Experimental::REvePolygonSetProjected, ROOT::Experimental::REveStraightLineSetProjected, ROOT::Experimental::REveTrackProjected, and ROOT::Experimental::REveTrackListProjected.
Definition at line 181 of file REveProjectionBases.cxx.
|
private |
Set depth coordinate for the element.
Bounding-box should also be updated. If projection type is 3D, this only sets fDepth member.
Reimplemented in ROOT::Experimental::REveTrackListProjected.
Definition at line 217 of file REveProjectionBases.cxx.
|
protected |
Utility function to update the z-values of the bounding-box.
As this is an abstract interface, the element and bbox pointers must be passed from outside.
Definition at line 231 of file REveProjectionBases.cxx.
Base-class implementation – just sets fDepth.
Reimplemented in ROOT::Experimental::REveGeoShapeProjected, ROOT::Experimental::REveJetConeProjected, ROOT::Experimental::REveLineProjected, ROOT::Experimental::REvePointSetProjected, ROOT::Experimental::REvePolygonSetProjected, ROOT::Experimental::REveStraightLineSetProjected, ROOT::Experimental::REveTrackProjected, and ROOT::Experimental::REveTrackListProjected.
Definition at line 245 of file REveProjectionBases.cxx.
|
virtual |
Sets projection manager and reference in the projectable object.
Method called immediately after default constructor. See also REveProjectionManager::ImportElements().
Reimplemented in ROOT::Experimental::REveEllipsoidProjected, ROOT::Experimental::REveJetConeProjected, ROOT::Experimental::REveLineProjected, ROOT::Experimental::REvePolygonSetProjected, ROOT::Experimental::REveStraightLineSetProjected, ROOT::Experimental::REveTrackProjected, ROOT::Experimental::REveGeoShapeProjected, ROOT::Experimental::REvePointSetProjected, and ROOT::Experimental::REveTrackListProjected.
Definition at line 191 of file REveProjectionBases.cxx.
|
virtual |
Remove reference to projectable.
Definition at line 202 of file REveProjectionBases.cxx.
|
pure virtual |
Implemented in ROOT::Experimental::REveCompoundProjected, ROOT::Experimental::REveEllipsoidProjected, ROOT::Experimental::REveGeoShapeProjected, ROOT::Experimental::REveJetConeProjected, ROOT::Experimental::REveLineProjected, ROOT::Experimental::REvePointSetProjected, ROOT::Experimental::REvePolygonSetProjected, ROOT::Experimental::REveStraightLineSetProjected, ROOT::Experimental::REveTrackProjected, and ROOT::Experimental::REveTrackListProjected.
|
protected |
Definition at line 89 of file REveProjectionBases.hxx.
|
protected |
Definition at line 87 of file REveProjectionBases.hxx.
|
protected |
Definition at line 88 of file REveProjectionBases.hxx.