<div dir="ltr">Please post a small compilable example that illustrates the problem.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 2:47 PM, tiny cha <span dir="ltr"><<a href="mailto:wellblue88@gmail.com" target="_blank">wellblue88@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi, I am new at this list and trying to use vtk for some coding. I am trying to read some data in a vti file and then display on a plane widget. What I am doing is that<br>
</div>
1. read data to vtkXMLImageDataReader<br></div>2. filter the data with vtkThreshold, function: SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_CELLS, "" )<br></div>3. create vtkImagePlaneWidget object and setup connection to vtkThreshold object in step 2<br>
4 ...<br><br></div>The steps after 4 were tested to work in another case.<br><br></div>I got error:<br>ERROR: In /home/.../VTK/Common/ExecutionModel/vtkAlgorithm.cxx, line 1387<br>vtkOpenGLTexture (0x27d3980): Attempt to get connection index 0 for input port 0, which has 0 connections.<br>
<br></div>I suspect I didn't use correct pipeline. Any help will be appreciated.<br><div><br></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>