[vtkusers] 3D slicing

Jothybasu Selvaraj jothybasu at gmail.com
Mon Aug 20 04:36:46 EDT 2012


I don not know whether it is possible to save the vtkCutter output as image.

But, you could use vtkWindowToImageFilter to save the displayed "cut" image.

Jothy

On Sun, Aug 19, 2012 at 5:31 PM, Hadi Aminzadeh <hadi60 at gmail.com> wrote:

> Hello
> I am a newbie in vtk and have a stl file and want to slice it.
> I use vtkSTLReader and vtkCutter to cutte it (plane z=1) but I can't write
> it to image file (png format). How can I do that? and How can I set the
> density of out put image (DPI)?
> if vtkSTLReader convert my stl file to a 3 dimension matrix, I think it's
> faster and simpler to work with matrix to get my layer isn't it?
>
> Regards
> Aminzadeh
>
>
> _______________________________________________
> 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
>
>


-- 
Jothybasu Selvaraj
PhD Student
University of Liverpool
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120820/f358f875/attachment.htm>


More information about the vtkusers mailing list