Structural modeling from depth images