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

#include <oidn.hpp>

Public Member Functions

 FilterRef ()
 
 FilterRef (OIDNFilter handle)
 
 FilterRef (const FilterRef &other)
 
 FilterRef (FilterRef &&other) noexcept
 
FilterRefoperator= (const FilterRef &other)
 
FilterRefoperator= (FilterRef &&other) noexcept
 
FilterRefoperator= (OIDNFilter other)
 
 ~FilterRef ()
 
OIDNFilter getHandle () const
 
 operator bool () const
 
void release ()
 
void setImage (const char *name, const BufferRef &buffer, Format format, size_t width, size_t height, size_t byteOffset=0, size_t pixelByteStride=0, size_t rowByteStride=0)
 
void setImage (const char *name, void *devPtr, Format format, size_t width, size_t height, size_t byteOffset=0, size_t pixelByteStride=0, size_t rowByteStride=0)
 
void unsetImage (const char *name)
 
void removeImage (const char *name)
 
void setData (const char *name, void *hostPtr, size_t byteSize)
 
void updateData (const char *name)
 
void unsetData (const char *name)
 
void removeData (const char *name)
 
void set (const char *name, bool value)
 
void set (const char *name, int value)
 
void set (const char *name, Quality value)
 
void set (const char *name, float value)
 
template<typename T >
T get (const char *name) const
 
void setProgressMonitorFunction (ProgressMonitorFunction func, void *userPtr=nullptr)
 
void commit ()
 
void execute ()
 
void executeAsync ()
 
template<>
bool get (const char *name) const
 
template<>
int get (const char *name) const
 
template<>
Quality get (const char *name) const
 
template<>
float get (const char *name) const
 

Detailed Description

Definition at line 334 of file oidn.hpp.

Constructor & Destructor Documentation

FilterRef::FilterRef ( )
inline

Definition at line 337 of file oidn.hpp.

FilterRef::FilterRef ( OIDNFilter  handle)
inline

Definition at line 338 of file oidn.hpp.

FilterRef::FilterRef ( const FilterRef other)
inline

Definition at line 340 of file oidn.hpp.

FilterRef::FilterRef ( FilterRef &&  other)
inlinenoexcept

Definition at line 346 of file oidn.hpp.

FilterRef::~FilterRef ( )
inline

Definition at line 380 of file oidn.hpp.

Member Function Documentation

void FilterRef::commit ( )
inline

Definition at line 504 of file oidn.hpp.

void FilterRef::execute ( )
inline

Definition at line 510 of file oidn.hpp.

void FilterRef::executeAsync ( )
inline

Definition at line 516 of file oidn.hpp.

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

Definition at line 537 of file oidn.hpp.

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

Definition at line 543 of file oidn.hpp.

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

Definition at line 549 of file oidn.hpp.

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

Definition at line 555 of file oidn.hpp.

OIDNFilter FilterRef::getHandle ( ) const
inline

Definition at line 386 of file oidn.hpp.

FilterRef::operator bool ( ) const
inline

Definition at line 391 of file oidn.hpp.

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

Definition at line 351 of file oidn.hpp.

FilterRef& FilterRef::operator= ( FilterRef &&  other)
inlinenoexcept

Definition at line 364 of file oidn.hpp.

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

Definition at line 370 of file oidn.hpp.

void FilterRef::release ( )
inline

Definition at line 397 of file oidn.hpp.

void FilterRef::removeData ( const char *  name)
inline

Definition at line 465 of file oidn.hpp.

void FilterRef::removeImage ( const char *  name)
inline

Definition at line 441 of file oidn.hpp.

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

Definition at line 471 of file oidn.hpp.

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

Definition at line 477 of file oidn.hpp.

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

Definition at line 482 of file oidn.hpp.

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

Definition at line 488 of file oidn.hpp.

void FilterRef::setData ( const char *  name,
void hostPtr,
size_t  byteSize 
)
inline

Definition at line 447 of file oidn.hpp.

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

Definition at line 407 of file oidn.hpp.

void FilterRef::setImage ( const char *  name,
void devPtr,
Format  format,
size_t  width,
size_t  height,
size_t  byteOffset = 0,
size_t  pixelByteStride = 0,
size_t  rowByteStride = 0 
)
inline

Definition at line 421 of file oidn.hpp.

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

Definition at line 498 of file oidn.hpp.

void FilterRef::unsetData ( const char *  name)
inline

Definition at line 459 of file oidn.hpp.

void FilterRef::unsetImage ( const char *  name)
inline

Definition at line 435 of file oidn.hpp.

void FilterRef::updateData ( const char *  name)
inline

Definition at line 453 of file oidn.hpp.


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