Interaction of spin waves with magnetic textures