[vtkusers] Problems about export STL file

An Jiye an_jiye at hotmail.com
Tue Mar 9 19:35:23 EST 2004


----- Original Message ----- 
From: "Mathieu Malaterre" <mathieu.malaterre at kitware.com>
To: "An Jiye" <an_jiye at hotmail.com>
Cc: <vtkusers at vtk.org>
Sent: Tuesday, March 09, 2004 11:33 PM
Subject: Re: [vtkusers] Problems about export STL file


> What is the input of the vtkMarchingCubes, does it comes from a file ?
> Are you sure you are reading properly, could this be a big/little endian
> problem ?
>
> How did you try on the other computer did you recompile everything or
> did you just copy the executable ? Are you sure you did static lib ?
>
> HTH
> Mathieu
>
>

The input of vtkMarchingCubes is a vtkImageData object. I create this data
object from a series of DICOM files, assigning 0 - 255 to different regions.

On one hand, I use the pipeline
vtkImageData->vtkMarchingCubes->vtkSmoothPolyDataFilter->vtkPolyDataNormals-
>vtkStripper->vtkPolyDataMapper->vtkActor and the data can be rendered
properly. After that I add the output of multiple vtkMarchingCubes by
vtkAppendPolyData, then vtkTriangleFilter->vtkSTLWriter.

I just copy my executable file together with vtk*.dlls to other computer.

Can you give me any suggestion?

Best Regards,
An Jiye




More information about the vtkusers mailing list