|
Open CASCADE Technology
6.7.1
|
#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. More... | |
| Standard_Integer | NbStructures () const |
| void | Render (const Handle< OpenGl_Workspace > &AWorkspace) const |
| Standard_Integer | NbPriorities () const |
| Returns the number of available priority levels. More... | |
| 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. More... | |
| const OpenGl_ArrayOfStructure & | ArrayOfStructures () const |
| Returns array of OpenGL structures. More... | |
Protected Attributes | |
| OpenGl_ArrayOfStructure | myArray |
| Standard_Integer | myNbStructures |
|
inline |
|
inlinevirtual |
| void OpenGl_PriorityList::Add | ( | const OpenGl_Structure * | AStructure, |
| const Standard_Integer | APriority | ||
| ) |
| Standard_Boolean OpenGl_PriorityList::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.
|
inline |
Returns array of OpenGL structures.
| Standard_Integer OpenGl_PriorityList::NbPriorities | ( | ) | const |
Returns the number of available priority levels.
|
inline |
| Standard_Integer OpenGl_PriorityList::Remove | ( | const OpenGl_Structure * | AStructure | ) |
Remove structure and returns its priority, if the structure is not found, method returns negative value.
| void OpenGl_PriorityList::Render | ( | const Handle< OpenGl_Workspace > & | AWorkspace | ) | const |
|
protected |
|
protected |
1.8.5