public VisualizerCore(
     string name,
     FillTypeMapper mapper,
     DecompilerBase <PrintVertex> decompiler,
     IToolpathPreviewMesher <PrintVertex> mesher)
     : base(name, mapper, decompiler, mesher)
 {
     decompiler.OnToolpathComplete += ProcessToolpath;
     decompiler.OnNewLayer         += RaiseNewLayer;
 }
 public VisualizerBase(
     string name,
     FillTypeMapper fillTypeMapper,
     DecompilerBase <TPrintVertex> decompiler,
     IToolpathPreviewMesher <TPrintVertex> mesher)
 {
     Name = name;
     this.fillTypeMapper = fillTypeMapper;
     this.decompiler     = decompiler;
     this.mesher         = mesher;
 }