anatomist  5.1.2
3D neuroimaging data viewer
anatomist::GLItem Class Referenceabstract

OpenGL item (display list, texture, ...) with reference counter and cleanup upon destruction. More...

#include <anatomist/primitive/primitive.h>

Inheritance diagram for anatomist::GLItem:
Collaboration diagram for anatomist::GLItem:

Public Member Functions

 GLItem ()
 
virtual ~GLItem ()
 
virtual void callList () const =0
 renders the display list More...
 
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

OpenGL item (display list, texture, ...) with reference counter and cleanup upon destruction.

Definition at line 47 of file primitive.h.

Constructor & Destructor Documentation

◆ GLItem()

anatomist::GLItem::GLItem ( )
inline

Definition at line 50 of file primitive.h.

◆ ~GLItem()

virtual anatomist::GLItem::~GLItem ( )
virtual

Member Function Documentation

◆ callList()

virtual void anatomist::GLItem::callList ( ) const
pure virtual

◆ ghost()

virtual bool anatomist::GLItem::ghost ( ) const
virtual

ghost lists are not selectable and not rendered in Z buffers for selection

◆ setGhost()

virtual void anatomist::GLItem::setGhost ( bool  )
virtual

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