[vtkusers] Mapping from float to int

Ivan Dmitriev dmitriev at isiosf.isi.it
Fri Apr 23 07:43:18 EDT 2004


Hi people !

   I have a volume. After using vtkContourFilter I get a triangulated
surface. But resulution of the voxels is not equal 1, but something
like 0.72x0.72x1.9... Is there some method getting for given  vertex
its corresponding volume voxel ?

P.S.
   I know, that for getting volume voxel enough just divide vertex
   coordinates by given  voxel resolution, but in pipeline I also have a mesh smoothing
   filter, so it can move vertex "quite far" from original position...

   Thanks in advance





More information about the vtkusers mailing list