MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / SetPixelFormat

Method SetPixelFormat

Include/XnCppWrapper.h:5081–5084  ·  view source on GitHub ↗

* @brief Sets the ImageGenerator node's current 'pixel color' format. * This format is used for generating the next frame. * * @param [in] Format The format to set. * * Remarks * * As an example of a pixel color format, the RGB24 image format has one byte for * red, one byte for green, and one byte for blue. * * When reading the generated data you must use the

Source from the content-addressed store, hash-verified

5079 * by calling @ref xn::ImageGenerator::IsPixelFormatSupported().
5080 */
5081 inline XnStatus SetPixelFormat(XnPixelFormat Format)
5082 {
5083 return xnSetPixelFormat(GetHandle(), Format);
5084 }
5085
5086 /**
5087 * @brief Gets the current pixel color format. This is the format set

Callers 2

SetMediaTypeMethod · 0.45

Calls 2

xnSetPixelFormatFunction · 0.85
GetHandleFunction · 0.85

Tested by

no test coverage detected