Nonlinear Optical Materials for the Smart Filtering of Optical Radiation.