Abstract base class for classes that hold results of a non-linear projection transformation.
It is assumed that all classes deriving from TEveProjected are also derived from TEveElement.
Definition at line 83 of file TEveProjectionBases.h.
Public Member Functions | |
TEveProjected () | |
Constructor. | |
virtual | ~TEveProjected () |
Destructor. | |
Float_t | GetDepth () const |
TEveProjectionManager * | GetManager () const |
TEveProjectable * | GetProjectable () const |
virtual TEveElement * | GetProjectedAsElement () |
Returns this projected dynamic-casted to TEveElement. | |
virtual TClass * | IsA () const |
virtual void | SetDepth (Float_t d) |
Set depth coordinate for the element. | |
virtual void | SetProjection (TEveProjectionManager *mng, TEveProjectable *model) |
Sets projection manager and reference in the projectable object. | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | UnRefProjectable (TEveProjectable *assumed_parent, bool notifyParent=true) |
Remove reference to projectable. | |
virtual void | UpdateProjection ()=0 |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Member Functions | |
void | SetDepthCommon (Float_t d, TEveElement *el, Float_t *bbox) |
Utility function to update the z-values of the bounding-box. | |
virtual void | SetDepthLocal (Float_t d) |
Base-class implementation – just sets fDepth. | |
Protected Attributes | |
Float_t | fDepth |
TEveProjectionManager * | fManager |
TEveProjectable * | fProjectable |
Private Member Functions | |
TEveProjected (const TEveProjected &) | |
TEveProjected & | operator= (const TEveProjected &) |
#include <TEveProjectionBases.h>
|
private |
TEveProjected::TEveProjected | ( | ) |
Constructor.
Definition at line 161 of file TEveProjectionBases.cxx.
|
virtual |
Destructor.
If fProjectable is non-null, *this is removed from its list of projected replicas.
Definition at line 173 of file TEveProjectionBases.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 113 of file TEveProjectionBases.h.
|
inlinestatic |
Definition at line 113 of file TEveProjectionBases.h.
|
inline |
Definition at line 103 of file TEveProjectionBases.h.
|
inline |
Definition at line 101 of file TEveProjectionBases.h.
|
inline |
Definition at line 102 of file TEveProjectionBases.h.
|
virtual |
Returns this projected dynamic-casted to TEveElement.
This is needed as class TEveProjected is used as secondary inheritance.
Reimplemented in TEveBoxProjected, TEveCompoundProjected, TEveElementListProjected, TEveGeoShapeProjected, TEveJetConeProjected, TEveLineProjected, TEvePointSetProjected, TEvePolygonSetProjected, TEveStraightLineSetProjected, TEveTrackProjected, and TEveTrackListProjected.
Definition at line 183 of file TEveProjectionBases.cxx.
|
inlinevirtual |
Reimplemented in TEveBoxProjected, TEveCalo2D, TEveCompoundProjected, TEveElementListProjected, TEveGeoShapeProjected, TEveJetConeProjected, TEveLineProjected, TEvePointSetProjected, TEvePolygonSetProjected, TEveStraightLineSetProjected, TEveTrackProjected, and TEveTrackListProjected.
Definition at line 113 of file TEveProjectionBases.h.
|
private |
|
virtual |
Set depth coordinate for the element.
Bounding-box should also be updated. If projection type is 3D, this only sets fDepth member.
Reimplemented in TEveTrackListProjected.
Definition at line 219 of file TEveProjectionBases.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 236 of file TEveProjectionBases.cxx.
|
protectedvirtual |
Base-class implementation – just sets fDepth.
Reimplemented in TEveBoxProjected, TEveGeoShapeProjected, TEveJetConeProjected, TEveLineProjected, TEvePointSetProjected, TEvePolygonSetProjected, TEveStraightLineSetProjected, TEveTrackProjected, TEveTrackListProjected, and TEveCalo2D.
Definition at line 250 of file TEveProjectionBases.cxx.
|
virtual |
Sets projection manager and reference in the projectable object.
Method called immediately after default constructor. See also TEveProjectionManager::ImportElements().
Reimplemented in TEveBoxProjected, TEveJetConeProjected, TEveLineProjected, TEvePolygonSetProjected, TEveStraightLineSetProjected, TEveTrackProjected, TEveCalo2D, TEveGeoShapeProjected, TEvePointSetProjected, and TEveTrackListProjected.
Definition at line 193 of file TEveProjectionBases.cxx.
|
virtual |
|
inline |
Definition at line 113 of file TEveProjectionBases.h.
|
virtual |
Remove reference to projectable.
Definition at line 204 of file TEveProjectionBases.cxx.
|
pure virtual |
|
protected |
Definition at line 92 of file TEveProjectionBases.h.
|
protected |
Definition at line 90 of file TEveProjectionBases.h.
|
protected |
Definition at line 91 of file TEveProjectionBases.h.