[vtkusers] Topology problem in converting polydata to image

Bill Lorensen bill.lorensen at gmail.com
Mon Aug 19 10:24:35 EDT 2013


And what are the bounds of the polydata?



On Mon, Aug 19, 2013 at 10:22 AM, donyyo <donyyo at gmail.com> wrote:

> int imageDimension[3] = {500, 1792, 1};
> ...
> // Compute dimensions.
> imageData->SetDimensions(imageDimension);
> imageData->SetExtent(0, imageDimension[0]-1, 0, imageDimension[1]-1, 0,
> imageDimension[2]-1);
>
> Thank you!
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Topology-problem-in-converting-polydata-to-image-tp5722850p5722852.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130819/7b8e07b8/attachment.htm>


More information about the vtkusers mailing list