采用将矩形函数展开为有限个复高斯函数之和的方法,推导出了光场分布的解析表达式。
With the rectangular function expanded into a finite sum of complex Gaussian functions, an approximate analytical propagation equation of HChG beams is derived.
现在我们可以开始来查看样例代码了,它包含了前面介绍的初始化工作,以及处理单个像素、填充矩形和渲染文本的函数。
At this point you can take a look at the sample code which includes the initialization I described earlier, as well as functions to plot single pixels, draw filled rectangles, and render text.
注意:在此函数中,长为 chunkSize、宽为 chunkSize 的像素矩形是如何从恰当的帧复制到绘图表面的。
Notice how in this function a rectangle of chunkSize by chunkSize pixels is copied from the appropriate frame to the drawable surface.
应用推荐