Semi-abstract interface for classes supporting secondary-selection.
Element class that inherits from this, should also implement the following virtual methods from TEveElement:
and clear corresponding selection-set from there.
To support tooltips for sub-elements, implement:
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_t > | SelectionSet_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_t & | RefHighlightedSet () const |
const SelectionSet_t & | RefSelectedSet () 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 &) | |
TEveSecondarySelectable & | operator= (const TEveSecondarySelectable &) |
#include <TEveSecondarySelectable.h>
typedef SelectionSet_t::const_iterator TEveSecondarySelectable::SelectionSet_ci |
Definition at line 31 of file TEveSecondarySelectable.h.
typedef SelectionSet_t::iterator TEveSecondarySelectable::SelectionSet_i |
Definition at line 30 of file TEveSecondarySelectable.h.
typedef std::set<Int_t> TEveSecondarySelectable::SelectionSet_t |
Definition at line 29 of file TEveSecondarySelectable.h.
|
private |
TEveSecondarySelectable::TEveSecondarySelectable | ( | ) |
Constructor.
Definition at line 43 of file TEveSecondarySelectable.cxx.
|
inlinevirtual |
Definition at line 44 of file TEveSecondarySelectable.h.
|
inline |
Definition at line 46 of file TEveSecondarySelectable.h.
|
private |
void TEveSecondarySelectable::ProcessGLSelection | ( | TGLSelectRecord & | rec | ) |
Process secondary GL selection and populate selected set accordingly.
Definition at line 51 of file TEveSecondarySelectable.cxx.
|
protected |
Process secondary GL selection and populate given set accordingly.
Definition at line 62 of file TEveSecondarySelectable.cxx.
|
inline |
Definition at line 50 of file TEveSecondarySelectable.h.
|
inline |
Definition at line 49 of file TEveSecondarySelectable.h.
Definition at line 47 of file TEveSecondarySelectable.h.
|
protected |
Definition at line 35 of file TEveSecondarySelectable.h.
|
protected |
Definition at line 38 of file TEveSecondarySelectable.h.
|
protected |
Definition at line 37 of file TEveSecondarySelectable.h.