OpenNI 1.5.4

#include <XnCppWrapper.h>

Public Member Functions

 Resolution (XnResolution res)
 
 Resolution (XnUInt32 xRes, XnUInt32 yRes)
 
 Resolution (const XnChar *strName)
 
XnResolution GetResolution () const
 
XnUInt32 GetXResolution () const
 
XnUInt32 GetYResolution () const
 
const XnChar * GetName () const
 

Detailed Description

A utility class for resolution info

Constructor & Destructor Documentation

xn::Resolution::Resolution ( XnResolution  res)
inline

Creates a Resolution object.

Parameters
[in]resResolution
xn::Resolution::Resolution ( XnUInt32  xRes,
XnUInt32  yRes 
)
inline

Creates a Resolution object out of X and Y resolutions.

Parameters
[in]xResX resolution
[in]yResY resolution
xn::Resolution::Resolution ( const XnChar *  strName)
inline

Creates a Resolution object out of its name

Parameters
[in]strNamename of the resolution

Member Function Documentation

const XnChar* xn::Resolution::GetName ( ) const
inline

Gets the name of the resolution

XnResolution xn::Resolution::GetResolution ( ) const
inline

Gets the resolution

XnUInt32 xn::Resolution::GetXResolution ( ) const
inline

Gets the X resolution

XnUInt32 xn::Resolution::GetYResolution ( ) const
inline

Gets the Y resolution


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