OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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< constGraphic3d_Layer * >::const_iterator const_iterator
    typedef NCollection_Array1< constGraphic3d_Layer * >::iterator iterator

    Public Member Functions

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

    Detailed Description

    Stack of references to existing layers of predefined maximum size.

    Member Typedef Documentation

    ◆ const_iterator

    typedef NCollection_Array1<constGraphic3d_Layer*>::const_iterator OpenGl_LayerList::OpenGl_LayerStack::const_iterator

    ◆ iterator

    typedef NCollection_Array1<constGraphic3d_Layer*>::iterator OpenGl_LayerList::OpenGl_LayerStack::iterator

    Member Function Documentation

    ◆ Allocate()

    void OpenGl_LayerList::OpenGl_LayerStack::Allocate ( int 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()

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

    Returns true if nothing has been pushed into the stack.

    ◆ Origin() [1/2]

    iterator OpenGl_LayerList::OpenGl_LayerStack::Origin ( )
    inline

    Returns iterator to the origin of the stack.

    ◆ Origin() [2/2]

    const_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: