HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
oidn::FilterRef Class Reference

#include <oidn.hpp>

Public Member Functions

 FilterRef ()
 
 FilterRef (OIDNFilter handle)
 
 FilterRef (const FilterRef &other)
 
 FilterRef (FilterRef &&other)
 
FilterRefoperator= (const FilterRef &other)
 
FilterRefoperator= (FilterRef &&other)
 
FilterRefoperator= (OIDNFilter other)
 
 ~FilterRef ()
 
OIDNFilter getHandle () const
 
 operator bool () const
 
void setImage (const char *name, const BufferRef &buffer, Format format, size_t width, size_t height, size_t byteOffset=0, size_t bytePixelStride=0, size_t byteRowStride=0)
 
void setImage (const char *name, void *ptr, Format format, size_t width, size_t height, size_t byteOffset=0, size_t bytePixelStride=0, size_t byteRowStride=0)
 
void set (const char *name, bool value)
 
void set (const char *name, int value)
 
void set (const char *name, float value)
 
template<typename T >
get (const char *name)
 
void setProgressMonitorFunction (ProgressMonitorFunction func, void *userPtr=nullptr)
 
void commit ()
 
void execute ()
 
template<>
bool get (const char *name)
 
template<>
int get (const char *name)
 
template<>
float get (const char *name)
 

Detailed Description

Definition at line 138 of file oidn.hpp.

Constructor & Destructor Documentation

oidn::FilterRef::FilterRef ( )
inline

Definition at line 144 of file oidn.hpp.

oidn::FilterRef::FilterRef ( OIDNFilter  handle)
inline

Definition at line 145 of file oidn.hpp.

oidn::FilterRef::FilterRef ( const FilterRef other)
inline

Definition at line 147 of file oidn.hpp.

oidn::FilterRef::FilterRef ( FilterRef &&  other)
inline

Definition at line 153 of file oidn.hpp.

oidn::FilterRef::~FilterRef ( )
inline

Definition at line 187 of file oidn.hpp.

Member Function Documentation

void oidn::FilterRef::commit ( )
inline

Definition at line 260 of file oidn.hpp.

void oidn::FilterRef::execute ( )
inline

Definition at line 266 of file oidn.hpp.

template<typename T >
T oidn::FilterRef::get ( const char *  name)
template<>
bool oidn::FilterRef::get ( const char *  name)
inline

Definition at line 274 of file oidn.hpp.

template<>
int oidn::FilterRef::get ( const char *  name)
inline

Definition at line 281 of file oidn.hpp.

template<>
float oidn::FilterRef::get ( const char *  name)
inline

Definition at line 288 of file oidn.hpp.

OIDNFilter oidn::FilterRef::getHandle ( ) const
inline

Definition at line 193 of file oidn.hpp.

oidn::FilterRef::operator bool ( ) const
inline

Definition at line 198 of file oidn.hpp.

FilterRef& oidn::FilterRef::operator= ( const FilterRef other)
inline

Definition at line 158 of file oidn.hpp.

FilterRef& oidn::FilterRef::operator= ( FilterRef &&  other)
inline

Definition at line 171 of file oidn.hpp.

FilterRef& oidn::FilterRef::operator= ( OIDNFilter  other)
inline

Definition at line 177 of file oidn.hpp.

void oidn::FilterRef::set ( const char *  name,
bool  value 
)
inline

Definition at line 232 of file oidn.hpp.

void oidn::FilterRef::set ( const char *  name,
int  value 
)
inline

Definition at line 238 of file oidn.hpp.

void oidn::FilterRef::set ( const char *  name,
float  value 
)
inline

Definition at line 244 of file oidn.hpp.

void oidn::FilterRef::setImage ( const char *  name,
const BufferRef buffer,
Format  format,
size_t  width,
size_t  height,
size_t  byteOffset = 0,
size_t  bytePixelStride = 0,
size_t  byteRowStride = 0 
)
inline

Definition at line 204 of file oidn.hpp.

void oidn::FilterRef::setImage ( const char *  name,
void ptr,
Format  format,
size_t  width,
size_t  height,
size_t  byteOffset = 0,
size_t  bytePixelStride = 0,
size_t  byteRowStride = 0 
)
inline

Definition at line 218 of file oidn.hpp.

void oidn::FilterRef::setProgressMonitorFunction ( ProgressMonitorFunction  func,
void userPtr = nullptr 
)
inline

Definition at line 254 of file oidn.hpp.


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