Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GlDisplayListManager Class Reference

#include <GlDisplayListManager.h>

Collaboration diagram for tlp::GlDisplayListManager:

List of all members.


Detailed Description

Singleton used to manage OpenGl display list.

Singleton used to manage OpenGl display list. First createInst must be call.

Public Member Functions

Static Public Member Functions


Member Function Documentation

static GlDisplayListManager& tlp::GlDisplayListManager::getInst (  )  [inline, static]

Return the current instance. If instance doesn't exist, create it.

void tlp::GlDisplayListManager::changeContext ( unsigned long  context  ) 

Change OpenGl context because display list can't be shared in different context

bool tlp::GlDisplayListManager::beginNewDisplayList ( const std::string &  name  ) 

Begin to record a new display list with name : name

void tlp::GlDisplayListManager::endNewDisplayList (  ) 

End the current record of display list

bool tlp::GlDisplayListManager::callDisplayList ( const std::string &  name  ) 

Call display list with name : name



Tulip Software by LaBRI Visualization Team    2001 - 2008