FemViewer::GLCore Class Reference

#include <fv_txt_utls.h>

Collaboration diagram for FemViewer::GLCore:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ~GLCore ()
GLuint createBuffer (const void *data, unsigned int dataSize, GLenum target, GLenum usage)
bool initGLLists (const GLsizei size)
void renderGLList (const GLuint type)
void deleteGLLists (const GLuint listID, const GLsizei size)
void deleteBuffers (GLuint *buffer, const GLsizei size)
void startGLList (GLuint type)
void endGLList ()
bool getInfo (unsigned int param=0)
void printSelf ()
bool isExtensionSupported (const std::string &ext)
template<typename TVertex >
GLuint createGLText (const TVertex *buffer, const GLsizei stride, const GLuint num, const GLfloat color[3], const GLuint type, const GLboolean drawAll=GL_TRUE)
template<>
GLuint createGLText (const BaseVertex *buffer, const GLsizei stride, const GLuint num, const GLfloat color[3], const GLuint type, const GLboolean drawAll)

Static Public Member Functions

static GLboolean init (int argc, char *argv[])
static GLCoreinstance ()

Constructor & Destructor Documentation

FemViewer::GLCore::~GLCore (  ) 

Here is the call graph for this function:


Member Function Documentation

GLuint FemViewer::GLCore::createBuffer ( const void data,
unsigned int  dataSize,
GLenum  target,
GLenum  usage 
)
template<>
GLuint FemViewer::GLCore::createGLText ( const BaseVertex buffer,
const GLsizei  stride,
const GLuint  num,
const GLfloat  color[3],
const GLuint  type,
const GLboolean  drawAll 
) [inline]
template<typename TVertex >
GLuint FemViewer::GLCore::createGLText ( const TVertex *  buffer,
const GLsizei  stride,
const GLuint  num,
const GLfloat  color[3],
const GLuint  type,
const GLboolean  drawAll = GL_TRUE 
) [inline]

Here is the caller graph for this function:

void FemViewer::GLCore::deleteBuffers ( GLuint *  buffer,
const GLsizei  size 
)

Here is the caller graph for this function:

void FemViewer::GLCore::deleteGLLists ( const GLuint  listID,
const GLsizei  size 
)

Here is the caller graph for this function:

void FemViewer::GLCore::endGLList (  ) 
bool FemViewer::GLCore::getInfo ( unsigned int  param = 0  ) 
GLboolean FemViewer::GLCore::init ( int  argc,
char *  argv[] 
) [static]
bool FemViewer::GLCore::initGLLists ( const GLsizei  size  ) 

Here is the call graph for this function:

GLCore & FemViewer::GLCore::instance ( void   )  [static]

Here is the caller graph for this function:

bool FemViewer::GLCore::isExtensionSupported ( const std::string &  ext  ) 
void FemViewer::GLCore::printSelf (  ) 
void FemViewer::GLCore::renderGLList ( const GLuint  type  ) 

Here is the caller graph for this function:

void FemViewer::GLCore::startGLList ( GLuint  type  ) 

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1