Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::GPGPU::Texture Class Reference

#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 ()
 

Detailed Description

Definition at line 51 of file mitkGPGPU.h.

Constructor & Destructor Documentation

mitk::GPGPU::Texture::Texture ( mitk::GPGPU::TextureFormat  format,
int  width,
int  height,
int  depth = 0 
)
mitk::GPGPU::Texture::~Texture ( )

Definition at line 162 of file mitkGPGPU.cpp.

References GPGPU_CHECKGLERR.

Member Function Documentation

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 
)
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 
)

The documentation for this class was generated from the following files: