Open CASCADE Technology  7.7.0
Public Types | Public Member Functions

OpenGl_LayerList::OpenGl_LayerStack Class Reference

Stack of references to existing layers of predefined maximum size. More...

#include <OpenGl_LayerList.hxx>

Public Types

typedef NCollection_Array1< const Graphic3d_Layer * >::iterator iterator
 

Public Member Functions

void Allocate (Standard_Integer theSize)
 Reallocate internal buffer of the stack. More...
 
void Clear ()
 Clear stack. More...
 
void Push (const OpenGl_Layer *theLayer)
 Push a new layer reference to the stack. More...
 
iterator Origin () const
 Returns iterator to the origin of the stack. More...
 
iterator Back () const
 Returns iterator to the back of the stack (after last item added). More...
 
Standard_Boolean IsEmpty () const
 Returns true if nothing has been pushed into the stack. More...
 

Detailed Description

Stack of references to existing layers of predefined maximum size.

Member Typedef Documentation

◆ iterator

Member Function Documentation

◆ Allocate()

void OpenGl_LayerList::OpenGl_LayerStack::Allocate ( Standard_Integer  theSize)
inline

Reallocate internal buffer of the stack.

◆ Back()

iterator OpenGl_LayerList::OpenGl_LayerStack::Back ( ) const
inline

Returns iterator to the back of the stack (after last item added).

◆ Clear()

void OpenGl_LayerList::OpenGl_LayerStack::Clear ( )
inline

Clear stack.

◆ IsEmpty()

Standard_Boolean OpenGl_LayerList::OpenGl_LayerStack::IsEmpty ( ) const
inline

Returns true if nothing has been pushed into the stack.

◆ Origin()

iterator OpenGl_LayerList::OpenGl_LayerStack::Origin ( ) const
inline

Returns iterator to the origin of the stack.

◆ Push()

void OpenGl_LayerList::OpenGl_LayerStack::Push ( const OpenGl_Layer theLayer)
inline

Push a new layer reference to the stack.


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