Linear RGB-D SLAM for Structured Environments