[vtkusers] Cutting a 2D dataset with a vtkImplicitDataSet

Paul Cochrane cochrane at esscc.uq.edu.au
Thu Aug 25 02:36:11 EDT 2005


Hi all,

I'm trying to extract data from a 2D data set by using the output of another
data set via vtkImplicitDataSet, but am having problems doing it.  

I have a data set, a contour of which defines the surface of a volcano dome.
I then want to use this (arbitrary) contour to extract temperature data from
another data set.  To do this I define the contour to be the input to
vtkImplicityDataSet, and then use this as the cut function to apply to the
temperature data.  The weird thing is that the output of cutter is a very
small section at one end of the contour, and not some interpolated version
of the temperature data all along the contour.  If I cut the temperature
data with a sphere as the cut function I get a nice circle as output as
expected, also if I use a plane, I get a nice line, as one would expect, but
when I use vtkImplictDataSet the data doesn't seem to get interpolated onto
the cut function and only this little part is extracted.

Has anyone got any ideas of how I could get this to work?  Any ideas as to
what I'm doing wrong?  Any help would be greatly appreciated.

Regards,

Paul

-- 
Paul Cochrane
Computational Scientist/Software Developer
Earth Systems Science Computational Centre
Rm 703, SMI Building
University of Queensland
Brisbane
Queensland 4072
Australia

E: cochrane at esscc.uq.edu.au
P: +61 7 3346 4109
F: +61 7 3365 7347



More information about the vtkusers mailing list