[vtkusers] problem visualizing simple grid

Denis Barbier bouzim at gmail.com
Fri Nov 14 16:57:23 EST 2008


On 2008/11/13 Marcel Schiffel wrote:
> Hi,
>
> this one is probably pretty trivial: as a first test I'm trying to
> visualize a really simple grid, but keep getting an empty render
> window. What am I doing wrong?
[...]

You must add
   sgrid->SetDimensions(2,2,1);
to let vtkStructuredGrid know how points are organized in your grid.

Denis



More information about the vtkusers mailing list