Defines | Functions | Variables

mitkGPGPU.cpp File Reference

#include <QApplication>
#include <QWidget>
#include "mitkGPGPU.h"
#include <iostream>

Go to the source code of this file.

Defines

#define GPGPU_INFO   MITK_INFO("mitk.gpgpu")
#define GPGPU_ERROR   MITK_ERROR("mitk.gpgpu")
#define GPGPU_CHECKGLERR   MITK_ERROR(glGetError()!=GL_NO_ERROR)("mitk.gpgpu") << "GL ERROR @ "
#define OPERATING_TEXTURE   GL_TEXTURE15

Functions

static GLint convertTextureFormatToInternalFormatGL (mitk::GPGPU::TextureFormat format)
static GLint convertTextureFormatToFormatGL (mitk::GPGPU::TextureFormat format)
static GLint convertTextureFormatToTypeGL (mitk::GPGPU::TextureFormat format)

Variables

static char stubVertexShader [] = "void main() { gl_Position = vec4( 2*gl_Vertex.xy-1,0,1 ); }\n"

Define Documentation

#define GPGPU_CHECKGLERR   MITK_ERROR(glGetError()!=GL_NO_ERROR)("mitk.gpgpu") << "GL ERROR @ "
#define GPGPU_ERROR   MITK_ERROR("mitk.gpgpu")
#define GPGPU_INFO   MITK_INFO("mitk.gpgpu")

Definition at line 24 of file mitkGPGPU.cpp.

Referenced by mitk::GPGPU::GPGPU().

#define OPERATING_TEXTURE   GL_TEXTURE15

Function Documentation

static GLint convertTextureFormatToFormatGL ( mitk::GPGPU::TextureFormat  format ) [static]
static GLint convertTextureFormatToInternalFormatGL ( mitk::GPGPU::TextureFormat  format ) [static]
static GLint convertTextureFormatToTypeGL ( mitk::GPGPU::TextureFormat  format ) [static]

Variable Documentation

char stubVertexShader[] = "void main() { gl_Position = vec4( 2*gl_Vertex.xy-1,0,1 ); }\n" [static]

Definition at line 231 of file mitkGPGPU.cpp.

Referenced by mitk::GPGPU::Shader::Shader().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines