Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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.
 
virtual ~TEveProjected ()
 Destructor.
 
Float_t GetDepth () const
 
TEveProjectionManagerGetManager () const
 
TEveProjectableGetProjectable () const
 
virtual TEveElementGetProjectedAsElement ()
 Returns this projected dynamic-casted to TEveElement.
 
virtual TClassIsA () 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 TClassClass ()
 
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
 
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

◆ Class()

static TClass * TEveProjected::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TEveProjected::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TEveProjected::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 113 of file TEveProjectionBases.h.

◆ DeclFileName()

static const char * TEveProjected::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 113 of file TEveProjectionBases.h.

◆ 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

◆ IsA()

◆ 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.

◆ Streamer()

◆ StreamerNVirtual()

void TEveProjected::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 113 of file TEveProjectionBases.h.

◆ UnRefProjectable()

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

Remove reference to projectable.

Definition at line 204 of file TEveProjectionBases.cxx.

◆ UpdateProjection()

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:

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