TEveSelection Class Reference

#include <TEveSelection.h>

Inheritance diagram for TEveSelection:

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

Public Types

enum  EPickToSelect
enum  EPickToSelect

Public Member Functions

 TEveSelection (const char *n="TEveSelection", const char *t="")
virtual ~TEveSelection ()
void SetHighlightMode ()
Int_t GetPickToSelect () const
void SetPickToSelect (Int_t ps)
Bool_t GetIsMaster () const
void SetIsMaster (Bool_t m)
virtual Bool_t AcceptElement (TEveElement *el)
virtual void AddElement (TEveElement *el)
virtual void RemoveElement (TEveElement *el)
virtual void RemoveElementLocal (TEveElement *el)
virtual void RemoveElements ()
virtual void RemoveElementsLocal ()
virtual void RemoveImpliedSelected (TEveElement *el)
void RecheckImpliedSetForElement (TEveElement *el)
void SelectionAdded (TEveElement *el)
void SelectionRemoved (TEveElement *el)
void SelectionCleared ()
void SelectionRepeated (TEveElement *el)
virtual void ActivateSelection ()
virtual void DeactivateSelection ()
TEveElementMapPickedToSelected (TEveElement *el)
virtual void UserPickedElement (TEveElement *el, Bool_t multi=kFALSE)
virtual void UserRePickedElement (TEveElement *el)
virtual void UserUnPickedElement (TEveElement *el)
 ClassDef (TEveSelection, 0)
 TEveSelection (const char *n="TEveSelection", const char *t="")
virtual ~TEveSelection ()
void SetHighlightMode ()
Int_t GetPickToSelect () const
void SetPickToSelect (Int_t ps)
Bool_t GetIsMaster () const
void SetIsMaster (Bool_t m)
virtual Bool_t AcceptElement (TEveElement *el)
virtual void AddElement (TEveElement *el)
virtual void RemoveElement (TEveElement *el)
virtual void RemoveElementLocal (TEveElement *el)
virtual void RemoveElements ()
virtual void RemoveElementsLocal ()
virtual void RemoveImpliedSelected (TEveElement *el)
void RecheckImpliedSetForElement (TEveElement *el)
void SelectionAdded (TEveElement *el)
void SelectionRemoved (TEveElement *el)
void SelectionCleared ()
void SelectionRepeated (TEveElement *el)
virtual void ActivateSelection ()
virtual void DeactivateSelection ()
TEveElementMapPickedToSelected (TEveElement *el)
virtual void UserPickedElement (TEveElement *el, Bool_t multi=kFALSE)
virtual void UserRePickedElement (TEveElement *el)
virtual void UserUnPickedElement (TEveElement *el)
 ClassDef (TEveSelection, 0)

Protected Types

typedef std::map< TEveElement *,
Set_t
SelMap_t
typedef std::map< TEveElement *,
Set_t >::iterator 
SelMap_i
typedef std::map< TEveElement *,
Set_t
SelMap_t
typedef std::map< TEveElement *,
Set_t >::iterator 
SelMap_i

Protected Member Functions

void DoElementSelect (SelMap_i entry)
void DoElementUnselect (SelMap_i entry)
void RecheckImpliedSet (SelMap_i smi)
void DoElementSelect (SelMap_i entry)
void DoElementUnselect (SelMap_i entry)
void RecheckImpliedSet (SelMap_i smi)

Protected Attributes

Int_t fPickToSelect
Bool_t fActive
Bool_t fIsMaster
SelMap_t fImpliedSelected
Select_foo fSelElement
ImplySelect_foo fIncImpSelElement
ImplySelect_foo fDecImpSelElement

Private Member Functions

 TEveSelection (const TEveSelection &)
TEveSelectionoperator= (const TEveSelection &)
 TEveSelection (const TEveSelection &)
TEveSelectionoperator= (const TEveSelection &)

Detailed Description

Definition at line 21 of file TEveSelection.h.


Member Typedef Documentation

typedef std::map<TEveElement*, Set_t> TEveSelection::SelMap_t [protected]

Definition at line 40 of file TEveSelection.h.

typedef std::map<TEveElement*, Set_t>::iterator TEveSelection::SelMap_i [protected]

Definition at line 41 of file TEveSelection.h.

typedef std::map<TEveElement*, Set_t> TEveSelection::SelMap_t [protected]

Definition at line 40 of file TEveSelection.h.

typedef std::map<TEveElement*, Set_t>::iterator TEveSelection::SelMap_i [protected]

Definition at line 41 of file TEveSelection.h.


Member Enumeration Documentation

enum TEveSelection::EPickToSelect

Definition at line 25 of file TEveSelection.h.

enum TEveSelection::EPickToSelect

Definition at line 25 of file TEveSelection.h.


Constructor & Destructor Documentation

TEveSelection::TEveSelection ( const TEveSelection  )  [private]

TEveSelection::TEveSelection ( const char *  n = "TEveSelection",
const char *  t = "" 
)

Definition at line 27 of file TEveSelection.cxx.

References TEveElement::DecImpliedSelected(), fDecImpSelElement, fIncImpSelElement, fSelElement, TEveElement::IncImpliedSelected(), and TEveElement::SelectElement().

virtual TEveSelection::~TEveSelection (  )  [inline, virtual]

Definition at line 60 of file TEveSelection.h.

TEveSelection::TEveSelection ( const TEveSelection  )  [private]

TEveSelection::TEveSelection ( const char *  n = "TEveSelection",
const char *  t = "" 
)

virtual TEveSelection::~TEveSelection (  )  [inline, virtual]

Definition at line 60 of file TEveSelection.h.


Member Function Documentation

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

void TEveSelection::DoElementSelect ( SelMap_i  entry  )  [protected]

Definition at line 63 of file TEveSelection.cxx.

References TEveElement::FillImpliedSelectedSet(), fIncImpSelElement, fSelElement, i, and kTRUE.

Referenced by ActivateSelection(), and AddElement().

void TEveSelection::DoElementUnselect ( SelMap_i  entry  )  [protected]

Definition at line 78 of file TEveSelection.cxx.

References fDecImpSelElement, fSelElement, i, and kFALSE.

Referenced by DeactivateSelection(), RemoveElementLocal(), and RemoveElementsLocal().

void TEveSelection::RecheckImpliedSet ( SelMap_i  smi  )  [protected]

Definition at line 194 of file TEveSelection.cxx.

References fIncImpSelElement, and i.

Referenced by RecheckImpliedSetForElement().

void TEveSelection::SetHighlightMode (  ) 

Definition at line 41 of file TEveSelection.cxx.

References TEveElement::DecImpliedHighlighted(), fDecImpSelElement, fIncImpSelElement, fIsMaster, fPickToSelect, fSelElement, TEveElement::HighlightElement(), TEveElement::IncImpliedHighlighted(), kFALSE, and kPS_Projectable.

Referenced by TEveManager::TEveManager().

Int_t TEveSelection::GetPickToSelect (  )  const [inline]

Definition at line 64 of file TEveSelection.h.

References fPickToSelect.

Referenced by TEveBrowser::EveMenu(), SplitGLView::LoadConfig(), SplitGLView::SaveConfig(), and TEveBrowser::TEveBrowser().

void TEveSelection::SetPickToSelect ( Int_t  ps  )  [inline]

Definition at line 65 of file TEveSelection.h.

References fPickToSelect.

Referenced by TEveBrowser::EveMenu().

Bool_t TEveSelection::GetIsMaster (  )  const [inline]

Definition at line 67 of file TEveSelection.h.

References fIsMaster.

void TEveSelection::SetIsMaster ( Bool_t  m  )  [inline]

Definition at line 68 of file TEveSelection.h.

References fIsMaster.

Bool_t TEveSelection::AcceptElement ( TEveElement el  )  [virtual]

Reimplemented from TEveElementList.

Definition at line 98 of file TEveSelection.cxx.

References xmlio::Class, fImpliedSelected, and kFALSE.

void TEveSelection::AddElement ( TEveElement el  )  [virtual]

Reimplemented from TEveElement.

Definition at line 108 of file TEveSelection.cxx.

References TEveElement::AddElement(), DoElementSelect(), fActive, fImpliedSelected, i, and SelectionAdded().

Referenced by UserPickedElement().

void TEveSelection::RemoveElement ( TEveElement el  )  [virtual]

Reimplemented from TEveElement.

Definition at line 123 of file TEveSelection.cxx.

References TEveElement::RemoveElement(), and SelectionRemoved().

Referenced by UserPickedElement(), and UserUnPickedElement().

void TEveSelection::RemoveElementLocal ( TEveElement el  )  [virtual]

Reimplemented from TEveElement.

Definition at line 133 of file TEveSelection.cxx.

References DoElementUnselect(), fActive, fImpliedSelected, i, and TObject::Warning().

void TEveSelection::RemoveElements (  )  [virtual]

Reimplemented from TEveElement.

Definition at line 154 of file TEveSelection.cxx.

References TEveElement::RemoveElements(), and SelectionCleared().

Referenced by UserPickedElement().

void TEveSelection::RemoveElementsLocal (  )  [virtual]

Reimplemented from TEveElement.

Definition at line 164 of file TEveSelection.cxx.

References DoElementUnselect(), fActive, fImpliedSelected, and i.

void TEveSelection::RemoveImpliedSelected ( TEveElement el  )  [virtual]

Definition at line 177 of file TEveSelection.cxx.

References fImpliedSelected, i, and j.

Referenced by TEveManager::PreDeleteElement().

void TEveSelection::RecheckImpliedSetForElement ( TEveElement el  ) 

Definition at line 213 of file TEveSelection.cxx.

References fImpliedSelected, i, and RecheckImpliedSet().

Referenced by TEveElement::RecheckImpliedSelections().

void TEveSelection::SelectionAdded ( TEveElement el  ) 

Definition at line 241 of file TEveSelection.cxx.

References TQObject::Emit().

Referenced by AddElement().

void TEveSelection::SelectionRemoved ( TEveElement el  ) 

Definition at line 249 of file TEveSelection.cxx.

References TQObject::Emit().

Referenced by RemoveElement().

void TEveSelection::SelectionCleared (  ) 

Definition at line 257 of file TEveSelection.cxx.

References TQObject::Emit().

Referenced by RemoveElements().

void TEveSelection::SelectionRepeated ( TEveElement el  ) 

Definition at line 265 of file TEveSelection.cxx.

References TQObject::Emit().

Referenced by UserRePickedElement().

void TEveSelection::ActivateSelection (  )  [virtual]

Definition at line 277 of file TEveSelection.cxx.

References DoElementSelect(), fActive, fImpliedSelected, i, and kTRUE.

void TEveSelection::DeactivateSelection (  )  [virtual]

Definition at line 287 of file TEveSelection.cxx.

References DoElementUnselect(), fActive, fImpliedSelected, i, and kFALSE.

TEveElement * TEveSelection::MapPickedToSelected ( TEveElement el  ) 

Definition at line 302 of file TEveSelection.cxx.

References TEveElement::ForwardSelection(), fPickToSelect, TEveElement::GetCompound(), TEveElement::GetMaster(), TEveProjected::GetProjectable(), kPS_Compound, kPS_Element, kPS_Ignore, kPS_Master, kPS_PableCompound, and kPS_Projectable.

Referenced by UserPickedElement(), UserRePickedElement(), and UserUnPickedElement().

void TEveSelection::UserPickedElement ( TEveElement el,
Bool_t  multi = kFALSE 
) [virtual]

Definition at line 362 of file TEveSelection.cxx.

References AddElement(), TEveManager::ElementSelect(), fIsMaster, TEveElement::ForwardEdit(), gEve, TEveElement::HasChild(), TEveElement::HasChildren(), MapPickedToSelected(), TEveManager::Redraw3D(), RemoveElement(), and RemoveElements().

Referenced by TEveGListTreeEditorFrame::ItemBelowMouse(), TEveGListTreeEditorFrame::ItemClicked(), TEveGListTreeEditorFrame::ItemKeyPress(), TEveViewerList::OnClicked(), and TEveViewerList::OnMouseOver().

void TEveSelection::UserRePickedElement ( TEveElement el  )  [virtual]

Definition at line 391 of file TEveSelection.cxx.

References gEve, TEveElement::HasChild(), MapPickedToSelected(), TEveManager::Redraw3D(), and SelectionRepeated().

Referenced by TEveViewerList::OnReClicked(), and TEveViewerList::OnReMouseOver().

void TEveSelection::UserUnPickedElement ( TEveElement el  )  [virtual]

Definition at line 404 of file TEveSelection.cxx.

References gEve, MapPickedToSelected(), TEveManager::Redraw3D(), and RemoveElement().

Referenced by TEveViewerList::OnUnClicked(), and TEveViewerList::OnUnMouseOver().

TEveSelection::ClassDef ( TEveSelection  ,
 
)

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

void TEveSelection::DoElementSelect ( SelMap_i  entry  )  [protected]

void TEveSelection::DoElementUnselect ( SelMap_i  entry  )  [protected]

void TEveSelection::RecheckImpliedSet ( SelMap_i  smi  )  [protected]

void TEveSelection::SetHighlightMode (  ) 

Int_t TEveSelection::GetPickToSelect (  )  const [inline]

Definition at line 64 of file TEveSelection.h.

References fPickToSelect.

void TEveSelection::SetPickToSelect ( Int_t  ps  )  [inline]

Definition at line 65 of file TEveSelection.h.

References fPickToSelect.

Bool_t TEveSelection::GetIsMaster (  )  const [inline]

Definition at line 67 of file TEveSelection.h.

References fIsMaster.

void TEveSelection::SetIsMaster ( Bool_t  m  )  [inline]

Definition at line 68 of file TEveSelection.h.

References fIsMaster.

virtual Bool_t TEveSelection::AcceptElement ( TEveElement el  )  [virtual]

Reimplemented from TEveElementList.

virtual void TEveSelection::AddElement ( TEveElement el  )  [virtual]

Reimplemented from TEveElement.

virtual void TEveSelection::RemoveElement ( TEveElement el  )  [virtual]

Reimplemented from TEveElement.

virtual void TEveSelection::RemoveElementLocal ( TEveElement el  )  [virtual]

Reimplemented from TEveElement.

virtual void TEveSelection::RemoveElements (  )  [virtual]

Reimplemented from TEveElement.

virtual void TEveSelection::RemoveElementsLocal (  )  [virtual]

Reimplemented from TEveElement.

virtual void TEveSelection::RemoveImpliedSelected ( TEveElement el  )  [virtual]

void TEveSelection::RecheckImpliedSetForElement ( TEveElement el  ) 

void TEveSelection::SelectionAdded ( TEveElement el  ) 

void TEveSelection::SelectionRemoved ( TEveElement el  ) 

void TEveSelection::SelectionCleared (  ) 

void TEveSelection::SelectionRepeated ( TEveElement el  ) 

virtual void TEveSelection::ActivateSelection (  )  [virtual]

virtual void TEveSelection::DeactivateSelection (  )  [virtual]

TEveElement* TEveSelection::MapPickedToSelected ( TEveElement el  ) 

virtual void TEveSelection::UserPickedElement ( TEveElement el,
Bool_t  multi = kFALSE 
) [virtual]

virtual void TEveSelection::UserRePickedElement ( TEveElement el  )  [virtual]

virtual void TEveSelection::UserUnPickedElement ( TEveElement el  )  [virtual]

TEveSelection::ClassDef ( TEveSelection  ,
 
)


Member Data Documentation

Int_t TEveSelection::fPickToSelect [protected]

Definition at line 43 of file TEveSelection.h.

Referenced by GetPickToSelect(), MapPickedToSelected(), SetHighlightMode(), and SetPickToSelect().

Bool_t TEveSelection::fActive [protected]

Definition at line 44 of file TEveSelection.h.

Referenced by ActivateSelection(), AddElement(), DeactivateSelection(), RemoveElementLocal(), and RemoveElementsLocal().

Bool_t TEveSelection::fIsMaster [protected]

Definition at line 45 of file TEveSelection.h.

Referenced by GetIsMaster(), SetHighlightMode(), SetIsMaster(), and UserPickedElement().

SelMap_t TEveSelection::fImpliedSelected [protected]

Reimplemented from TEveElement.

Definition at line 47 of file TEveSelection.h.

Referenced by AcceptElement(), ActivateSelection(), AddElement(), DeactivateSelection(), RecheckImpliedSetForElement(), RemoveElementLocal(), RemoveElementsLocal(), and RemoveImpliedSelected().

Select_foo TEveSelection::fSelElement [protected]

Definition at line 49 of file TEveSelection.h.

Referenced by DoElementSelect(), DoElementUnselect(), SetHighlightMode(), and TEveSelection().

ImplySelect_foo TEveSelection::fIncImpSelElement [protected]

Definition at line 50 of file TEveSelection.h.

Referenced by DoElementSelect(), RecheckImpliedSet(), SetHighlightMode(), and TEveSelection().

ImplySelect_foo TEveSelection::fDecImpSelElement [protected]

Definition at line 51 of file TEveSelection.h.

Referenced by DoElementUnselect(), SetHighlightMode(), and TEveSelection().


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