VAPOR3 3.9.4
Namespaces | Macros | Functions
glutil.h File Reference
#include <vapor/GLInclude.h>
#include <cmath>
#include <vector>
#include <string>
#include <vapor/common.h>
#include <signal.h>

Go to the source code of this file.

Namespaces

namespace  VAPoR
 

Macros

#define CallocType(type, i)   (type *)calloc(i, sizeof(type))
 
#define YMAXSTEREO   491
 
#define YOFFSET   532
 
#define M_PI   3.14159265358979323846
 
#define CheckGLError()   __CheckGLError(__FILE__, __LINE__)
 
#define CheckGLErrorMsg(msg)   __CheckGLError(__FILE__, __LINE__, msg)
 
#define GL_LEGACY(x)   x
 
#define GL_ERR_BREAK()    if (CheckGLError()) ::raise(SIGTERM)
 

Functions

RENDER_API int VAPoR::__CheckGLError (const char *file, int line, const char *msg=0)
 
RENDER_API bool VAPoR::oglStatusOK (std::vector< int > &status)
 
RENDER_API void VAPoR::doubleToString (const double val, std::string &result, int digits)
 
RENDER_API std::string VAPoR::oglGetErrMsg (std::vector< int > status)
 
RENDER_API int VAPoR::oglGetFreeMemory ()
 
RENDER_API bool VAPoR::FrameBufferReady ()
 

Macro Definition Documentation

◆ CallocType

#define CallocType (   type,
 
)    (type *)calloc(i, sizeof(type))

Definition at line 71 of file glutil.h.

◆ CheckGLError

#define CheckGLError ( )    __CheckGLError(__FILE__, __LINE__)

Definition at line 112 of file glutil.h.

◆ CheckGLErrorMsg

#define CheckGLErrorMsg (   msg)    __CheckGLError(__FILE__, __LINE__, msg)

Definition at line 113 of file glutil.h.

◆ GL_ERR_BREAK

#define GL_ERR_BREAK ( )     if (CheckGLError()) ::raise(SIGTERM)

Definition at line 124 of file glutil.h.

◆ GL_LEGACY

#define GL_LEGACY (   x)    x

Definition at line 121 of file glutil.h.

◆ M_PI

#define M_PI   3.14159265358979323846

Definition at line 76 of file glutil.h.

◆ YMAXSTEREO

#define YMAXSTEREO   491

Definition at line 73 of file glutil.h.

◆ YOFFSET

#define YOFFSET   532

Definition at line 74 of file glutil.h.