本文介绍了寻找 3D 绘图组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种能够基于 3 维点绘制 3 维图像的组件.

I'm looking a component that is able to draw 3-dimensional images based on 3-dimensional points.

示例(参见 3D 绘图):http://www.wolframalpha.com/input/?i=abs%28x%29+%2B+abs%28y%29

Example (See 3D Plot): http://www.wolframalpha.com/input/?i=abs%28x%29+%2B+abs%28y%29

在我的应用程序中,我有包含 x、y 和 z 轴坐标的点.我正在寻找这样的用法:

In my application I have points containing the coordinates for the x-,y-, and the z-axis.I'm looking for a usage like this:

PlotComponent.Points.Add(x,y,z);

定义视角的可能性也很好.有没有可用的开源组件?(不能是商业授权,因为项目是学生项目)

The possibility to define the view angle would be nice as well.Is there any open source component available? (Can't be a commercial license, because the project is a student project)

Winforms 应用程序

Winforms Application

推荐答案

我们最终使用了 ILNumerics.Net:http://ilnumerics.net/

We ended up using ILNumerics.Net: http://ilnumerics.net/

它能够绘制漂亮的 3D 绘图,但旋转/缩放功能有问题,可能会导致重绘有问题.

It has the ability to draw nice 3D-Plots, but the rotating / zoom function is buggy and might result in a buggy redraw.

在 3D-Component 的内部代码中,在 ~10-20 重绘之后,处理/重用导致 NullReferenceException 的控件也存在问题.(我们最终通过 try/catch 等丑陋的试错方法修复"了这个问题)

There is also a problem with disposing / reusing the control that results in NullReferenceException in the internal code of the 3D-Component, after ~10-20 redraws. (We ended up "fixing" this, by an ugly trial and error approach with try / catch and so on)

我在这里发布了一些完成项目的图片:http://www.tomot.de/projekte/c-sharp-funktionsplotter顶部的第二个画廊是使用 ILNumerics.Net 制作的 3D 绘图

I posted some pictures of the finished project here: http://www.tomot.de/projekte/c-sharp-funktionsplotterThe second gallery from the top are 3D-plots made using ILNumerics.Net

2012 年 1 月编辑:开发人员决定商业化:http://ilnumerics.net/forum/index.php?p=/discussion/226/ilnumerics-goes-commercial-

Edit Jan 2012: The developers decided to go commercial: http://ilnumerics.net/forum/index.php?p=/discussion/226/ilnumerics-goes-commercial-

这篇关于寻找 3D 绘图组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 16:31