public void RenderCompass(double[] screenPosSize, double[] mapRotation) { Util.CheckArray(screenPosSize, 3); Util.CheckArray(mapRotation, 3); RendererInterop.vtsRendererRenderCompas(Handle, screenPosSize, mapRotation); Util.CheckError(); }
public double[] GetWorldPosition(double[] screenPos) { Util.CheckArray(screenPos, 2); double[] res = new double[3]; RendererInterop.vtsRendererGetWorldPosition(Handle, screenPos, res); Util.CheckError(); return(res); }
public void BindLoadFunctions(Map map) { RendererInterop.vtsRendererBindLoadFunctions(Handle, map.Handle); Util.CheckError(); }
public void Render(Map map) { RendererInterop.vtsRendererRender(Handle, map.Handle); Util.CheckError(); }
public Renderer() { Handle = RendererInterop.vtsRendererCreate(); Util.CheckError(); }
public void Deinitialize() { RendererInterop.vtsRendererFinalize(Handle); Util.CheckError(); }
public void Dispose() { RendererInterop.vtsRendererDestroy(Handle); Util.CheckError(); }
public static void LoadGlFunctions(RendererInterop.GLADloadproc proc) { RendererInterop.vtsLoadGlFunctions(proc); Util.CheckError(); }
public void Dispose() { RendererInterop.vtsRenderViewDestroy(Handle); Util.CheckInterop(); }
public void Render() { RendererInterop.vtsRenderViewRender(Handle); Util.CheckInterop(); }
public RenderView(RenderContext ctx, Camera camera) { Handle = RendererInterop.vtsRenderContextCreateView(ctx.Handle, camera.Handle); Util.CheckInterop(); }
public void BindLoadFunctions(Map map) { RendererInterop.vtsRenderContextBindLoadFunctions(Handle, map.Handle); Util.CheckInterop(); }
public RenderContext() { Handle = RendererInterop.vtsRenderContextCreate(); Util.CheckInterop(); }