private void CaptureFrame()
{
var frame = this.depthFrameFactory.Create(dataSourceFactory.GetDepthGenerator().DataPtr);
if (this.NewFrameCaptured != null)
{
this.NewFrameCaptured(frame);
}
}