Device for optically scanning and measuring an environment, where the device is a laser scanner having a light emitter which, by a rotary mirror, emits an emission light beam, with a light receiver which receives a reception light beam, which, after passing the rotary mirror and a receiver lens which has an optical axis, is reflected from an object in the environment of the laser scanner. The laser scanner also includes a color camera arranged on the optical axis of the receiver lens and which takes colored pictures of the environment of the laser scanner and further a system of a dichroic beam splitter and an energy detector for detecting thermal energy, ultraviolet radiation, millimeter-wave radiation, or X-ray radiation. The device further comprises a control and evaluation unit which, for a multitude of measuring points, determines the distance to the object and links it with the colored pictures and the data sensed by the energy detector.