[vtkusers] Q: What is the best way to render/display the geometry of a structured grid as a wireframe-object?

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Mon Jul 17 03:53:11 EDT 2000


hi,

On Thu, 13 Jul 2000, Mirco Mueller wrote:

> Well, the subject almost says it all. Sofar I tried this:
> 
>         vtkStructuredGridReader -> vtkStructuredGridGeometryFilter ->
>         vtkPolyDataMapper -> vtkActor
> 
> but this did not result in the desired output.

in python you do:

reader = vtkStructuredGridReader ()
# setup the reader ...

map = vtkDataSetMapper ()
map.SetInput (reader.GetOutput ())
map.ScalarVisibilityOff ()

# create actor and connect the mapper etc.

HTH.

prabhu





More information about the vtkusers mailing list