question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add tests for `vtk_points`

See original GitHub issue

pyvista.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:closed
  • Created a year ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sgaistcommented, Sep 29, 2022

Hi,

I would like to take a shot at it for the Hacktober fest.

0reactions
sgaistcommented, Oct 1, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found