OpenNI 1.0.0

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.

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

Creates a Resolution object out of X and Y resolutions.

Parameters:
xRes[in] X resolution
yRes[in] Y resolution
xn::Resolution::Resolution ( const XnChar *  strName) [inline]

Creates a Resolution object out of its name

Parameters:
strName[in] name 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: