<div>Hello all,</div><div><br></div><div>Below is the algorithm that I am trying for rendering exodusII file. It gives the following error when loading Reader to the Filter:</div><div><font color="#cc0000"><i>ERROR: In ..\..\..\..\vtksource-prefix\src\vtksource\Filtering\vtkDemandDrivenPipeline.cxx, line 827</i></font></div>
<div><font color="#cc0000"><i>vtkStreamingDemandDrivenPipeline (0756AF50): Input for connection index 0 on input port index 0 for algorithm vtkContourFilter(07560E88) is of type vtkMultiBlockDataSet, but a vtkDataSet is required.</i></font></div>
<div><br></div><div><b><font face="times new roman, serif">ALGORITHM:</font></b></div><div><font face="times new roman, serif">vtkExodusIIReader <b>Reader </b>= vtkExodusIIReader.New();</font></div><div><font face="times new roman, serif">vtkContourFilter <b>Filter </b>= vtkContourFilter.New();</font></div>
<div><font face="times new roman, serif">vtkPolyDataNormals <b>Normals </b>= vtkPolyDataNormals.New();</font></div><div><font face="times new roman, serif">vtkPolyDataMapper <b>Mapper </b>= vtkPolyDataMapper.New();</font></div>
<div><font face="times new roman, serif">vtkActor <b>actor </b>= vtkActor.New();</font></div><div><font face="times new roman, serif"><br></font></div><div><div><font face="times new roman, serif"><b>Reader</b>.SetFileName("C:\\...\\fem.e");</font></div>
<div><font face="times new roman, serif"><b>Reader</b>.Update();</font></div><div><font face="times new roman, serif"><br></font></div><div><font face="times new roman, serif"><b>Filter.SetInputConnection(Reader.GetOutputPort()); </b> // Here is the problem!!!</font></div>
<div><font face="times new roman, serif"> </font></div><div><font face="times new roman, serif"><b>Normals</b>.SetInputConnection(<b>Filter</b>.GetOutputPort()); </font></div><div><font face="times new roman, serif"> </font></div>
<div><font face="times new roman, serif"><b>Mapper</b>.SetInputConnection(<b>Normals</b>.GetOutputPort());</font></div><div><font face="times new roman, serif"> </font></div><div><font face="times new roman, serif"><b>actor</b>.SetMapper(<b>Mapper</b>);</font></div>
</div><div><br></div><div>Any help is highly appreciated.</div><div><br></div><div>Best,</div><div>Erol</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>