In HOOPS Demo Viewer, faces, edges and lines visibility is set in addition to HPS::Rendering::Mode
.
Tessellated Mode
GetCanvas().GetAttachedLayout().GetAttachedView().SetRenderingMode(HPS::Rendering::Mode::Flat);
HPS::VisibilityKit visibility;
visibility.SetEdges(true).SetFaces(true).SetHardEdges(true).SetPerimeterEdges(true);
GetCanvas().GetFrontView().GetSegmentKey().SetVisibility(visibility);
Wireframe Mode
GetCanvas().GetAttachedLayout().GetAttachedView().SetRenderingMode(HPS::Rendering::Mode::Wireframe);
HPS::VisibilityKit visibility;
visibility.SetEdges(false).SetFaces(false).SetHardEdges(true).SetPerimeterEdges(true);
GetCanvas().GetFrontView().GetSegmentKey().SetVisibility(visibility);