Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
TEveProjected Class Referenceabstract

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. More...
virtual ~TEveProjected ()
 Destructor. More...
Float_t GetDepth () const
TEveProjectionManagerGetManager () const
TEveProjectableGetProjectable () const
virtual TEveElementGetProjectedAsElement ()
 Returns this projected dynamic-casted to TEveElement. More...
virtual void SetDepth (Float_t d)
 Set depth coordinate for the element. More...
virtual void SetProjection (TEveProjectionManager *mng, TEveProjectable *model)
 Sets projection manager and reference in the projectable object. More...
virtual void UnRefProjectable (TEveProjectable *assumed_parent, bool notifyParent=true)
 Remove reference to projectable. More...
virtual void UpdateProjection ()=0

Protected Member Functions

void SetDepthCommon (Float_t d, TEveElement *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

Private Member Functions

 TEveProjected (const TEveProjected &)
TEveProjectedoperator= (const TEveProjected &)

#include <TEveProjectionBases.h>

Inheritance diagram for TEveProjected:

Constructor & Destructor Documentation

◆ TEveProjected() [1/2]

TEveProjected::TEveProjected ( const TEveProjected )

◆ TEveProjected() [2/2]

TEveProjected::TEveProjected ( )


Definition at line 161 of file TEveProjectionBases.cxx.

◆ ~TEveProjected()

TEveProjected::~TEveProjected ( )


If fProjectable is non-null, *this is removed from its list of projected replicas.

Definition at line 173 of file TEveProjectionBases.cxx.

Member Function Documentation

◆ GetDepth()

Float_t TEveProjected::GetDepth ( ) const

Definition at line 103 of file TEveProjectionBases.h.

◆ GetManager()

TEveProjectionManager* TEveProjected::GetManager ( ) const

Definition at line 101 of file TEveProjectionBases.h.

◆ GetProjectable()

TEveProjectable* TEveProjected::GetProjectable ( ) const

Definition at line 102 of file TEveProjectionBases.h.

◆ GetProjectedAsElement()

TEveElement * TEveProjected::GetProjectedAsElement ( )

◆ operator=()

TEveProjected& TEveProjected::operator= ( const TEveProjected )

◆ SetDepth()

void TEveProjected::SetDepth ( Float_t  d)

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.

◆ SetDepthCommon()

void TEveProjected::SetDepthCommon ( Float_t  d,
TEveElement el,
Float_t bbox 

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.

◆ SetDepthLocal()

void TEveProjected::SetDepthLocal ( Float_t  d)

◆ SetProjection()

void TEveProjected::SetProjection ( TEveProjectionManager mng,
TEveProjectable model 

Sets projection manager and reference in the projectable object.

Method called immediately after default constructor. See also TEveProjectionManager::ImportElements().

Reimplemented in TEveCalo2D, TEvePointSetProjected, TEveStraightLineSetProjected, TEveLineProjected, TEveJetConeProjected, TEveGeoShapeProjected, TEvePolygonSetProjected, TEveBoxProjected, TEveTrackListProjected, and TEveTrackProjected.

Definition at line 193 of file TEveProjectionBases.cxx.

◆ UnRefProjectable()

void TEveProjected::UnRefProjectable ( TEveProjectable assumed_parent,
bool  notifyParent = true 

Remove reference to projectable.

Definition at line 204 of file TEveProjectionBases.cxx.

◆ UpdateProjection()

virtual void TEveProjected::UpdateProjection ( )
pure virtual

Member Data Documentation

◆ fDepth

Float_t TEveProjected::fDepth

Definition at line 92 of file TEveProjectionBases.h.

◆ fManager

TEveProjectionManager* TEveProjected::fManager

Definition at line 90 of file TEveProjectionBases.h.

◆ fProjectable

TEveProjectable* TEveProjected::fProjectable

Definition at line 91 of file TEveProjectionBases.h.

Libraries for TEveProjected:

The documentation for this class was generated from the following files: