Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
OpenGl_PriorityList Class Reference

#include <OpenGl_PriorityList.hxx>

Public Member Functions

 OpenGl_PriorityList (const Standard_Integer ANbPriorities=11)
virtual ~OpenGl_PriorityList ()
void Add (const OpenGl_Structure *AStructure, const Standard_Integer APriority)
Standard_Integer Remove (const OpenGl_Structure *AStructure)
 Remove structure and returns its priority, if the structure is not found, method returns negative value.
Standard_Integer NbStructures () const
void Render (const Handle< OpenGl_Workspace > &AWorkspace) const
Standard_Integer NbPriorities () const
 Returns the number of available priority levels.
Standard_Boolean Append (const OpenGl_PriorityList &theOther)
 Append priority list of acceptable type (with similar number of priorities or less). Returns Standard_False if the list can not be accepted.

Protected Attributes

OpenGl_ArrayOfStructure myArray
Standard_Integer myNbStructures

Constructor & Destructor Documentation

virtual OpenGl_PriorityList::~OpenGl_PriorityList ( ) [inline, virtual]

Member Function Documentation


Field Documentation


The documentation for this class was generated from the following file: