The ophthalmologist is often able to measure intraocular pressure in the office or clinic; however, an examination under anesthesia in an operating room is necessary to obtain measurements of corneal thickness, axial length of the eyeball, and refractive error.