[vtkusers] UsingGetResolveCoincidentTopologyPolygonOffsetParameters etc

John Platt jcplatt at dsl.pipex.com
Fri May 8 18:35:01 EDT 2009


Hi,

vtkMapper::SetResolveCoincidentTopologyToPolygonOffset();

works fine for my FE meshes with the default offset parameters. Note it is a 
static method.

John.

----- Original Message ----- 
From: "Andrew Cunningham" <andrewc at mac.com>
To: <vtkusers at vtk.org>
Sent: Friday, May 08, 2009 8:01 PM
Subject: [vtkusers] UsingGetResolveCoincidentTopologyPolygonOffsetParameters 
etc


> Hi,
> I am drawing a Finite Element mesh object where one wishes to display the 
> wireframe mesh 'on top of ' the shaded mesh. Typically one does this in 
> OpenGL by drawing the mesh twice - once filled and once as wireframe, 
> using glPolygonOffset to make sure the mesh is visible.
> VTK has the  functionality with the various Set/GetCoincidentTopologyxxx 
> calls. But no examples and nothing on the mailing list as far as I can 
> tell. Anyone have a code snippet? Or do I need another lesson in 
> searching...
>
> Cheers,
> Andrew
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 





More information about the vtkusers mailing list