[vtkusers] vtkXMLImageDataReader to vtkImagePlaneWidget

Bill Lorensen bill.lorensen at gmail.com
Fri Apr 19 14:51:22 EDT 2013


Please post a small compilable example that illustrates the problem.


On Fri, Apr 19, 2013 at 2:47 PM, tiny cha <wellblue88 at gmail.com> wrote:

> 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
> 1. read data to vtkXMLImageDataReader
> 2. filter the data with vtkThreshold, function: SetInputArrayToProcess(0,
> 0, 0, vtkDataObject::FIELD_ASSOCIATION_CELLS, "" )
> 3. create vtkImagePlaneWidget object and setup connection to vtkThreshold
> object in step 2
> 4 ...
>
> The steps after 4 were tested to work in another case.
>
> I got error:
> ERROR: In /home/.../VTK/Common/ExecutionModel/vtkAlgorithm.cxx, line 1387
> vtkOpenGLTexture (0x27d3980): Attempt to get connection index 0 for input
> port 0, which has 0 connections.
>
> I suspect I didn't use correct pipeline. Any help will be appreciated.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130419/317b1650/attachment.htm>


More information about the vtkusers mailing list