OpenNI 1.5.4: xn::Resolution Class Reference


xn::Resolution Class Reference

#include <XnCppWrapper.h>

List of all members.

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.

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

Creates a Resolution object out of X and Y resolutions.

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

Creates a Resolution object out of its name

[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:
Generated on Wed May 16 2012 10:16:07 for OpenNI 1.5.4 by   doxygen