Manipulable wave-vector filtering in a d-doped magnetic-barrier nanostructure