[vtkusers] offset problem

David.Pont at scionresearch.com David.Pont at scionresearch.com
Sun Apr 26 17:10:40 EDT 2009


Gawain,
 if you just want straight offset as per your plane example vtkTransform
could do it.
But if the original surface was a hemisphere do you expect a larger
hemisphere at a constant distance - 'like' vtkImplicitModeller? If so I
think the latter is as good as it gets, but it will offset from both sides
of the surface. Maybe there is a way with normals: generate normals for the
offset surface, then remove all cells facing 'backwards' ? (dot product)?
But for complex surfaces this could make holes in the 'front' surface too?

  regards, Dave

gawain_dev at sina.com wrote on 24/04/2009 15:30:37:

> Hi all,
>
>     Is there any easy way to offset an isosurface using vtk?
>
>     I tried vtkImplicitModeller+vtkContourFilter, but it isn't what
> I want. I need the result surface be a one-side offset surface
> without thickness. For example, another plane should be obtained
> after a plane is offset, while vtkImplicitModeller+vtkContourFilter
> gives a box containing the original plane.
>
>     Thanks,
>
>     Gawain_______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090427/56514a44/attachment.htm>


More information about the vtkusers mailing list