[vtkusers] vtkCutter Inner/Outter Contours

Karthik Krishnan karthik.krishnan at kitware.com
Wed May 26 06:10:50 EDT 2010


Pass the output of the cutter through a vtkPolyDatConnectivity filter.
You'll then need to look at the orientation of the normals of each connected
component. The outer faces of the cut surface are going to be oriented in
another direction.


On Wed, May 26, 2010 at 1:40 PM, Nicolas Sarrasin <
nsarrasin at phenix-systems.com> wrote:

>  Hi all,
>
> I recently posted a message here :
> http://www.vtk.org/pipermail/vtkusers/2010-May/109274.html but didn't
> received any answers.
> I guess I wasn't clear, here comes a simplification :
>
> I use vtkCutter to get planar slices from a stl file. From the result (
> vtkCutter->GetOutput() ) I get, I would like to know the orientation of the
> several contours I obtained (eg which are outter and which are inner).
>
> As previously, as preview of my problem :
> http://img514.imageshack.us/img514/6747/orientationcontours.png
>
> Thanks by advance for helping me.
>
> Nicolas
>  --
> ------------------------------
>   [image: Logo Phenix Systems] <http://www.phenix-systems.com> Nicolas
> Sarrasin - Ingénieur Developpement 3D CFAO
> Phenix systems <http://www.phenix-systems.com>
>  Parc Européen d'Entreprises
> rue Richard Wagner - 63200 Riom FRANCE
> tel : +33 (0)4 73 33 45 85 | fax : +33 (0)4 73 33 45 86  Pensez
> environnement !
> N'imprimez ce mail que si c'est vraiment nécessaire
>
> _______________________________________________
> 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/20100526/f0de2589/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2985 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100526/f0de2589/attachment.gif>


More information about the vtkusers mailing list