| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
Element rendering frame statistics. More...
#include <OpenGl_FrameStatsPrs.hxx>

Public Member Functions | |
| OpenGl_FrameStatsPrs () | |
| Default constructor.   | |
| virtual | ~OpenGl_FrameStatsPrs () | 
| Destructor.   | |
| virtual void | Render (const Handle< OpenGl_Workspace > &theWorkspace) const override | 
| Render element.   | |
| virtual void | Release (OpenGl_Context *theCtx) override | 
| Release OpenGL resources.   | |
| void | Update (const Handle< OpenGl_Workspace > &theWorkspace) | 
| Update text.   | |
| void | SetTextAspect (const Handle< Graphic3d_AspectText3d > &theAspect) | 
| Assign text aspect.   | |
| virtual void | DumpJson (Standard_OStream &theOStream, Standard_Integer theDepth=-1) const override | 
| Dumps the content of me into the stream.   | |
  Public Member Functions inherited from OpenGl_Element | |
| OpenGl_Element () | |
| virtual Standard_Boolean | IsFillDrawMode () const | 
| Return TRUE if primitive type generates shaded triangulation (to be used in filters).   | |
| virtual Standard_Size | EstimatedDataSize () const | 
| Returns estimated GPU memory usage for holding data without considering overheads and allocation alignment rules.   | |
| virtual void | UpdateMemStats (Graphic3d_FrameStatsDataTmp &theStats) const | 
| Increment memory usage statistics. Default implementation puts EstimatedDataSize() into Graphic3d_FrameStatsCounter_EstimatedBytesGeom.   | |
| virtual void | UpdateDrawStats (Graphic3d_FrameStatsDataTmp &theStats, bool theIsDetailed) const | 
| Increment draw calls statistics.   | |
| virtual void | SynchronizeAspects () | 
| Update parameters of the drawable elements.   | |
Protected Member Functions | |
| void | updateChart (const Handle< OpenGl_Workspace > &theWorkspace) | 
| Update chart presentation.   | |
  Protected Member Functions inherited from OpenGl_Element | |
| virtual | ~OpenGl_Element () | 
Protected Attributes | |
| Handle< OpenGl_FrameStats > | myStatsPrev | 
| currently displayed stats   | |
| Handle< Graphic3d_TransformPers > | myCountersTrsfPers | 
| transformation persistence for counters presentation   | |
| OpenGl_Text | myCountersText | 
| counters presentation   | |
| OpenGl_Aspects | myTextAspect | 
| text aspect   | |
| Handle< Graphic3d_TransformPers > | myChartTrsfPers | 
| transformation persistence for chart presentation   | |
| Handle< Graphic3d_ArrayOfTriangles > | myChartArray | 
| array of chart triangles   | |
| Handle< OpenGl_VertexBuffer > | myChartVertices | 
| VBO with chart triangles.   | |
| Handle< OpenGl_IndexBuffer > | myChartIndices | 
| VBO with chart triangle indexes.   | |
| Handle< OpenGl_VertexBuffer > | myChartLines | 
| array of chart lines   | |
| OpenGl_Text | myChartLabels [3] | 
| chart labels   | |
Additional Inherited Members | |
  Static Public Member Functions inherited from OpenGl_Element | |
| template<typename theResource_t > | |
| static void | Destroy (OpenGl_Context *theContext, theResource_t *&theElement) | 
| Pointer to the context is used because this method might be called when the context is already being destroyed and usage of a handle would be unsafe.   | |
Element rendering frame statistics.
| OpenGl_FrameStatsPrs::OpenGl_FrameStatsPrs | ( | ) | 
Default constructor.
      
  | 
  virtual | 
Destructor.
      
  | 
  overridevirtual | 
Dumps the content of me into the stream.
Reimplemented from OpenGl_Element.
      
  | 
  overridevirtual | 
Release OpenGL resources.
Implements OpenGl_Element.
      
  | 
  overridevirtual | 
Render element.
Implements OpenGl_Element.
      
  | 
  inline | 
Assign text aspect.
| void OpenGl_FrameStatsPrs::Update | ( | const Handle< OpenGl_Workspace > & | theWorkspace | ) | 
Update text.
      
  | 
  protected | 
Update chart presentation.
      
  | 
  protected | 
array of chart triangles
      
  | 
  protected | 
VBO with chart triangle indexes.
      
  | 
  protected | 
chart labels
      
  | 
  protected | 
array of chart lines
      
  | 
  protected | 
transformation persistence for chart presentation
      
  | 
  protected | 
VBO with chart triangles.
      
  | 
  protected | 
counters presentation
      
  | 
  protected | 
transformation persistence for counters presentation
      
  | 
  protected | 
currently displayed stats
      
  | 
  protected | 
text aspect