#include <mitkOclImageFormats.h>
Definition at line 40 of file mitkOclImageFormats.h.
◆ OclImageFormats()
mitk::OclImageFormats::OclImageFormats |
( |
| ) |
|
|
protected |
◆ ~OclImageFormats()
virtual mitk::OclImageFormats::~OclImageFormats |
( |
| ) |
|
|
protectedvirtual |
◆ Clone()
Pointer mitk::OclImageFormats::Clone |
( |
| ) |
const |
◆ CollectAvailableFormats()
void mitk::OclImageFormats::CollectAvailableFormats |
( |
| ) |
|
|
protected |
Get and store all available infos.
- Exceptions
-
◆ GetNearestSupported()
bool mitk::OclImageFormats::GetNearestSupported |
( |
cl_image_format * |
inputformat, |
|
|
cl_image_format * |
outputformat |
|
) |
| |
Finds one supported image format similar to the given format.
In case the input format is supported, the output format will contain the same value.
- Parameters
-
inputformat | The (unsupported) image format |
outputformat | A supported image format |
- Returns
- True if a supported format was changed.
◆ IsFormatSupported()
bool mitk::OclImageFormats::IsFormatSupported |
( |
cl_image_format * |
format | ) |
|
Checks if format supported.
- Parameters
-
format | The image format to be checked for support. |
- Returns
- True if the parameter is supported.
◆ mitkClassMacroItkParent()
mitk::OclImageFormats::mitkClassMacroItkParent |
( |
OclImageFormats |
, |
|
|
itk::LightObject |
|
|
) |
| |
◆ New()
static Pointer mitk::OclImageFormats::New |
( |
| ) |
|
|
static |
◆ SetGPUContext()
void mitk::OclImageFormats::SetGPUContext |
( |
cl_context |
context | ) |
|
SetGPUContext Set the GPU context. Must be called before using this class!
- Parameters
-
context | GPU context in cl format. |
The documentation for this class was generated from the following file: