I’m attempting to make a vtkPlanes object with the following Java code:
vtkPlanes planes = new vtkPlanes(); planes.SetPoints(planePoints); planes.SetNormals(planeNormals);
planePoints is a
vtkPoints object and
planeNormals is a
vtkDataArray. When I call
planes.GetNumberOfPlanes(), it always returns 0. What am I missing? Is there something I need to do to make it forms the planes? As usual the documentation is less than informative. Thanks for any information you can provide.