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:
@@ -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 :
|
||||
|
Reference in New Issue
Block a user