ROOT  6.06/09
Reference Guide
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...
 
TEveProjectionManagerGetManager () const
 
TEveProjectableGetProjectable () const
 
Float_t GetDepth () const
 
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
 
virtual TEveElementGetProjectedAsElement ()
 Returns this projected dynamic-casted to TEveElement. More...
 
virtual void SetDepth (Float_t d)
 Set depth coordinate for the element. More...
 
 ClassDef (TEveProjected, 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

TEveProjectionManagerfManager
 
TEveProjectablefProjectable
 
Float_t fDepth
 

Private Member Functions

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

#include <TEveProjectionBases.h>

+ Inheritance diagram for TEveProjected:
+ Collaboration diagram for TEveProjected:

Constructor & Destructor Documentation

TEveProjected::TEveProjected ( const TEveProjected )
private
TEveProjected::TEveProjected ( )

Constructor.

Definition at line 161 of file TEveProjectionBases.cxx.

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

TEveProjected::ClassDef ( TEveProjected  ,
 
)
Float_t TEveProjected::GetDepth ( ) const
inline

Definition at line 103 of file TEveProjectionBases.h.

TEveProjectionManager* TEveProjected::GetManager ( ) const
inline
TEveProjectable* TEveProjected::GetProjectable ( ) const
inline
TEveElement * TEveProjected::GetProjectedAsElement ( )
virtual
TEveProjected& TEveProjected::operator= ( const TEveProjected )
private
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.

Referenced by TEveProjectionManager::ImportElementsRecurse(), and TEveTrackListProjected::SetDepth().

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.

Referenced by TEveTrackProjected::SetDepthLocal(), TEveBoxProjected::SetDepthLocal(), TEvePolygonSetProjected::SetDepthLocal(), TEveJetConeProjected::SetDepthLocal(), TEveLineProjected::SetDepthLocal(), TEveStraightLineSetProjected::SetDepthLocal(), and TEvePointSetProjected::SetDepthLocal().

void TEveProjected::SetDepthLocal ( Float_t  d)
protectedvirtual
void TEveProjected::SetProjection ( TEveProjectionManager mng,
TEveProjectable model 
)
virtual
void TEveProjected::UnRefProjectable ( TEveProjectable assumed_parent,
bool  notifyParent = true 
)
virtual

Remove reference to projectable.

Definition at line 204 of file TEveProjectionBases.cxx.

Referenced by TEveProjectable::~TEveProjectable().

virtual void TEveProjected::UpdateProjection ( )
pure virtual

Member Data Documentation

Float_t TEveProjected::fDepth
protected
TEveProjectionManager* TEveProjected::fManager
protected
TEveProjectable* TEveProjected::fProjectable
protected

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