Hello, I have a vtkBooleanOperationPolyDataFilter and I want to add two polydata.
I keep getting this error:
Input port 0 of algorithm vtkBooleanOperationPolyDataFilter(0x7fd03000e4e0) has 0 connections but is not optional.
Input port 1 of algorithm vtkBooleanOperationPolyDataFilter(0x7fd03000e4e0) has 0 connections but is not optional.
Can someone give me the general syntax structure for this input and output connection.
For my system, vtkBooleanOperationPolyDataFilter has the methods SetInputConnection, SetInputData, and AddInputData.
It worked!
By any chance do you know how I would pass a vtkBooleanOperationPolyDataFilter to vtkDelaunay3D() so that I can create a mapper and actor and render it?
Thank you for helping me out. I really appreciate. After I added what you said in the previous post, I got these errors:
ERROR: In /work/standalone-x64-build/VTK-source/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 709
vtkCompositeDataPipeline (0x915f840): Input port 0 of algorithm vtkBooleanOperationPolyDataFilter(0x7f48bc00eda0) has 0 connections but is not optional.
ERROR: In /work/standalone-x64-build/VTK-source/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 709
vtkCompositeDataPipeline (0x915f840): Input port 1 of algorithm vtkBooleanOperationPolyDataFilter(0x7f48bc00eda0) has 0 connections but is not optional.
I don’t know what went wrong. Could you look at my code. It would really help me out. By the way, the purpose of the code is to render a convex volume from multiple contours.Thanks.