-1
我有一個double Points[x,3] array
,它包含人類點雲的x,y,z coordinates
,我想要可視化數據。將3D數據可視化爲wpf
我使用using System.Windows.Media.Media3D;
但我無法將double
轉換爲Windows.Media.Media3D.Point3D
。
如何可視化數據?
我有一個double Points[x,3] array
,它包含人類點雲的x,y,z coordinates
,我想要可視化數據。將3D數據可視化爲wpf
我使用using 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]));
你需要提供什麼你都試過,否則你會收到downvotes,而不是幫助 –
你是什麼意思的可視化代碼? – Nic