Logo ROOT   6.16/01
Reference Guide
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
TEveSecondarySelectable Class Reference

Semi-abstract interface for classes supporting secondary-selection.

Element class that inherits from this, should also implement the following virtual methods from TEveElement:

virtual void UnSelected();
virtual void UnHighlighted();

and clear corresponding selection-set from there.

To support tooltips for sub-elements, implement:

virtual TString GetHighlightTooltip()
Definition: TEveElement.h:123
Basic string class.
Definition: TString.h:131

and return tooltip for the entry in the fHighlightedSet. There should always be a single entry there. See TEveDigitSet for an example.

Definition at line 22 of file TEveSecondarySelectable.h.

Public Types

typedef SelectionSet_t::const_iterator SelectionSet_ci
 
typedef SelectionSet_t::iterator SelectionSet_i
 
typedef std::set< Int_tSelectionSet_t
 

Public Member Functions

 TEveSecondarySelectable ()
 Constructor. More...
 
virtual ~TEveSecondarySelectable ()
 
Bool_t GetAlwaysSecSelect () const
 
void ProcessGLSelection (TGLSelectRecord &rec)
 Process secondary GL selection and populate selected set accordingly. More...
 
const SelectionSet_tRefHighlightedSet () const
 
const SelectionSet_tRefSelectedSet () const
 
void SetAlwaysSecSelect (Bool_t f)
 

Protected Member Functions

void ProcessGLSelectionInternal (TGLSelectRecord &rec, SelectionSet_t &sset)
 Process secondary GL selection and populate given set accordingly. More...
 

Protected Attributes

Bool_t fAlwaysSecSelect
 
SelectionSet_t fHighlightedSet
 
SelectionSet_t fSelectedSet
 

Private Member Functions

 TEveSecondarySelectable (const TEveSecondarySelectable &)
 
TEveSecondarySelectableoperator= (const TEveSecondarySelectable &)
 

#include <TEveSecondarySelectable.h>

Inheritance diagram for TEveSecondarySelectable:
[legend]

Member Typedef Documentation

◆ SelectionSet_ci

typedef SelectionSet_t::const_iterator TEveSecondarySelectable::SelectionSet_ci

Definition at line 31 of file TEveSecondarySelectable.h.

◆ SelectionSet_i

typedef SelectionSet_t::iterator TEveSecondarySelectable::SelectionSet_i

Definition at line 30 of file TEveSecondarySelectable.h.

◆ SelectionSet_t

Definition at line 29 of file TEveSecondarySelectable.h.

Constructor & Destructor Documentation

◆ TEveSecondarySelectable() [1/2]

TEveSecondarySelectable::TEveSecondarySelectable ( const TEveSecondarySelectable )
private

◆ TEveSecondarySelectable() [2/2]

TEveSecondarySelectable::TEveSecondarySelectable ( )

Constructor.

Definition at line 43 of file TEveSecondarySelectable.cxx.

◆ ~TEveSecondarySelectable()

virtual TEveSecondarySelectable::~TEveSecondarySelectable ( )
inlinevirtual

Definition at line 44 of file TEveSecondarySelectable.h.

Member Function Documentation

◆ GetAlwaysSecSelect()

Bool_t TEveSecondarySelectable::GetAlwaysSecSelect ( ) const
inline

Definition at line 46 of file TEveSecondarySelectable.h.

◆ operator=()

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

◆ ProcessGLSelection()

void TEveSecondarySelectable::ProcessGLSelection ( TGLSelectRecord rec)

Process secondary GL selection and populate selected set accordingly.

Definition at line 51 of file TEveSecondarySelectable.cxx.

◆ ProcessGLSelectionInternal()

void TEveSecondarySelectable::ProcessGLSelectionInternal ( TGLSelectRecord rec,
SelectionSet_t sset 
)
protected

Process secondary GL selection and populate given set accordingly.

Definition at line 62 of file TEveSecondarySelectable.cxx.

◆ RefHighlightedSet()

const SelectionSet_t & TEveSecondarySelectable::RefHighlightedSet ( ) const
inline

Definition at line 50 of file TEveSecondarySelectable.h.

◆ RefSelectedSet()

const SelectionSet_t & TEveSecondarySelectable::RefSelectedSet ( ) const
inline

Definition at line 49 of file TEveSecondarySelectable.h.

◆ SetAlwaysSecSelect()

void TEveSecondarySelectable::SetAlwaysSecSelect ( Bool_t  f)
inline

Definition at line 47 of file TEveSecondarySelectable.h.

Member Data Documentation

◆ fAlwaysSecSelect

Bool_t TEveSecondarySelectable::fAlwaysSecSelect
protected

Definition at line 35 of file TEveSecondarySelectable.h.

◆ fHighlightedSet

SelectionSet_t TEveSecondarySelectable::fHighlightedSet
protected

Definition at line 38 of file TEveSecondarySelectable.h.

◆ fSelectedSet

SelectionSet_t TEveSecondarySelectable::fSelectedSet
protected

Definition at line 37 of file TEveSecondarySelectable.h.

Libraries for TEveSecondarySelectable:
[legend]

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