Hi,
How do I enable highlighting and selecting of only circular edges of a shape for a particular necessity in TopoAbs_EDGE mode of local context?
Plz Help!
N.Sharjith
mbd (not verified) Tue, 11/19/2002 - 18:21
Hi,
you just have to add filters to your selection mode :
if you want to select edges based on circles :
myAISContext->OpenLocalContext();
myAISContext->ActivateStandardMode(TopAbs_EDGE);
Handle(StdSelect_EdgeFilter) EdgeFilter = new StdSelect_EdgeFilter(StdSelect_Circle);
myAISContext->AddFilter(EdgeFilter);
Tue, 11/19/2002 - 18:21
Hi,
you just have to add filters to your selection mode :
if you want to select edges based on circles :
myAISContext->OpenLocalContext();
myAISContext->ActivateStandardMode(TopAbs_EDGE);
Handle(StdSelect_EdgeFilter) EdgeFilter = new StdSelect_EdgeFilter(StdSelect_Circle);
myAISContext->AddFilter(EdgeFilter);
mbd
Thu, 11/28/2002 - 13:57
Hi,
Thanx a lot!