How to set up an illustration rendering mode (HLR)

Illustration mode / Hidden Line Rendering mode in HOOPS Visualize:

:blue_book: Instructions

	//white background, black edges
	GetCanvas().GetFrontView().GetSegmentKey().GetMaterialMappingControl().SetWindowColor(RGBAColor::White());
	GetCanvas().GetFrontView().GetSegmentKey().GetMaterialMappingControl().SetEdgeColor(RGBAColor::Black());
	GetCanvas().GetFrontView().GetSegmentKey().GetAttributeLockControl().SetLock(AttributeLock::Type::Material);

	//HLR rendering
	GetCanvas().GetFrontView().SetRenderingMode(Rendering::Mode::FastHiddenLine);
	GetCanvas().GetFrontView().GetSegmentKey().GetVisibilityControl().SetEdges(false).SetPerimeterEdges(true);
	GetCanvas().GetWindowKey().GetPostProcessEffectsControl().SetSilhouetteEdges(true, 1, false);

	//set to true or false, depends on your preference:
	GetCanvas().GetFrontView().GetSegmentKey().GetVisualEffectsControl().SetSilhouetteEdgesEnabled(true);