HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
oidn.hpp File Reference
#include <algorithm>
#include "oidn.h"
+ Include dependency graph for oidn.hpp:

Go to the source code of this file.

Classes

class  BufferRef
 
class  FilterRef
 
class  DeviceRef
 

Typedefs

typedef bool(* ProgressMonitorFunction )(void *userPtr, double n)
 
typedef void(* ErrorFunction )(void *userPtr, Error code, const char *message)
 

Enumerations

enum  Format {
  Format::Undefined = OIDN_FORMAT_UNDEFINED, Format::Float = OIDN_FORMAT_FLOAT, Format::Float2 = OIDN_FORMAT_FLOAT2, Format::Float3 = OIDN_FORMAT_FLOAT3,
  Format::Float4 = OIDN_FORMAT_FLOAT4
}
 
enum  Access { Access::Read = OIDN_ACCESS_READ, Access::Write = OIDN_ACCESS_WRITE, Access::ReadWrite = OIDN_ACCESS_READ_WRITE, Access::WriteDiscard = OIDN_ACCESS_WRITE_DISCARD }
 
enum  DeviceType { DeviceType::Default = OIDN_DEVICE_TYPE_DEFAULT, DeviceType::CPU = OIDN_DEVICE_TYPE_CPU }
 
enum  Error {
  Error::None = OIDN_ERROR_NONE, Error::Unknown = OIDN_ERROR_UNKNOWN, Error::InvalidArgument = OIDN_ERROR_INVALID_ARGUMENT, Error::InvalidOperation = OIDN_ERROR_INVALID_OPERATION,
  Error::OutOfMemory = OIDN_ERROR_OUT_OF_MEMORY, Error::UnsupportedHardware = OIDN_ERROR_UNSUPPORTED_HARDWARE, Error::Cancelled = OIDN_ERROR_CANCELLED
}
 

Functions

DeviceRef newDevice (DeviceType type=DeviceType::Default)
 

Typedef Documentation

typedef void(* ErrorFunction)(void *userPtr, Error code, const char *message)

Definition at line 331 of file oidn.hpp.

typedef bool(* ProgressMonitorFunction)(void *userPtr, double n)

Definition at line 122 of file oidn.hpp.

Enumeration Type Documentation

enum Access
strong
Enumerator
Read 
Write 
ReadWrite 
WriteDiscard 

Definition at line 28 of file oidn.hpp.

enum DeviceType
strong
Enumerator
Default 
CPU 

Definition at line 311 of file oidn.hpp.

enum Error
strong
Enumerator
None 
Unknown 
InvalidArgument 
InvalidOperation 
OutOfMemory 
UnsupportedHardware 
Cancelled 

Definition at line 319 of file oidn.hpp.

enum Format
strong
Enumerator
Undefined 
Float 
Float2 
Float3 
Float4 

Definition at line 16 of file oidn.hpp.

Function Documentation

DeviceRef newDevice ( DeviceType  type = DeviceType::Default)
inline

Definition at line 476 of file oidn.hpp.