Namespaces | |
| namespace | test_vtk |
Variables | |
| test_vtk.actual_points_size = len(points.tolist()) | |
| test_vtk.actual_polys_size = len(polys.tolist()) | |
| int | test_vtk.expected_points_size = 962 |
| int | test_vtk.expected_polys_size = 1920 |
| test_vtk.msh = camitk.newMeshComponentFromNumpy("Sphere from VTK", points, polys) | |
| test_vtk.msh_points_size = len(msh.getPointSetAsNumpy()) | |
| test_vtk.points = numpy_support.vtk_to_numpy(polydata.GetPoints().GetData()) | |
| test_vtk.polydata = sphere.GetOutput() | |
| test_vtk.polys = numpy_support.vtk_to_numpy(polydata.GetPolys().GetData()).reshape(-1, 4) | |
| test_vtk.sphere = vtk.vtkSphereSource() | |