A system for generating three-dimensional representations of anatomy, the system comprising: a shaft (401, 701), the shaft having a proximal end and a distal end, wherein the distal end is adapted to be directed to a target surface; projection components for projecting electromagnetic radiation onto the target surface in a projected pattern, the projection components comprising an electromagnetic radiation emitter (403, 501, 702), a projection lens (412, 503, 712) located at the distal end of the shaft, and a grating positioned between the electromagnetic radiation emitter and the projection lens, wherein electromagnetic radiation that is emitted from the electromagnetic radiation emitter and that passes through the grating and the projection lens is projected in the projected pattern, whereby the projected pattern is projected onto and modulated by the target surface; imaging components comprising an image sensor (404, 504, 703) configured to capture image data corresponding to a plurality of successive images of electromagnetic radiation modulated by and reflected from the target surface, wherein successive images in the plurality of successive images differ from each other due to relative movement between the shaft and the target surface; an image processing module configured to receive the captured image data from the image sensor and to calculate a full-field, three-dimensional representation of the target surface for each image of the plurality of successive images using the captured image data and a spatial signal modulation algorithm, resulting in a plurality of successive full-field, three-dimensional representations of the target surface; and a display device configured to display the plurality of successive full-field, three-dimensional representations of the target surface. a shaft (401, 701), the shaft having a proximal end and a distal end, wherein the distal end is adapted to be directed to a target surface; projection components for projecting electromagnetic radiation onto the target surface in a projected pattern, the projection components comprising an electromagnetic radiation emitter (403, 501, 702), a projection lens (412, 503, 712) located at the distal end of the shaft, and a grating positioned between the electromagnetic radiation emitter and the projection lens, wherein electromagnetic radiation that is emitted from the electromagnetic radiation emitter and that passes through the grating and the projection lens is projected in the projected pattern, whereby the projected pattern is projected onto and modulated by the target surface; imaging components comprising an image sensor (404, 504, 703) configured to capture image data corresponding to a plurality of successive images of electromagnetic radiation modulated by and reflected from the target surface, wherein successive images in the plurality of successive images differ from each other due to relative movement between the shaft and the target surface; an image processing module configured to receive the captured image data from the image sensor and to calculate a full-field, three-dimensional representation of the target surface for each image of the plurality of successive images using the captured image data and a spatial signal modulation algorithm, resulting in a plurality of successive full-field, three-dimensional representations of the target surface; and a display device configured to display the plurality of successive full-field, three-dimensional representations of the target surface.