Optical waveguides may be connected to such a structure by being brought to the periphery of the cell containing the material and means, for example a laser, may be used to effect the change in state of the material along a line joining a point on the periphery of the cell where the guide selected as the input waveguide meets it to another point on the periphery of the cell where the waveguide sel