Eyeshot 点云-修改Z轴上的比例

Eyeshot 点云-修改Z轴上的比例,eyeshot,Eyeshot,我正在使用点云。我希望在Z方向显示具有因子比例的点云。然后增加默认值。 我在我的实体上测试了转换“规模”,但它似乎不起作用: PointCloud c = new PointCloud(pts.Count,1, PointCloud.natureType.Multicolor); c.Vertices = pts.ToArray(); c.DrawingStyle = PointCloud.drawingStyleType.Points; c.Scale(new Point3D(

我正在使用点云。我希望在Z方向显示具有因子比例的点云。然后增加默认值。 我在我的实体上测试了转换“规模”,但它似乎不起作用:

  PointCloud c = new PointCloud(pts.Count,1, PointCloud.natureType.Multicolor);
  c.Vertices = pts.ToArray();
  c.DrawingStyle = PointCloud.drawingStyleType.Points;
  c.Scale(new Point3D(0, 0, 0), 1, 1, 10); // Z => x10

  viewportLayout1.Entities.Add(c);
谢谢你的帮助

你只是不见了

viewportLayout1.Invalidate();
最后。因此,您正在缩放它,它只是没有在屏幕上渲染它。“无效”将强制它重新绘制点云

当我有疑问的时候,我通常会在我的改变后把这两个都扔掉。不需要时一定要把它们拿出来,因为它们是昂贵的电话:

        viewportLayout1.Entities.Regen();
        viewportLayout1.Invalidate();