[vtkusers] a question about isosurfaces with marching cubes

nuno.jf nunofernandes7 at gmail.com
Sat Jan 14 10:19:42 EST 2012


I would like to ask a quick question. In my point clouds, the dataset
attributes are of type scalar, using the default lookup table. The values
were generated automatically when I converted the clouds from VRML to
vtkpolydata.
The points were then placed into a grid to originate a 3D image. After this,
I used marching cubes to generate isosurfaces.
The questions is here... I have integer scalar values (1, 2, 3, 4,...) in
the cloud that originated the image. But, when using marching cubes, I can
define the scalar range between 1.3 and 5.7 for example, to generate the
isosurfaces, and they are generated. How is this?
In first place, I thought that the method GenerateValues(), generated
isosurfaces considering the voxels that matched the criterion: If I defined
the range as [1; 5] then it should be generated surfaces passing through the
voxels on which had "landed" 1 to 5 points from the point cloud.
And, if I have only integer values, why are surfaces generated when I use
float values in GenerateValues()  ? 

--
View this message in context: http://vtk.1045678.n5.nabble.com/a-question-about-isosurfaces-with-marching-cubes-tp5145129p5145129.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list