grid = rgb_to_vtk(np.ascontiguousarray(rgb))
texture = vtk.vtkTexture()
texture.SetInputDataObject(grid)
if interp:
texture.InterpolateOn()
actor_obj.SetTexture(texture)
I did this converted rgb image to vtk image data -> Created a texture with it and set it to the actor which removes the original texture and sets the new texture. Is there a way to update the old texture?
Thanks for help.