} else if (it.Key1()->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
const Handle(NIS_InteractiveObject) anObj =
Handle(NIS_InteractiveObject)::DownCast (it.Key1());
- TheNISContext()->Remove(anObj,Standard_False);
+ TheNISContext()->Remove(anObj);
}
it.Next();
}
TheAISContext()->UpdateCurrentViewer();
- TheNISContext()->UpdateViews();
+// TheNISContext()->UpdateViews();
GetMapOfAIS().Clear();
}
}
} else if (it.Key1()->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
const Handle(NIS_InteractiveObject) aShape =
Handle(NIS_InteractiveObject)::DownCast(it.Key1());
- TheNISContext()->Erase(aShape,Standard_False);
+ TheNISContext()->Erase(aShape);
}
it.Next();
}
Handle(AIS_InteractiveObject)::DownCast (anObj);
TheAISContext()->Display(aShape, Standard_False);
} else if (anObj->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
- const Handle(NIS_InteractiveObject) aShape =
+ Handle(NIS_InteractiveObject) aShape =
Handle(NIS_InteractiveObject)::DownCast (anObj);
- TheNISContext()->Display(aShape, 0L, Standard_False);
+ TheNISContext()->Display(aShape);
}
}
}
TheAISContext() ->UpdateCurrentViewer();
- TheNISContext() ->UpdateViews();
+// TheNISContext() ->UpdateViews();
}
return 0;
}
} else if (it.Key1()->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
const Handle(NIS_InteractiveObject) aShape =
Handle(NIS_InteractiveObject)::DownCast(it.Key1());
- TheNISContext()->Erase(aShape,Standard_False);
+ TheNISContext()->Erase(aShape);
}
it.Next();
}
TheAISContext() ->UpdateCurrentViewer();
- TheNISContext()->UpdateViews();
+// TheNISContext()->UpdateViews();
}
//===============================================================
} else if (anObj->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
const Handle(NIS_InteractiveObject) aShape =
Handle(NIS_InteractiveObject)::DownCast (anObj);
- TheNISContext()->Erase(aShape,Standard_False);
+ TheNISContext()->Erase(aShape);
}
}
}
TheAISContext() ->UpdateCurrentViewer();
- TheNISContext() ->UpdateViews();
+// TheNISContext() ->UpdateViews();
}
return 0;
}
} else if (it.Key1()->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
const Handle(NIS_InteractiveObject) aShape =
Handle(NIS_InteractiveObject)::DownCast(it.Key1());
- TheNISContext()->Erase(aShape,Standard_False);
+ TheNISContext()->Erase(aShape);
}
it.Next();
}
TheAISContext() ->UpdateCurrentViewer();
- TheNISContext() ->UpdateViews();
+// TheNISContext() ->UpdateViews();
return 0;
}
} else if (it.Key1()->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
const Handle(NIS_InteractiveObject) aShape =
Handle(NIS_InteractiveObject)::DownCast(it.Key1());
- TheNISContext()->Erase(aShape,Standard_False);
+ TheNISContext()->Erase(aShape);
}
it.Next();
}
Handle(AIS_InteractiveObject)::DownCast(it.Key1());
TheAISContext()->Display(aShape, Standard_False);
} else if (it.Key1()->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
- const Handle(NIS_InteractiveObject) aShape =
+ Handle(NIS_InteractiveObject) aShape =
Handle(NIS_InteractiveObject)::DownCast(it.Key1());
- TheNISContext()->Display(aShape, 0L, Standard_False);
+ TheNISContext()->Display(aShape);
}
it.Next();
}
TheAISContext() ->UpdateCurrentViewer();
- TheNISContext() ->UpdateViews();
+// TheNISContext() ->UpdateViews();
}
return 0;
}
} else if (anObj->IsKind(STANDARD_TYPE(NIS_InteractiveObject))) {
Handle(NIS_InteractiveObject) aShape =
Handle(NIS_InteractiveObject)::DownCast(anObj);
- TheNISContext()->Display(aShape, 0L, Standard_False);
+ TheNISContext()->Display(aShape);
}
}
else { // Create the AIS_Shape from a name
}
// Upadate the screen and redraw the view
TheAISContext()->UpdateCurrentViewer();
- TheNISContext()->UpdateViews();
+// TheNISContext()->UpdateViews();
return 0;
}