def loadXMLGenericData(filename):  # not tested
    """Read any type of vtk data object encoded in XML format. Return an ``Actor(vtkActor)`` object."""
    reader = vtk.vtkXMLGenericDataObjectReader()
    reader.SetFileName(filename)
    reader.Update()
    return Actor(reader.GetOutput())