[vtkusers] Q: What is the best way to render/display the geometry of a structured grid as a wireframe-object?
Randy Heiland
heiland at ncsa.uiuc.edu
Fri Jul 14 09:53:46 EDT 2000
On Jul 13, 8:01pm, Mirco Mueller wrote:
> Subject: [vtkusers] Q: What is the best way to render/display the geometry
> Greetings vtk-gurus!
>
> Well, the subject almost says it all. Sofar I tried this:
>
> vtkStructuredGridReader -> vtkStructuredGridGeometryFilter ->
> vtkPolyDataMapper -> vtkActor
>
> but this did not result in the desired output.
>
> Is there any way to render a structured grids geometry besides building
> it "by hand"?
actor->GetProperty()->SetRepresentationToWireframe()
and maybe:
GetProperty()->SetAmbient(1.0)
SetDiffuse(0.0)
--Randy
More information about the vtkusers
mailing list