sfop.setType(ScalarFieldOp.Type.valueOf(el.getElementsByTagName("Type").item(0).getTextContent()));
NodeList opList = el.getElementsByTagName("Operation");
for (int j = 0; j < opList.getLength(); j++) {
Element opEl = (Element) opList.item(j);
Operation op = new Operation(Operation.Type.SMOOTH);
String type = opEl.getElementsByTagName("OpType").item(0).getTextContent();
op.setType(Operation.Type.valueOf(type));
String param = opEl.getElementsByTagName("OpParam").item(0).getTextContent();
op.setParameter(Float.parseFloat(param));
sfop.addOperation(op);
}
ops.add(sfop);
}