Open CASCADE Technology 6.6.0
|
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Graphic3d_ArrayOfPrimitives.hxx>
#include <Graphic3d_PrimitiveArray.hxx>
#include <Standard_Integer.hxx>
#include <MMgt_TShared.hxx>
#include <Graphic3d_TypeOfPrimitiveArray.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_Real.hxx>
#include <Standard_ShortReal.hxx>
#include <Standard_CString.hxx>
#include <Graphic3d_ArrayOfPrimitives.lxx>
Data Structures | |
class | Graphic3d_ArrayOfPrimitives |
This class furnish services to defined and fill an array of primitives compatible with the use of the OPENGl glDrawArrays() or glDrawElements() functions. NOTE that the main goal of this kind of primitive is to avoid multiple copies of datas between each layer of the software. So the array datas exist only one time and the use of SetXxxxxx() methods enable to change dynamically the aspect of this primitive. Advantages are : 1) Decrease strongly the loading time. 2) Decrease strongly the display time using optimized Opengl primitives. 3) Enable to change dynamically the components of the primitive (vertice,normal,color,texture coordinates). 4) Add true triangle and quadrangle strips or fans capabilities. More... |