private System.IAsyncResult OnBeginPerfomance(object[] inValues, System.AsyncCallback callback, object asyncState) { RayTracer.Scene scene = ((RayTracer.Scene)(inValues[0])); System.Drawing.Rectangle viewport = ((System.Drawing.Rectangle)(inValues[1])); RayTracer.RayTracer raytracer = ((RayTracer.RayTracer)(inValues[2])); int step = ((int)(inValues[3])); int number = ((int)(inValues[4])); return(this.BeginPerfomance(scene, viewport, raytracer, step, number, callback, asyncState)); }
private System.IAsyncResult OnBeginRayTraceRows(object[] inValues, System.AsyncCallback callback, object asyncState) { RayTracer.Scene scene = ((RayTracer.Scene)(inValues[0])); System.Drawing.Rectangle viewport = ((System.Drawing.Rectangle)(inValues[1])); int startRow = ((int)(inValues[2])); int numberOfRowsToTrace = ((int)(inValues[3])); RayTracer.RayTracer raytracer = ((RayTracer.RayTracer)(inValues[4])); int numberOfRange = ((int)(inValues[5])); return(this.BeginRayTraceRows(scene, viewport, startRow, numberOfRowsToTrace, raytracer, numberOfRange, callback, asyncState)); }
public void PerfomanceAsync(RayTracer.Scene scene, System.Drawing.Rectangle viewport, RayTracer.RayTracer raytracer, int step, int number, object userState) { if ((this.onBeginPerfomanceDelegate == null)) { this.onBeginPerfomanceDelegate = new BeginOperationDelegate(this.OnBeginPerfomance); } if ((this.onEndPerfomanceDelegate == null)) { this.onEndPerfomanceDelegate = new EndOperationDelegate(this.OnEndPerfomance); } if ((this.onPerfomanceCompletedDelegate == null)) { this.onPerfomanceCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPerfomanceCompleted); } base.InvokeAsync(this.onBeginPerfomanceDelegate, new object[] { scene, viewport, raytracer, step, number }, this.onEndPerfomanceDelegate, this.onPerfomanceCompletedDelegate, userState); }
public void RayTraceRowsAsync(RayTracer.Scene scene, System.Drawing.Rectangle viewport, int startRow, int numberOfRowsToTrace, RayTracer.RayTracer raytracer, int numberOfRange, object userState) { if ((this.onBeginRayTraceRowsDelegate == null)) { this.onBeginRayTraceRowsDelegate = new BeginOperationDelegate(this.OnBeginRayTraceRows); } if ((this.onEndRayTraceRowsDelegate == null)) { this.onEndRayTraceRowsDelegate = new EndOperationDelegate(this.OnEndRayTraceRows); } if ((this.onRayTraceRowsCompletedDelegate == null)) { this.onRayTraceRowsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRayTraceRowsCompleted); } base.InvokeAsync(this.onBeginRayTraceRowsDelegate, new object[] { scene, viewport, startRow, numberOfRowsToTrace, raytracer, numberOfRange }, this.onEndRayTraceRowsDelegate, this.onRayTraceRowsCompletedDelegate, userState); }
public void RayTraceRowsAsync(RayTracer.Scene scene, System.Drawing.Rectangle viewport, int startRow, int numberOfRowsToTrace, RayTracer.RayTracer raytracer, int numberOfRange) { this.RayTraceRowsAsync(scene, viewport, startRow, numberOfRowsToTrace, raytracer, numberOfRange, null); }
public System.IAsyncResult BeginRayTraceRows(RayTracer.Scene scene, System.Drawing.Rectangle viewport, int startRow, int numberOfRowsToTrace, RayTracer.RayTracer raytracer, int numberOfRange, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginRayTraceRows(scene, viewport, startRow, numberOfRowsToTrace, raytracer, numberOfRange, callback, asyncState)); }
public System.Tuple <System.Drawing.Bitmap, int, RayTracer.RayTracer, int, System.DateTime> RayTraceRows(RayTracer.Scene scene, System.Drawing.Rectangle viewport, int startRow, int numberOfRowsToTrace, RayTracer.RayTracer raytracer, int numberOfRange) { return(base.Channel.RayTraceRows(scene, viewport, startRow, numberOfRowsToTrace, raytracer, numberOfRange)); }
public void PerfomanceAsync(RayTracer.Scene scene, System.Drawing.Rectangle viewport, RayTracer.RayTracer raytracer, int step, int number) { this.PerfomanceAsync(scene, viewport, raytracer, step, number, null); }
public System.IAsyncResult BeginPerfomance(RayTracer.Scene scene, System.Drawing.Rectangle viewport, RayTracer.RayTracer raytracer, int step, int number, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginPerfomance(scene, viewport, raytracer, step, number, callback, asyncState)); }
public System.Tuple <double, int> Perfomance(RayTracer.Scene scene, System.Drawing.Rectangle viewport, RayTracer.RayTracer raytracer, int step, int number) { return(base.Channel.Perfomance(scene, viewport, raytracer, step, number)); }