[vtk-developers] Fwd: [vtkusers] coloring vtkDiscreteMarchingCubes

Bill Lorensen bill.lorensen at gmail.com
Thu Nov 10 18:02:00 EST 2011


Randy,

I have not looked at your data yet. But in general, MarchingCubes
processes continuous data while DiscreteMarchingCubes processes
integral data, typically created by a segmentation algorithm. T\he two
algorithms are not normally used on the same datasets. What is the
character of your data?

Bill

On Tue, Nov 8, 2011 at 7:05 AM, Randy Heiland <heiland at indiana.edu> wrote:
> Since I never got a response on the users list, I'll try the dev list.
> thanks, Randy
>
> Begin forwarded message:
>
> From: Randy Heiland <heiland at indiana.edu>
> Subject: [vtkusers] coloring vtkDiscreteMarchingCubes
> Date: November 3, 2011 11:43:12 AM EDT
> To: <vtkusers at vtk.org>
>
> Hi all,
>
> I'm puzzled by the following:  if I extract a surface from a 3D dataset
> using vtkContourFilter, I can color it according to a different scalar
> field; however, if I use vtkDiscreteMarchingCubes, my same pipeline doesn't
> color it.
>
> I've put a simple dataset and Python script here (near the bottom):
>  http://old.compucell3d.org/mediawiki1.7/index.php/Vtk_contours_3D
>
> and built VTK from git a couple months ago:
> In [3]: vtk.vtkVersion.GetVTKVersion()
> Out[3]: '5.9.0'
>
>
> thanks, Randy
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list