
Wed, 05/13/2009 - 19:38
Forums:
Good Afternoon,
I have follow problem:
If the selectable AIS_Shape is relocated
theInteractiveContext->SetLocation (aAIS_Shape, aNewTopLoc_Location);
the area of selection is not refreshed immediately. It means the selectionmethod works only on the area, where the AIS_Shape WAS.
selectionmethod :
..
theInteractiveContext->MoveTo(theMousePosX,theMousePosY,aV3d_View);
..
theInteractiveContext->m_Context->ClearCurrents(1);
theInteractiveContext->m_Context->InitDetected();
if(theInteractiveContext->m_Context->HasDetected())
{
}
..
But after the AIS_Shape was one time selected, it works correct ( on actuell area ).
Should I do something more, if a selectable AIS_Shape schould be relocated ?
Thank you
Dmitry
Wed, 06/24/2009 - 19:49
i ran into exactly same problem today, i use SetLocation on on ais_interactoveobject but the bouding box seems unchanged and selection works as shape was not transformed, any hints?