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