C# 如何将圆(vtkActor)转换为点云数据vtkPoint

C# 如何将圆(vtkActor)转换为点云数据vtkPoint,c#,vtk,point-clouds,C#,Vtk,Point Clouds,我目前是VTK新手,我正在尝试生成一个点云数据圈,以添加到扫描模型(也是点云)中。我有中心点,法向量和半径。但我只需要一种生成圆的方法 我只研究过如何生成一个正常的圆。但是查看VTK文档,我找不到任何与将vtkActor转换为点云相关的内容,只有相反的方法。(如点云到曲面等) 目前,这将生成一个显示在屏幕上的圆。此行: actor.GetMapper().GetInput().GetPoints() 返回一个vtkPoints对象 // Creating a new circle Variabl

我目前是VTK新手,我正在尝试生成一个点云数据圈,以添加到扫描模型(也是点云)中。我有中心点,法向量和半径。但我只需要一种生成圆的方法

我只研究过如何生成一个正常的圆。但是查看VTK文档,我找不到任何与将vtkActor转换为点云相关的内容,只有相反的方法。(如点云到曲面等)

目前,这将生成一个显示在屏幕上的圆。

此行:

actor.GetMapper().GetInput().GetPoints()

返回一个
vtkPoints
对象

// Creating a new circle Variables (these are declared in the class)
private Point3D centrePoint;
private UnitVector3D centreAxis;
private double radius;
Circle3D alignmentCircle; 

// In another function centrePoint, centreAxis, and radius are set

// Creating a new Circle in another function
alignmentCircle = new Circle3D(centrePoint, centreAxis, radius);                     scanEndPointCircleActor.GetMapper().SetInputConnection(VtkElements.CreateCircle(alignmentCircle));

// I'm looking to try and convert the circle to a set of point cloud data around here. 

renderWindow.Render();