<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Helvetica, Arial, sans-serif" size="-1">It doesn't work
directly on a structured</font><font face="Helvetica, Arial, sans-serif">
<small>grid</small>.<br>
<small>This is the error it is producing:<br>
<br>
<b>ERROR: In ..\..\Vtk\Filtering\vtkDemandDrivenPipeline.cxx, line 828<br>
vtkStreamingDemandDrivenPipeline (0073B270): Input for connection index
0 on input port index 0 for algorithm vtkClipPolyData(00739E18) is of
type vtkStructuredGrid, but a vtkPolyData is required.</b><br>
<br>
I will give it a try with vtkDataSetSurfaceFilter and vtkGeometryFilter
and get back to you.<br>
If you have some other suggestions, please don't hestiate to write!</small><br>
</font>
<br>
Am 30.03.2010 15:23, schrieb David Gobbi:
<blockquote
 cite="mid:48a17b781003300623h27708237qfd07f914db82a72a@mail.gmail.com"
 type="cite">
  <pre wrap="">Hi Sebastian,

You should be able to use vtkClipDataSet to clip a structured grid.
The output will be an unstructured grid.
Or you can use vtkDataSetSurfaceFilter or vtkGeometryFilter to convert
your data to vtkPolyData.

Cheers,

  David



On Tue, Mar 30, 2010 at 7:03 AM, Sebastian Gatzka
<a class="moz-txt-link-rfc2396E"
 href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">&lt;sebastian.gatzka@stud.tu-darmstadt.de&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello again.

I want to clip a structuredGrid with vtkClipPolyData.
The filter needs polyData (as the name suggests).

How can I transform my structuredGrid-data to polyData?

Cheers, Sebastian
    </pre>
  </blockquote>
  <pre wrap="">  </pre>
</blockquote>
</body>
</html>