A method of visualizing a body cavity during a surgical procedure including positioning an elongated body of an angled endoscope in a first position within a body cavity of a patient, rotating the elongated body about a longitudinal axis in response to a command point, capturing a plurality of images with an image capture device positioned within the elongated body as the elongated body is rotated, and generating a panoramic view of the body cavity from the plurality of images. In the first position of the elongated body, a surgical site is within a field of view of the image capture device. The field of view of the image capture device capturing a first volume of the body cavity, including the surgical site, when the angled endoscope is in the first position.