My apologies for the naive question, but simply put : How may I move a selected object within AIS? Specifically, what is the best method for implementing a "click and drag" function to allow simple interactive movement of objects on the user's screen?
A snippet of code that I have currently been trying is:
Handle(AIS_Shape) m_hSelected=new AIS_Shape(CurrentIC->SelectedShape());
TopoDS_Shape aShape= myTrsf.Shape();
But this merely creates replicas of the moving object, rather than moving the original object.
Thanks for the help.