Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkGPGPU.h>
Public Member Functions | |
Texture (mitk::GPGPU::TextureFormat format, int width, int height, int depth=0) | |
~Texture () | |
void | ActivateAsSource (int unit) |
void | ActivateAsDestination () |
void | Upload (mitk::GPGPU::TextureFormat inputformat, const void *src) |
void | Download (mitk::GPGPU::TextureFormat inputformat, void *dst) |
int | GetWidth () |
int | GetHeigth () |
int | GetDepth () |
Definition at line 51 of file mitkGPGPU.h.
mitk::GPGPU::Texture::Texture | ( | mitk::GPGPU::TextureFormat | format, |
int | width, | ||
int | height, | ||
int | depth = 0 |
||
) |
Definition at line 92 of file mitkGPGPU.cpp.
References convertTextureFormatToInternalFormatGL(), GPGPU_CHECKGLERR, and OPERATING_TEXTURE.
mitk::GPGPU::Texture::~Texture | ( | ) |
Definition at line 162 of file mitkGPGPU.cpp.
References GPGPU_CHECKGLERR.
void mitk::GPGPU::Texture::ActivateAsDestination | ( | ) |
Definition at line 183 of file mitkGPGPU.cpp.
References GPGPU_CHECKGLERR, and GPGPU_ERROR.
void mitk::GPGPU::Texture::ActivateAsSource | ( | int | unit | ) |
Definition at line 175 of file mitkGPGPU.cpp.
References GPGPU_CHECKGLERR.
void mitk::GPGPU::Texture::Download | ( | mitk::GPGPU::TextureFormat | inputformat, |
void * | dst | ||
) |
Definition at line 270 of file mitkGPGPU.cpp.
References convertTextureFormatToFormatGL(), convertTextureFormatToTypeGL(), GPGPU_CHECKGLERR, and OPERATING_TEXTURE.
int mitk::GPGPU::Texture::GetDepth | ( | ) |
Definition at line 87 of file mitkGPGPU.cpp.
int mitk::GPGPU::Texture::GetHeigth | ( | ) |
Definition at line 83 of file mitkGPGPU.cpp.
int mitk::GPGPU::Texture::GetWidth | ( | ) |
Definition at line 79 of file mitkGPGPU.cpp.
void mitk::GPGPU::Texture::Upload | ( | mitk::GPGPU::TextureFormat | inputformat, |
const void * | src | ||
) |
Definition at line 235 of file mitkGPGPU.cpp.
References convertTextureFormatToFormatGL(), convertTextureFormatToTypeGL(), GPGPU_CHECKGLERR, and OPERATING_TEXTURE.