for (int i = 0; i < element.getChildCount(); i++) {
Element child = (Element) element.getChild(i);
if (child.getLocalName().equals("SlicePlanes"))
this.setSlicePlanesY(new SlicePlanes(child));
if (child.getLocalName().equals("CrossSliceSelections"))
this.crossSliceSelections = new CrossSliceSelections(child,
this.getSlicePlanesY(), this);