Added functionality to visualize linear objects by creating models in the 3D viewer.