1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0030437: Visualization, TKV3d - add Draw command to print rendering statistics

Add new command "vstatprofiler" to manage rendering parameters and print them.
If there are some input parameters - print corresponding statistic counters values,
else - print all performance counters set previously.
This commit is contained in:
osa
2019-01-10 17:25:48 +03:00
committed by bugmaster
parent 0e3025bc14
commit 79b544e652
10 changed files with 523 additions and 0 deletions

View File

@@ -3183,6 +3183,24 @@ void V3d_View::DiagnosticInformation (TColStd_IndexedDataMapOfStringString& theD
myView->DiagnosticInformation (theDict, theFlags);
}
//=======================================================================
//function : StatisticInformation
//purpose :
//=======================================================================
void V3d_View::StatisticInformation (TColStd_IndexedDataMapOfStringString& theDict) const
{
myView->StatisticInformation (theDict);
}
// =======================================================================
// function : StatisticInformation
// purpose :
// =======================================================================
TCollection_AsciiString V3d_View::StatisticInformation() const
{
return myView->StatisticInformation();
}
//=============================================================================
//function : RenderingParams
//purpose :