Open CASCADE Technology 6.6.0
|
#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 |
OpenGl_PriorityList::OpenGl_PriorityList | ( | const Standard_Integer | ANbPriorities = 11 | ) | [inline] |
virtual OpenGl_PriorityList::~OpenGl_PriorityList | ( | ) | [inline, virtual] |
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 |
OpenGl_ArrayOfStructure OpenGl_PriorityList::myArray [protected] |
Standard_Integer OpenGl_PriorityList::myNbStructures [protected] |