[vtkusers] sweptsurfaces
Alexander Trum
a.trum at teraport.de
Wed Jan 30 08:31:37 EST 2002
Hi,
Is there somebody you can help me with the following problem.
I have an input geometry read from a STL file (e. g. an engine of a
car).
Then i convert this vtkPolyData object to a vtkStructuredPoints object
by using vtkImplicitModeller. I set the process mode of this implicit
modeller to per voxel because there can be a lot of polygons (several
hundred thousands).
Furthermore i set the sample dimensions so that the sampling is done
with voxels with a cube size (CS) of 5 - 10.
Then i create a vtkTransformCollection by reading in transformation
matrices
from a ASCII file (each line is a transformation matrix).
Afterwards i create a vtkSweptSurface object, setting in the output of
the
implicit modeller and the transformation collection.
I set the sample dimensions so that the sampling is done again
with voxels with a cube size of 5 - 10.
To get a polygonal mesh of this swept surface i use the vtkContourFilter
with a contour value that is a quarter of the length of the diagonal of
the
voxels used for sampling (contourValue = CS/4).
I have done several tests with different input polygonal modells and
different pathes describing the movement of the input modells
(e. g. the vibrations of a car engine).
Then i have compared my swept surfaces with the swept surfaces
generated from the same input from the GoFly 1.0 product from Kitware.
The swept surfaces from GoFly are much more better. They have smaller
number of triangles and are much more smoother.
I have also done a decimation and smoothing of my swept surfaces but
without success.
I can not use GoFly 1.0 because i need this functionality as a batch
tool
on UNIX.
Has anybody an idea what have i done wrong?
Thanks,
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.trum.vcf
Type: text/x-vcard
Size: 409 bytes
Desc: Karte f?r Alexander Trum
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020130/46e9d5a9/attachment.vcf>
More information about the vtkusers
mailing list