[vtkusers] Cutting a 2D dataset with a vtkImplicitDataSet

David.Pont at ensisjv.com David.Pont at ensisjv.com
Sun Aug 28 17:13:17 EDT 2005


Paul Cochrane <cochrane at esscc.uq.edu.au> wrote on 25/08/2005 18:36:11:

> 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.

Gidday Paul,
    Take a look at vtkProbeFilter, you should be able to use a contour as
the "Input" and sample the other data set with it.
  Dave P

>                    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
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.
> org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list