When the mouse cursor moves over objects. I only hope to pick up(highlight)object(like compound). I have used
Handle(StdSelect_ShapeTypeFilter) Filter = new StdSelect_ShapeTypeFilter(TopAbs_COMPOUND);
Handle(SelectMgr_Filter) aFilter = Filter;
It doesn't work. It still highlights all objects. Does anyone know about this? I am very appreciated your help.