Potential abilities of active optical elements based onliquid crystals are investigated. We consider liquid crystal cells in whicha desired distribution of the liquid crystal director is achieved by a non-uniform electric field and by inhomogeneous boundary conditions. Theoptical elements built on principles of diffractive optics are discussed.