Initialization - set outdir and time of each recording
| 294 | } |
| 295 | // Initialization - set outdir and time of each recording |
| 296 | void Initialize(XnChar* strDirName, XnUInt32 nSeconds) |
| 297 | { |
| 298 | xnOSStrCopy(m_strDirName, strDirName, XN_FILE_MAX_PATH); |
| 299 | m_nBufferSize = nSeconds*30; |
| 300 | m_pFrames = XN_NEW_ARR(SingleFrame, m_nBufferSize); |
| 301 | } |
| 302 | // Save new data from OpenNI |
| 303 | void Update(const xn::DepthGenerator& depthGenerator, const xn::ImageGenerator& imageGenerator) |
| 304 | { |