Open CASCADE Technology 6.6.0
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

OpenGl_PriorityList::OpenGl_PriorityList ( const Standard_Integer  ANbPriorities = 11) [inline]
virtual OpenGl_PriorityList::~OpenGl_PriorityList ( ) [inline, virtual]

Member Function Documentation

void OpenGl_PriorityList::Add ( const OpenGl_Structure AStructure,
const Standard_Integer  APriority 
)
Standard_Boolean OpenGl_PriorityList::Append ( const OpenGl_PriorityList theOther)
Standard_Integer OpenGl_PriorityList::NbPriorities ( ) const
Standard_Integer OpenGl_PriorityList::NbStructures ( ) const [inline]
Standard_Integer OpenGl_PriorityList::Remove ( const OpenGl_Structure AStructure)
void OpenGl_PriorityList::Render ( const Handle< OpenGl_Workspace > &  AWorkspace) const

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines