public void update() { removeAllChildren(); setPickable(true); // currentSelection = new HashSet(); allEdgeShapes = new ArrayList<Shape3D>(); grid = new float[3][]; grid[0] = new float[provider.getXGridCount()]; grid[1] = new float[provider.getYGridCount()]; grid[2] = new float[provider.getZGridCount()]; for (int i = 0; i < grid[0].length; i++) { grid[0][i] = (float) provider.getXGrid(i); } for (int i = 0; i < grid[1].length; i++) { grid[1][i] = (float) provider.getYGrid(i); } for (int i = 0; i < grid[2].length; i++) { grid[2][i] = (float) provider.getZGrid(i); } makeGroups(); makeWires(); }