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

Multiple display lists and texture objects. More...

#include <anatomist/primitive/primitive.h>

Inheritance diagram for anatomist::Primitive:
Collaboration diagram for anatomist::Primitive:

Public Member Functions

 Primitive ()
 
virtual ~Primitive ()
 Primitive destructor makes the shatred context current. More...
 
const std::list< unsigned > & glLists () const
 
const std::list< unsigned > & textures () const
 
void insertList (unsigned)
 
void insertTexture (unsigned)
 
void deleteList (unsigned)
 
void deleteTexture (unsigned)
 
virtual void callList () const
 renders the display list More...
 
void clear ()
 
- 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 ()
 

Protected Attributes

std::list< unsigned > _gll
 
std::list< unsigned > _tex
 

Additional Inherited Members

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

Detailed Description

Multiple display lists and texture objects.

Definition at line 66 of file primitive.h.

Constructor & Destructor Documentation

◆ Primitive()

anatomist::Primitive::Primitive ( )

◆ ~Primitive()

virtual anatomist::Primitive::~Primitive ( )
virtual

Primitive destructor makes the shatred context current.

Member Function Documentation

◆ callList()

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

renders the display list

Implements anatomist::GLItem.

◆ clear()

void anatomist::Primitive::clear ( )

◆ deleteList()

void anatomist::Primitive::deleteList ( unsigned  )

◆ deleteTexture()

void anatomist::Primitive::deleteTexture ( unsigned  )

◆ glLists()

const std::list<unsigned>& anatomist::Primitive::glLists ( ) const

◆ insertList()

void anatomist::Primitive::insertList ( unsigned  )

◆ insertTexture()

void anatomist::Primitive::insertTexture ( unsigned  )

◆ textures()

const std::list<unsigned>& anatomist::Primitive::textures ( ) const

Member Data Documentation

◆ _gll

std::list<unsigned> anatomist::Primitive::_gll
protected

Definition at line 84 of file primitive.h.

◆ _tex

std::list<unsigned> anatomist::Primitive::_tex
protected

Definition at line 85 of file primitive.h.


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