Python/vtk - Set Each Point Size Individually In A VtkPolyData Object?
I am using the following code to populate a point cloud: How to display point cloud in vtk in different colors? The points are the long, lat and depth of the quakes in New Zealand
Solution 1:
Ah, i figured it out.
I just needed to have the constructor for pointCloud = VtkPointCloud()
inside the for loop that steps through the points, and then renderer.AddActor(pointCloud.vtkActor)
inside that loop step.
Post a Comment for "Python/vtk - Set Each Point Size Individually In A VtkPolyData Object?"