public void SetTriangles(int numNeurons, TriangleOverlay[] triangles, Size triangleExtremes, PolygonOverlay[] polygons, Size polygonExtremes, Tuple<int, int, Rect[]> pixels) { _numNeurons = numNeurons; _triangles = triangles; _triangleExtremes = triangleExtremes; _polygons = polygons; _polygonExtremes = polygonExtremes; _pixels = pixels; ShowPixels(); ShowPolygons(); ShowTriangles(); ShowCircles(); }