[vtkusers] Projection of vtkPolyData

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Wed May 12 05:55:06 EDT 2004


Have a look at some of the tcl examples in graphics. There are some that use
vtkPolyDataMapper2D to achieve similar results to what you want.

JB

----- Original Message ----- 
From: "Petru Pau" <ppau at risc.uni-linz.ac.at>
To: <vtkusers at vtk.org>
Sent: Wednesday, May 12, 2004 10:39 AM
Subject: [vtkusers] Projection of vtkPolyData


> Hi all,
>
> I am a beginner to VTK, and I started using this package because
> it felt like the right tool to get things done. Seemingly though it is
> not so easy...
>
> A similar question has been asked before, but I did not see any
> satisfactory answer.
>
> I have a vtkPolyData which contains a triangular mesh of the surface
> of some 3D object.
>
> I need a vtkPolyData which contains the projection of a part of the
> initial one on a given plane. More exactly, I need only the part of the
> surface that is "visible" from the plane to be projected.The projection
> should be parallel.
>
> Basically, something similar is performed when a wireframe representation
> of the vtkPolyData is rendered. In this case, VTK shows the hidden lines.
> There are, therefore, two problems: how can I prevent showing the hidden
> lines,
> and, if this is solved, how can I grab the geometry of the displayed
> object and make a vtkPolyData out of it.
>
> Any help, hint, or pointer to documentation is highly appreciated.
>
> Best wishes,
> Petru
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list