TEveProjectionManager Class Reference

#include <TEveProjectionManager.h>

Inheritance diagram for TEveProjectionManager:

TEveElementList TAttBBox TEveElementList TAttBBox TEveProjectable TNamed TEveElement TEveProjectable TNamed TEveElement TEveProjectable TNamed TEveElement TEveProjectable TNamed TEveElement List of all members.

Public Member Functions

 TEveProjectionManager (TEveProjection::EPType_e type=TEveProjection::kPT_Unknown)
virtual ~TEveProjectionManager ()
void AddDependent (TEveElement *el)
void RemoveDependent (TEveElement *el)
void SetProjection (TEveProjection::EPType_e type)
TEveProjectionGetProjection ()
virtual void UpdateName ()
void SetCenter (Float_t x, Float_t y, Float_t z)
TEveVectorGetCenter ()
void SetCurrentDepth (Float_t d)
Float_t GetCurrentDepth () const
void SetImportEmpty (Bool_t ie)
Bool_t GetImportEmpty () const
virtual Bool_t HandleElementPaste (TEveElement *el)
virtual TEveElementImportElementsRecurse (TEveElement *el, TEveElement *parent)
virtual TEveElementImportElements (TEveElement *el, TEveElement *ext_list=0)
virtual TEveElementSubImportElements (TEveElement *el, TEveElement *proj_parent)
virtual Int_t SubImportChildren (TEveElement *el, TEveElement *proj_parent)
virtual void ProjectChildren ()
virtual void ProjectChildrenRecurse (TEveElement *el)
virtual void ComputeBBox ()
 ClassDef (TEveProjectionManager, 0)
 TEveProjectionManager (TEveProjection::EPType_e type=TEveProjection::kPT_Unknown)
virtual ~TEveProjectionManager ()
void AddDependent (TEveElement *el)
void RemoveDependent (TEveElement *el)
void SetProjection (TEveProjection::EPType_e type)
TEveProjectionGetProjection ()
virtual void UpdateName ()
void SetCenter (Float_t x, Float_t y, Float_t z)
TEveVectorGetCenter ()
void SetCurrentDepth (Float_t d)
Float_t GetCurrentDepth () const
void SetImportEmpty (Bool_t ie)
Bool_t GetImportEmpty () const
virtual Bool_t HandleElementPaste (TEveElement *el)
virtual TEveElementImportElementsRecurse (TEveElement *el, TEveElement *parent)
virtual TEveElementImportElements (TEveElement *el, TEveElement *ext_list=0)
virtual TEveElementSubImportElements (TEveElement *el, TEveElement *proj_parent)
virtual Int_t SubImportChildren (TEveElement *el, TEveElement *proj_parent)
virtual void ProjectChildren ()
virtual void ProjectChildrenRecurse (TEveElement *el)
virtual void ComputeBBox ()
 ClassDef (TEveProjectionManager, 0)

Protected Member Functions

virtual Bool_t ShouldImport (TEveElement *el)
virtual void UpdateDependentElsAndScenes (TEveElement *root)
virtual Bool_t ShouldImport (TEveElement *el)
virtual void UpdateDependentElsAndScenes (TEveElement *root)

Protected Attributes

TEveProjectionfProjections [TEveProjection::kPT_End]
TEveProjectionfProjection
TEveVector fCenter
Float_t fCurrentDepth
List_t fDependentEls
Bool_t fImportEmpty
TEveProjectionfProjections [TEveProjection::kPT_End]
TEveProjectionfProjection

Private Member Functions

 TEveProjectionManager (const TEveProjectionManager &)
TEveProjectionManageroperator= (const TEveProjectionManager &)
 TEveProjectionManager (const TEveProjectionManager &)
TEveProjectionManageroperator= (const TEveProjectionManager &)

Detailed Description

Definition at line 20 of file TEveProjectionManager.h.


Constructor & Destructor Documentation

TEveProjectionManager::TEveProjectionManager ( const TEveProjectionManager  )  [private]

TEveProjectionManager::TEveProjectionManager ( TEveProjection::EPType_e  type = TEveProjection::kPT_Unknown  ) 

Definition at line 43 of file TEveProjectionManager.cxx.

References fProjections, i, TEveProjection::kPT_End, TEveProjection::kPT_Unknown, and SetProjection().

TEveProjectionManager::~TEveProjectionManager (  )  [virtual]

Definition at line 60 of file TEveProjectionManager.cxx.

References fDependentEls, fProjections, i, and TEveProjection::kPT_End.

TEveProjectionManager::TEveProjectionManager ( const TEveProjectionManager  )  [private]

TEveProjectionManager::TEveProjectionManager ( TEveProjection::EPType_e  type = TEveProjection::kPT_Unknown  ) 

virtual TEveProjectionManager::~TEveProjectionManager (  )  [virtual]


Member Function Documentation

TEveProjectionManager& TEveProjectionManager::operator= ( const TEveProjectionManager  )  [private]

Bool_t TEveProjectionManager::ShouldImport ( TEveElement el  )  [protected, virtual]

Definition at line 166 of file TEveProjectionManager.cxx.

References TEveElement::BeginChildren(), xmlio::Class, TEveElement::EndChildren(), fImportEmpty, i, kFALSE, and kTRUE.

Referenced by ImportElementsRecurse().

void TEveProjectionManager::UpdateDependentElsAndScenes ( TEveElement root  )  [protected, virtual]

Definition at line 186 of file TEveProjectionManager.cxx.

References fDependentEls, gEve, i, root, and TEveManager::ScenesChanged().

Referenced by ImportElements(), ProjectChildren(), SubImportChildren(), and SubImportElements().

void TEveProjectionManager::AddDependent ( TEveElement el  ) 

Definition at line 76 of file TEveProjectionManager.cxx.

References fDependentEls.

Referenced by TEveProjectionAxes::TEveProjectionAxes().

void TEveProjectionManager::RemoveDependent ( TEveElement el  ) 

Definition at line 84 of file TEveProjectionManager.cxx.

References fDependentEls.

Referenced by TEveProjectionAxes::~TEveProjectionAxes().

void TEveProjectionManager::SetProjection ( TEveProjection::EPType_e  type  ) 

Definition at line 103 of file TEveProjectionManager.cxx.

References fCenter, fProjection, fProjections, TEveProjection::Is2D(), TEveProjection::kPT_3D, TEveProjection::kPT_RhoZ, TEveProjection::kPT_RPhi, TEveProjection::SetCenter(), and UpdateName().

Referenced by TEveProjectionManagerEditor::DoType(), MakeCalo2D(), projection_prescale(), and TEveProjectionManager().

TEveProjection* TEveProjectionManager::GetProjection (  )  [inline]

Definition at line 49 of file TEveProjectionManager.h.

References fProjection.

Referenced by TEveCalo2D::BuildCellIdCache(), TEveJetConeProjectedGL::CalculatePoints(), TEveCalo2D::CellSelectionChangedInternal(), TEveJetConeProjected::ComputeBBox(), TEveCalo2D::ComputeBBox(), TEveProjectionAxesGL::DirectDraw(), TEveProjectionManagerEditor::DoDistortion(), TEveProjectionManagerEditor::DoFixR(), TEveProjectionManagerEditor::DoFixZ(), TEveProjectionManagerEditor::DoMaxTrackStep(), TEveProjectionManagerEditor::DoPastFixRFac(), TEveProjectionManagerEditor::DoPastFixZFac(), TEveTrackProjected::GetBreakPoint(), TEveTrackProjected::GetBreakPointIdx(), TEveCalo2DGL::IsRPhi(), TEvePolygonSetProjected::MakePolygonsFromBP(), TEvePolygonSetProjected::MakePolygonsFromBS(), TEveCalo2DGL::MakeRhoZCell(), TEveCalo2DGL::MakeRPhiCell(), TEveTrackProjected::MakeTrack(), TEvePolygonSetProjected::ProjectAndReducePoints(), TEvePolygonSetProjected::ProjectBuffer3D(), projection_prescale(), TEveProjected::SetDepth(), TEveProjectionManagerEditor::SetModel(), TEveBoxProjected::UpdateProjection(), TEveCalo2D::UpdateProjection(), TEvePointSetProjected::UpdateProjection(), TEveGeoShapeProjected::UpdateProjection(), TEveStraightLineSetProjected::UpdateProjection(), and TEveLineProjected::UpdateProjection().

void TEveProjectionManager::UpdateName (  )  [virtual]

Definition at line 92 of file TEveProjectionManager.cxx.

References Form(), fProjection, TEveProjection::GetDistortion(), TEveProjection::GetName(), TEveProjection::Is2D(), and TNamed::SetName().

Referenced by TEveProjectionManagerEditor::DoDistortion(), and SetProjection().

void TEveProjectionManager::SetCenter ( Float_t  x,
Float_t  y,
Float_t  z 
)

Definition at line 145 of file TEveProjectionManager.cxx.

References fCenter, fProjection, ProjectChildren(), TEveVectorT< TT >::Set(), and TEveProjection::SetCenter().

Referenced by TEveProjectionManagerEditor::DoCenter().

TEveVector& TEveProjectionManager::GetCenter (  )  [inline]

Definition at line 54 of file TEveProjectionManager.h.

References fCenter.

Referenced by TEveProjectionAxesGL::FilterOverlappingLabels(), and TEveProjectionManagerEditor::SetModel().

void TEveProjectionManager::SetCurrentDepth ( Float_t  d  )  [inline]

Definition at line 56 of file TEveProjectionManager.h.

References fCurrentDepth.

Referenced by TEveProjectionManagerEditor::DoCurrentDepth(), and MultiView::SetDepth().

Float_t TEveProjectionManager::GetCurrentDepth (  )  const [inline]

Definition at line 57 of file TEveProjectionManager.h.

References fCurrentDepth.

Referenced by TEveProjectionManagerEditor::SetModel().

void TEveProjectionManager::SetImportEmpty ( Bool_t  ie  )  [inline]

Definition at line 59 of file TEveProjectionManager.h.

References fImportEmpty.

Bool_t TEveProjectionManager::GetImportEmpty (  )  const [inline]

Definition at line 60 of file TEveProjectionManager.h.

References fImportEmpty.

Bool_t TEveProjectionManager::HandleElementPaste ( TEveElement el  )  [virtual]

Reimplemented from TEveElement.

Definition at line 155 of file TEveProjectionManager.cxx.

References TEveElement::fChildren, and ImportElements().

TEveElement * TEveProjectionManager::ImportElementsRecurse ( TEveElement el,
TEveElement parent 
) [virtual]

Definition at line 204 of file TEveProjectionManager.cxx.

References TEveElement::AddElement(), TEveElement::BeginChildren(), TEveElement::EndChildren(), fCurrentDepth, Form(), fProjection, TEveElement::GetCompound(), TEveElement::GetElementName(), TEveElement::GetElementTitle(), TEveElement::GetRnrChildren(), TEveElement::GetRnrSelf(), i, TEveElement::IsPickable(), TClass::New(), TEveProjectable::ProjectedClass(), TEveElement::SetCompound(), TEveProjected::SetDepth(), TEveElement::SetElementName(), TEveElement::SetElementTitle(), TEveElement::SetPickable(), TEveProjected::SetProjection(), TEveElement::SetRnrChildren(), TEveElement::SetRnrSelf(), and ShouldImport().

Referenced by ImportElements(), SubImportChildren(), and SubImportElements().

TEveElement * TEveProjectionManager::ImportElements ( TEveElement el,
TEveElement ext_list = 0 
) [virtual]

Definition at line 254 of file TEveProjectionManager.cxx.

References TEveElement::AddElement(), TAttBBox::AssertBBox(), TAttBBox::AssertBBoxExtents(), ImportElementsRecurse(), ProjectChildrenRecurse(), TEveElement::StampTransBBox(), and UpdateDependentElsAndScenes().

Referenced by alice_esd_split(), compound(), HandleElementPaste(), MultiView::ImportEventRhoZ(), MultiView::ImportEventRPhi(), MultiView::ImportGeomRhoZ(), MultiView::ImportGeomRPhi(), MakeCalo2D(), projection(), projection_prescale(), SplitGLView::SplitGLView(), and update_projections().

TEveElement * TEveProjectionManager::SubImportElements ( TEveElement el,
TEveElement proj_parent 
) [virtual]

Definition at line 285 of file TEveProjectionManager.cxx.

References TAttBBox::AssertBBox(), TAttBBox::AssertBBoxExtents(), ImportElementsRecurse(), ProjectChildrenRecurse(), TEveElement::StampTransBBox(), and UpdateDependentElsAndScenes().

Int_t TEveProjectionManager::SubImportChildren ( TEveElement el,
TEveElement proj_parent 
) [virtual]

Definition at line 314 of file TEveProjectionManager.cxx.

References TAttBBox::AssertBBox(), TAttBBox::AssertBBoxExtents(), TEveElement::BeginChildren(), TEveElement::EndChildren(), i, ImportElementsRecurse(), ProjectChildrenRecurse(), TEveElement::StampTransBBox(), and UpdateDependentElsAndScenes().

void TEveProjectionManager::ProjectChildren (  )  [virtual]

Definition at line 377 of file TEveProjectionManager.cxx.

References TAttBBox::AssertBBoxExtents(), TAttBBox::BBoxInit(), TEveElement::BeginChildren(), TEveElement::EndChildren(), i, ProjectChildrenRecurse(), TEveElement::StampTransBBox(), and UpdateDependentElsAndScenes().

Referenced by TEveProjectionManagerEditor::DoCurrentDepth(), TEveProjectionManagerEditor::DoDistortion(), TEveProjectionManagerEditor::DoFixR(), TEveProjectionManagerEditor::DoFixZ(), TEveProjectionManagerEditor::DoMaxTrackStep(), TEveProjectionManagerEditor::DoPastFixRFac(), TEveProjectionManagerEditor::DoPastFixZFac(), TEveProjectionManagerEditor::DoType(), and SetCenter().

void TEveProjectionManager::ProjectChildrenRecurse ( TEveElement el  )  [virtual]

Definition at line 352 of file TEveProjectionManager.cxx.

References TAttBBox::AssertBBox(), b, TAttBBox::BBoxCheckPoint(), TEveElement::BeginChildren(), TEveElement::ElementChanged(), TEveElement::EndChildren(), i, kFALSE, and TEveProjected::UpdateProjection().

Referenced by ImportElements(), ProjectChildren(), SubImportChildren(), and SubImportElements().

void TEveProjectionManager::ComputeBBox (  )  [virtual]

Implements TAttBBox.

Definition at line 392 of file TEveProjectionManager.cxx.

References TAttBBox::BBoxInit(), TAttBBox::BBoxZero(), TEveElement::HasChildren(), and kFALSE.

TEveProjectionManager::ClassDef ( TEveProjectionManager  ,
 
)

TEveProjectionManager& TEveProjectionManager::operator= ( const TEveProjectionManager  )  [private]

virtual Bool_t TEveProjectionManager::ShouldImport ( TEveElement el  )  [protected, virtual]

virtual void TEveProjectionManager::UpdateDependentElsAndScenes ( TEveElement root  )  [protected, virtual]

void TEveProjectionManager::AddDependent ( TEveElement el  ) 

void TEveProjectionManager::RemoveDependent ( TEveElement el  ) 

void TEveProjectionManager::SetProjection ( TEveProjection::EPType_e  type  ) 

TEveProjection* TEveProjectionManager::GetProjection (  )  [inline]

Definition at line 49 of file TEveProjectionManager.h.

References fProjection.

virtual void TEveProjectionManager::UpdateName (  )  [virtual]

void TEveProjectionManager::SetCenter ( Float_t  x,
Float_t  y,
Float_t  z 
)

TEveVector& TEveProjectionManager::GetCenter (  )  [inline]

Definition at line 54 of file TEveProjectionManager.h.

References fCenter.

void TEveProjectionManager::SetCurrentDepth ( Float_t  d  )  [inline]

Definition at line 56 of file TEveProjectionManager.h.

References fCurrentDepth.

Float_t TEveProjectionManager::GetCurrentDepth (  )  const [inline]

Definition at line 57 of file TEveProjectionManager.h.

References fCurrentDepth.

void TEveProjectionManager::SetImportEmpty ( Bool_t  ie  )  [inline]

Definition at line 59 of file TEveProjectionManager.h.

References fImportEmpty.

Bool_t TEveProjectionManager::GetImportEmpty (  )  const [inline]

Definition at line 60 of file TEveProjectionManager.h.

References fImportEmpty.

virtual Bool_t TEveProjectionManager::HandleElementPaste ( TEveElement el  )  [virtual]

Reimplemented from TEveElement.

virtual TEveElement* TEveProjectionManager::ImportElementsRecurse ( TEveElement el,
TEveElement parent 
) [virtual]

virtual TEveElement* TEveProjectionManager::ImportElements ( TEveElement el,
TEveElement ext_list = 0 
) [virtual]

virtual TEveElement* TEveProjectionManager::SubImportElements ( TEveElement el,
TEveElement proj_parent 
) [virtual]

virtual Int_t TEveProjectionManager::SubImportChildren ( TEveElement el,
TEveElement proj_parent 
) [virtual]

virtual void TEveProjectionManager::ProjectChildren (  )  [virtual]

virtual void TEveProjectionManager::ProjectChildrenRecurse ( TEveElement el  )  [virtual]

virtual void TEveProjectionManager::ComputeBBox (  )  [virtual]

Implements TAttBBox.

TEveProjectionManager::ClassDef ( TEveProjectionManager  ,
 
)


Member Data Documentation

TEveProjection* TEveProjectionManager::fProjections[TEveProjection::kPT_End] [protected]

Definition at line 28 of file TEveProjectionManager.h.

Referenced by SetProjection(), TEveProjectionManager(), and ~TEveProjectionManager().

TEveProjection* TEveProjectionManager::fProjection [protected]

Definition at line 30 of file TEveProjectionManager.h.

Referenced by GetProjection(), ImportElementsRecurse(), SetCenter(), SetProjection(), and UpdateName().

TEveVector TEveProjectionManager::fCenter [protected]

Definition at line 31 of file TEveProjectionManager.h.

Referenced by GetCenter(), SetCenter(), and SetProjection().

Float_t TEveProjectionManager::fCurrentDepth [protected]

Definition at line 32 of file TEveProjectionManager.h.

Referenced by GetCurrentDepth(), ImportElementsRecurse(), and SetCurrentDepth().

List_t TEveProjectionManager::fDependentEls [protected]

Definition at line 34 of file TEveProjectionManager.h.

Referenced by AddDependent(), RemoveDependent(), UpdateDependentElsAndScenes(), and ~TEveProjectionManager().

Bool_t TEveProjectionManager::fImportEmpty [protected]

Definition at line 36 of file TEveProjectionManager.h.

Referenced by GetImportEmpty(), SetImportEmpty(), and ShouldImport().

TEveProjection* TEveProjectionManager::fProjections[TEveProjection::kPT_End] [protected]

Definition at line 28 of file TEveProjectionManager.h.

TEveProjection* TEveProjectionManager::fProjection [protected]

Definition at line 30 of file TEveProjectionManager.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:37:05 2011 for ROOT_528-00b_version by  doxygen 1.5.1