121 if (x[
Nx-1]-x[0] > y[
Ny-1]-y[0])
131 points = vtkSmartPointer<vtkPoints>::New();
132 for (j = 0; j <
Ny; j++)
134 for (i = 0; i <
Nx; i++)
136 points->InsertNextPoint(x[i], y[j], 0);
141 colors = vtkSmartPointer<vtkDoubleArray>::New();
142 colors->SetNumberOfComponents(1);
143 colors->SetNumberOfTuples(Nx*Ny);
145 for (j = 0; j <
Ny; j++)
146 for (i = 0; i <
Nx; i++)
148 colors->InsertComponent(k, 0, 0);
vtkSmartPointer< vtkStructuredGrid > gridfunc
vtkSmartPointer< vtkPoints > points
vtkSmartPointer< vtkDoubleArray > colors
struct vtkfig::Surf2D::@3 state