C# 将三维数据可视化到wpf
我有一个C# 将三维数据可视化到wpf,c#,wpf,visualization,C#,Wpf,Visualization,我有一个double Points[x,3]数组,其中包含人体点云的x,y,z坐标,我想可视化数据 我正在使用使用System.Windows.Media.Media3D但我无法将double转换为Windows.Media.Media3D.Point3D 如何可视化数据?您可以尝试使用Linq: IEnumerable<Point3D> points = Enumerable.Range(0, array.Length(0)) .Select(
double Points[x,3]数组
,其中包含人体点云的x,y,z坐标
,我想可视化数据
我正在使用使用System.Windows.Media.Media3D代码>但我无法将double
转换为Windows.Media.Media3D.Point3D
如何可视化数据?您可以尝试使用Linq:
IEnumerable<Point3D> points =
Enumerable.Range(0, array.Length(0))
.Select(i => new Point3D(array[i,0],
array[i,1],
array[i,2]));
IEnumerable points=
可枚举.范围(0,数组.长度(0))
.选择(i=>newpoint3d(数组[i,0],
数组[i,1],
数组[i,2]);
您需要提供您尝试过的内容的代码,否则您将收到否决票而不是帮助。您所说的可视化是什么意思?