VisionWorks Toolkit Reference

December 18, 2015 | 1.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvxio Namespace Reference

Detailed Description

Contains API for image reading and rendering.

Namespaces

 ranges
 Contains API for Range construction.
 

Data Structures

class  Application
 Application interface. More...
 
class  ConfigParser
 ConfigParser interface. More...
 
struct  ContextGuard
 ContextGuard is a wrapper for vx_context. More...
 
class  FrameSource
 FrameSource interface. More...
 
class  OptionHandler
 OptionHandler interface. More...
 
struct  Range
 Range class. More...
 
class  Render
 Render interface. More...
 
class  Render3D
 Render3D interface. More...
 
class  ThreadSafeQueue
 Thread-Safe Queue class. More...
 

Functions

void checkIfContextIsValid (vx_context context)
 Checks whether the context is valid and throws an exception in case of failure. More...
 
std::unique_ptr< ConfigParsercreateConfigParser ()
 Factory for ConfigParser class. More...
 
std::unique_ptr< FrameSourcecreateDefaultFrameSource (vx_context context, const std::string &uri)
 FrameSource interface factory that provides appropriate implementation by source URI. More...
 
std::unique_ptr< RendercreateDefaultRender (vx_context context, const std::string &title, vx_uint32 width, vx_uint32 height, vx_uint32 format=VX_DF_IMAGE_RGBX)
 Render factory that creates UI render with a window by default. More...
 
std::unique_ptr< Render3DcreateDefaultRender3D (vx_context context, int xPos, int yPos, const std::string &title, vx_uint32 width, vx_uint32 height)
 Creates Render3D. More...
 
std::unique_ptr< RendercreateImageRender (vx_context context, const std::string &path, vx_uint32 width, vx_uint32 height, vx_uint32 format=VX_DF_IMAGE_RGBX)
 Creates a render for image sequence. More...
 
std::unique_ptr< RendercreateVideoRender (vx_context context, const std::string &path, vx_uint32 width, vx_uint32 height, vx_uint32 format=VX_DF_IMAGE_RGBX)
 Creates a render for writing video. More...
 
std::unique_ptr< RendercreateWindowRender (vx_context context, const std::string &title, vx_uint32 width, vx_uint32 height, vx_uint32 format=VX_DF_IMAGE_RGBX)
 Creates a Window render. More...
 
template<typename T , vx_size N>
vx_size dimOf (T(&)[N])
 Returns the size of an array (the N template argument). More...
 
vx_image loadImageFromFile (vx_context context, const std::string &fileName, vx_df_image format=VX_DF_IMAGE_RGB)
 Loads image from file into OpenVX Image object. More...
 
template<typename T , typename... Args>
std::unique_ptr< T > makeUP (Args &&...args)
 make_unique function. More...
 
template<typename T >
Range< T > operator& (const Range< T > &r1, const Range< T > &r2)
 Calculates intersection of the two ranges. More...
 
void VX_CALLBACK stdoutLogCallback (vx_context context, vx_reference ref, vx_status status, const vx_char string[])
 The callback for OpenVX error logs, which prints messages to standard output. More...
 

Variables

const vx_float64 PI = 3.1415926535897932
 Double-precision PI. More...
 
const vx_float32 PI_F = 3.14159265f
 Float-precision PI. More...
 
const unsigned int TIMEOUT_INFINITE = 0xFFFFFFFF
 A maximum timeout. More...