55void REveSecondarySelectable::ProcessGLSelectionInternal(TGLSelectRecord& rec,
58 Int_t id = (rec.GetN() > 1) ? (Int_t) rec.GetItem(1) : -1;
65 rec.SetSecSelResult(TGLSelectRecord::kEnteringSelection);
72 if (rec.GetMultiple())
74 if (sset.find(id) == sset.end())
77 rec.SetSecSelResult(TGLSelectRecord::kModifyingInternalSelection);
83 rec.SetSecSelResult(TGLSelectRecord::kLeavingSelection);
85 rec.SetSecSelResult(TGLSelectRecord::kModifyingInternalSelection);
90 if (sset.size() != 1 || sset.find(id) == sset.end())
94 rec.SetSecSelResult(TGLSelectRecord::kModifyingInternalSelection);
100 if (!rec.GetMultiple())
103 rec.SetSecSelResult(TGLSelectRecord::kLeavingSelection);
108 if (rec.GetSecSelResult() != TGLSelectRecord::kNone)
110 dynamic_cast<REveElement*>(this)->StampColorSelection();