<div dir="ltr">I don&#39;t really understand your problem, but you can have a look at<br><br><a href="http://www.cmake.org/Wiki/VTK/Examples/SimpleOperations/ProjectPointPlane">http://www.cmake.org/Wiki/VTK/Examples/SimpleOperations/ProjectPointPlane</a><br>
<br>and also, you can use camera settings to project the points in the scene at a given distance.Something like this<br><br>Renderer.GetActiveCamera().SetPosition([0,0,1000])<br> Renderer.GetActiveCamera().SetFocalPoint(0,0,0)<br>
 Renderer.GetActiveCamera().Pitch(90)<br><br><br>Jothy<br><br><div class="gmail_quote">On Tue, Aug 3, 2010 at 2:28 PM,  <span dir="ltr">&lt;<a href="mailto:Gainey_M@klinik.uni-wuerzburg.de">Gainey_M@klinik.uni-wuerzburg.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I have just got started with vtk, having tried out other geometry processing software tools. I wish to generate a 2d perspective projection from a 3d point cloud. The points are extracted from a DICOM RT Structure Set and represent anatomical structures comprising a plurality of closed polygons each polygon having a number of points (x,y,z, tuples). I need to determine a projection of the structures on an image plane. More specifically I would like to write a binary mask file at the image plane where a &quot;0&quot; indicates that the bixel is outside the particular structure, and &quot;1&quot; indicates that the bixel is inside the structure.<br>

<br>
I need to do this for 5-10 structures generating up to 180 projections (i.e. the camera/scene rotates in 2degree steps). Attached is an unprocessed file (no processing of points e.g. outlier removal/unoriented normal removal) has been performed. Furthermore the determination of the projection should be performed quickly (max 1 minute for all projections of all structures, worst case 1800)), since post processing of the binary masks is required by other software.<br>

<br>
Any assistance would be gratefully appreciated.<br>
<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>