Add tests for `vtk_points`
See original GitHub issuepyvista.vtk_points
doesn’t have unit tests. #3311 adds some tests, but there is more functionality to test more fully, including force_float
.
I noticed that
vtk_points
doesn’t have any direct tests. I added relevant tests for the functionality being tested here for my own sanity. I can open an issue to fully flesh out the tests.
_Originally posted by @MatthewFlamm in https://github.com/pyvista/pyvista/issues/3311#issuecomment-1248276490_
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top Results From Across the Web
vtkPoints Class Reference - VTK
Copy the points indexed in srcIds from the source array to the tuple locations indexed by dstIds in this array. More... void, InsertPoints...
Read more >Python Examples of vtk.vtkPoints - ProgramCreek.com
This page shows Python examples of vtk.vtkPoints.
Read more >Plugin for PyTest to easily test VTK objects - GitHub
Support for testing vtk objects such as: vtkDoubleArray; vtkFloatArray; vtkIntArray; vtkIdTypeArray; vtkLongArray; vtkShortArray; vtkUnsignedCharArray ...
Read more >How to fasten VTK addPoint Loop (Python) - Stack Overflow
For the first Loop @Mathieu Westphal gave me a nice solution: vtkpoints = vtk.vtkPoints() vtkpoints.SetData(numpy_to_vtk(self.points)) ...
Read more >[vtkusers] "trade" vtkPoints between actors - Kitware
Im trying to pass vtkPoints, or just the coordinates of a point, ... remove it from my outer structure > and add it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
I would like to take a shot at it for the Hacktober fest.
My bad ! I misread the content of #3311 and mixed things up.
I’ll cleanup my current request to match the scope of this issue and see what I can do for PointSet.I’ll create a new one for this issue and update #3395 wording.