Sample implementation of Viewpoint Cursor.