Fill in basic OpenNI2 codes into OpenniCamera.