[vtkusers] Composite datasets and vtkConvertSelectionDomain

David Thompson david.thompson at kitware.com
Tue Nov 5 11:24:39 EST 2013


Hi all,

I’m working on a vtkRepresentation subclass that displays a multiblock dataset using vtkCompositePolyDataMapper but is otherwise pretty similar to vtkRenderedSurfaceRepresentation. The problem I have is that the annotation link pipeline that ConvertSelection invokes does not like composite datasets:

ERROR: In …VTK/Common/ExecutionModel/vtkDemandDrivenPipeline.cxx, line 815
vtkCompositeDataPipeline (0x7ff6a4083ca0): Input for connection index 0 on input port index 2 for algorithm vtkConvertSelectionDomain(0x7ff6a4081d80) is of type vtkMultiBlockDataSet, but a vtkDataSet is required.

I’ve tried setting the default executive prototype:

	vtkNew<vtkCompositeDataPipeline> exe;
	vtkAlgorithm::SetDefaultExecutivePrototype(exe.GetPointer());

and that fixed some other issues with the pipeline but not the domain conversion filter. Does anyone have a good workaround?

	Thanks,
	David


More information about the vtkusers mailing list