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

#include <anatomist/primitive/primitive.h>

Inheritance diagram for anatomist::GLTexture:
Collaboration diagram for anatomist::GLTexture:

Public Member Functions

 GLTexture (unsigned gltex=0)
 
virtual ~GLTexture ()
 GLTexture destructor makes the shatred context current. More...
 
unsigned item () const
 
virtual void generate ()
 generates a new texture name. 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 111 of file primitive.h.

Constructor & Destructor Documentation

◆ GLTexture()

anatomist::GLTexture::GLTexture ( unsigned  gltex = 0)
inline

Definition at line 114 of file primitive.h.

◆ ~GLTexture()

virtual anatomist::GLTexture::~GLTexture ( )
virtual

GLTexture destructor makes the shatred context current.

Member Function Documentation

◆ callList()

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

renders the display list

Implements anatomist::GLItem.

◆ generate()

virtual void anatomist::GLTexture::generate ( )
virtual

generates a new texture name.

Must be called when a valid OpenGL context is bound

◆ item()

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

Definition at line 118 of file primitive.h.


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