1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0032165: Visualization - remove obsolete method AIS_InteractiveContext::PurgeViewer()

This commit is contained in:
kgv
2021-02-25 12:41:51 +03:00
committed by bugmaster
parent decbff0dfd
commit 53219061ca
5 changed files with 0 additions and 118 deletions

View File

@@ -8937,30 +8937,6 @@ static Standard_Integer VNbSelected (Draw_Interpretor& di,
return 0;
}
//=======================================================================
//function : VPurgeDisplay
//purpose : Switches altialiasing on or off
//=======================================================================
static Standard_Integer VPurgeDisplay (Draw_Interpretor& di,
Standard_Integer argc,
const char ** argv)
{
if (argc > 1)
{
di << "Usage : " << argv[0] << "\n";
return 1;
}
Handle(AIS_InteractiveContext) aContext = ViewerTest::GetAISContext();
if (aContext.IsNull())
{
di << "use 'vinit' command before " << argv[0] << "\n";
return 1;
}
di << aContext->PurgeDisplay() << "\n";
return 0;
}
//=======================================================================
//function : VSetViewSize
//purpose :
@@ -15265,10 +15241,6 @@ void ViewerTest::ViewerCommands(Draw_Interpretor& theCommands)
" vzrange - without parameters shows current values\n"
" vzrange [znear] [zfar] - applies provided values to view",
__FILE__,VZRange, group);
theCommands.Add ("vpurgedisplay",
"vpurgedisplay"
"- removes structures which don't belong to objects displayed in neutral point",
__FILE__, VPurgeDisplay, group);
theCommands.Add("vsetviewsize",
"vsetviewsize size",
__FILE__,VSetViewSize,group);