anatomist  5.1.2
3D neuroimaging data viewer
anatomist::GLList Class Reference

#include <anatomist/primitive/primitive.h>

Inheritance diagram for anatomist::GLList:
Collaboration diagram for anatomist::GLList:

Public Member Functions

 GLList (unsigned gllist=0)
 
virtual ~GLList ()
 GLList destructor makes the shatred context current. More...
 
unsigned item () const
 
virtual void generate ()
 generates a new display list. More...
 
virtual void callList () const
 renders the display list More...
 
- Public Member Functions inherited from anatomist::GLItem
 GLItem ()
 
virtual ~GLItem ()
 
virtual bool ghost () const
 ghost lists are not selectable and not rendered in Z buffers for selection More...
 
virtual void setGhost (bool)
 
- Public Member Functions inherited from carto::RCObject
 RCObject ()
 
 RCObject (const RCObject &)
 
RCObjectoperator= (const RCObject &)
 
virtual ~RCObject ()
 

Additional Inherited Members

- Public Types inherited from carto::RCObject
typedef int RefCounterType
 

Detailed Description

Definition at line 92 of file primitive.h.

Constructor & Destructor Documentation

◆ GLList()

anatomist::GLList::GLList ( unsigned  gllist = 0)
inline

Definition at line 95 of file primitive.h.

◆ ~GLList()

virtual anatomist::GLList::~GLList ( )
virtual

GLList destructor makes the shatred context current.

Member Function Documentation

◆ callList()

virtual void anatomist::GLList::callList ( ) const
virtual

renders the display list

Implements anatomist::GLItem.

◆ generate()

virtual void anatomist::GLList::generate ( )
virtual

generates a new display list.

Must be called when a valid OpenGL context is bound

◆ item()

unsigned anatomist::GLList::item ( ) const
inline

Definition at line 99 of file primitive.h.


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