Logo ROOT   6.16/01
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
 
TEveProjectionManagerfManager
 
TEveProjectablefProjectable
 

Private Member Functions

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

#include <TEveProjectionBases.h>

Inheritance diagram for TEveProjected:
[legend]

Constructor & Destructor Documentation

◆ TEveProjected() [1/2]

TEveProjected::TEveProjected ( const TEveProjected )
private

◆ TEveProjected() [2/2]

TEveProjected::TEveProjected ( )

Constructor.

Definition at line 161 of file TEveProjectionBases.cxx.

◆ ~TEveProjected()

TEveProjected::~TEveProjected ( )
virtual

Destructor.

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
inline

Definition at line 103 of file TEveProjectionBases.h.

◆ GetManager()

TEveProjectionManager * TEveProjected::GetManager ( ) const
inline

Definition at line 101 of file TEveProjectionBases.h.

◆ GetProjectable()

TEveProjectable * TEveProjected::GetProjectable ( ) const
inline

Definition at line 102 of file TEveProjectionBases.h.

◆ GetProjectedAsElement()

TEveElement * TEveProjected::GetProjectedAsElement ( )
virtual

◆ operator=()

TEveProjected & TEveProjected::operator= ( const TEveProjected )
private

◆ SetDepth()

void TEveProjected::SetDepth ( Float_t  d)
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.

◆ SetDepthCommon()

void TEveProjected::SetDepthCommon ( Float_t  d,
TEveElement el,
Float_t bbox 
)
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.

◆ SetDepthLocal()

void TEveProjected::SetDepthLocal ( Float_t  d)
protectedvirtual

◆ SetProjection()

void TEveProjected::SetProjection ( TEveProjectionManager mng,
TEveProjectable model 
)
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.

◆ UnRefProjectable()

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

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
protected

Definition at line 92 of file TEveProjectionBases.h.

◆ fManager

TEveProjectionManager* TEveProjected::fManager
protected

Definition at line 90 of file TEveProjectionBases.h.

◆ fProjectable

TEveProjectable* TEveProjected::fProjectable
protected

Definition at line 91 of file TEveProjectionBases.h.

Libraries for TEveProjected:
[legend]

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