Hi Mathieu
thank you for answer to me
but I have a Big 3DList of point and by this way take alot!!! of time
vtkPoints points = new();
for (int z = 0; z <ZSize; z++)
{
for (int y = 0; y < YSize; y++)
{
for (int x = 0; x <XSize; x++)
{
if (IsInside(P[z][y][x]))
{
points.InsertNextPoint(x, y, z);
}
}
}
}
}
vtkPolyData polydata = new();
polydata.SetPoints(points);
vtkDelaunay3D delaunay = new();
delaunay.SetInputData(polydata);
//delaunay.SetTolerance(.00001);
//delaunay.SetAlpha(100000);
delaunay.Update();
vtkDataSetMapper mapper = new();
mapper.SetInputConnection(delaunay.GetOutputPort());
vtkActor actor = new();
actor.SetMapper(mapper);
renderer.AddActor(actor );
and when run is not work in true way
like this
the problem in this photo : Some points (at the outer edges of the shape) are connected, which we don’t want to happen
like this
I want make a shape with point , which I had set in vtkPoints ( and don’t want to draw line between points automatically )
and I want make faster
thank you a lot for helping