A system and method for diagnosing and treating glaucoma is presented. The system imparts pressure on the anterior chamber of a eye using a coupling mechanism, while capturing three-dimensional imagery of the eye using optical coherence tomography angiography. Applying pressure in various areas of the eye, imparts changes that can help detect parts of the eye, or diagnose certain disorders related to the drainage of aqueous humor. A controller coupled to the optical coherence tomography angiography scanner may be used to guide a laser for excision of the trabecular meshwork for enhancing aqueous humor drainage thus lowering intraocular pressure and preventing glaucoma.