VtkImplicitFunction SetTransform not working

Hi everyone,

I am having an issue with the transform of the VtkImplicitFunction.
I have the following code work:
baseTransform is a defined vtkTransform

vtkSmartPointer<vtkSphere> sphere = vtkSmartPointer<vtkSphere>::New();
double* newCenter;
newCenter = baseTransform->TransformDoubleVector(0.0, 0.0, 0.0);
sphere->SetCenter(newCenter);
sphere->SetRadius(2.0);

And the following is not working properly:

vtkSmartPointer<vtkSphere> sphere = vtkSmartPointer<vtkSphere>::New();
sphere->SetCenter(0.0, 0.0, 0.0);
sphere->SetRadius(2.0);
sphere->SetTransform(baseTransform);

Anyone knows what I am missing?
Thank you!

Found the solution!
We need to add Inverse to the transform