Custom Transformation Matrix in Paraview

Dear All,
I am dealing with medical data and I have to apply some custom 4x4 matrix transformation to the data (point Data as well as mesh) in paraview. Unfortunately, there is no built-in filter in paraview which can take our 4x4 matrix. I have found the following code snippet but could not merge it with inputs and connect to outputs in the plugin code.

>>> from paraview.simple import *
>>> from paraview import servermanager
>>> t = servermanager.CreateProxy("transforms", "Transform")
>>> tp = servermanager._getPyProxy(t)
>>> tp.Matrix=[1,0,0, 10,0,1,0,10, 0, 0, 1, 10, 0 ,0, 0, 1]
>>> a = Transform()
>>> a.Transform = tp

How can I apply the above transformation to an input input0 = vtk.vtkDataSet.GetData(inInfo[0]) and subsequently assign the output to the output port? Any hints?

Thanks, Reshma