18 fSel(sel), fPrefix(prefix)
20 fSel->
Connect(
"SelectionAdded(TEveElement*)",
"SigTestSpitter",
this,
"Added(TEveElement*)");
21 fSel->
Connect(
"SelectionRemoved(TEveElement*)",
"SigTestSpitter",
this,
"Removed(TEveElement*)");
22 fSel->
Connect(
"SelectionCleared()",
"SigTestSpitter",
this,
"Cleared()");
26 fSel->
Disconnect(
"SelectionAdded(TEveElement*)",
this,
"Added(TEveElement*)");
27 fSel->
Disconnect(
"SelectionRemoved(TEveElement*)",
this,
"Removed(TEveElement*)");
28 fSel->
Disconnect(
"SelectionCleared()",
this,
"Cleared()");
33 printf(
"%s Added 0x%lx '%s'\n", fPrefix.
Data(), (
ULong_t)el, el ? el->GetElementName() :
"");
37 printf(
"%s Removed 0x%lx '%s'\n", fPrefix.
Data(), (
ULong_t)el, el ? el->GetElementName() :
"");
41 printf(
"%s Cleared'\n", fPrefix.
Data());
R__EXTERN TEveManager * gEve
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
TEveSelection * GetSelection() const
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
TEveSelection * GetHighlight() const
Make sure there is a SINGLE running TEveSelection for each selection type (select/highlight).
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver.
const char * Data() const