24 public void DrawGraph(Graphs3D.Canvas3D Canvas, Vector4[,] Points, Vector4[,] Normals,
25 object[] Parameters, Vector4[,] PrevPoints, Vector4[,] PrevNormals,
28 int i, c = Points.GetLength(0);
29 int j, d = Points.GetLength(1);
35 float OrigoY = (float)v[0];
37 for (i = 0; i < c; i++)
39 i0 = i == 0 ? i : i - 1;
41 for (j = 0; j < d; j++)
43 j0 = j == 0 ? j : j - 1;
45 P1 = Graphs3D.Canvas3D.ToVector3(Points[i0, j0]);
46 P2 = Graphs3D.Canvas3D.ToVector3(Points[i0 + 1, j0 + 1]);
51 P1 = Graphs3D.Canvas3D.ToVector3(Points[i, j]);
55 Canvas.Box(P1.X - dx, OrigoY, P1.Z - dz, P1.X + dx, P1.Y, P1.Z + dz, Shader);
Contains information about the current drawing area.
double[,] ScaleY(IMatrix Matrix)
Scales a matrix with y-coordinates to fit a given volume.
Plots a three-dimensional vertical bars chart.
void DrawGraph(Graphs3D.Canvas3D Canvas, Vector4[,] Points, Vector4[,] Normals, object[] Parameters, Vector4[,] PrevPoints, Vector4[,] PrevNormals, object[] PrevParameters, DrawingVolume DrawingVolume)
Draws the graph on a canvas.
Handles three-dimensional graphs.
static I3DShader ToShader(object Argument)
Gets a shader object from an argument.
Painters for single-color graphs
Interface for 3D shaders.
Interface for 3D graph drawing functions.