A monitoring system for on-line control of selective laser melting door