[vtkusers] marching cubes on an implicit surface

Marcel Weiss mweiss at cbs.mpg.de
Mon Jul 6 10:05:30 EDT 2009

Any of VTKs contour filters work on grids/images/etc.

So, you will have to sample your function (what the stencil thing suggested by Jerome probably does).

Marcel Weiss
PhD student
Department of Neurophysics
Max Planck Institute for Human Cognitive and Brain Sciences 

----- Original Message -----
From: "Christian Walder" <chwa at imm.dtu.dk>
To: vtkusers at vtk.org
Sent: Monday, July 6, 2009 1:44:33 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [vtkusers] marching cubes on an implicit surface

Dear All,

I am completely new to vtk, and I am hoping it can solve my problem:

I have an implicit surface function mapping from R^3 to R (from three
dimensions to a scalar value), and I would like to run a marching cubes
type algorithm on it, to extract a mesh which approximates the zero
level set of the function. In principle it should be possible to use
some marching cubes library to do this by e.g. passing a pointer to the
function which evaluates the implicit surface function, along with
perhaps a bounding box and resolution, etc. However, from taking a quick
look it seems that vtk can only do this for voxel data, ie for functions
which are defined numerically on a 3D grid.

Does anyone know if it is in fact possible to do what I want? If so, can
anyone recommend a good reference or place to start?

best regards,


Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:

More information about the vtkusers mailing list