I’m trying to use vtkMultiBlockVolumeMapper
to render a vtkMultiBlockDataSet
. According to the docs of vtkMultiBlockVolumeMapper
:
vtkMultiBlockVolumeMapper renders vtkMultiBlockDataSet instances containing vtkImageData blocks
But I can’t figure out how to tell the vtkMultiBlockVolumeMapper
to use avtkMultiBlockDataSet
as input:
vtkMultiBlockDataSet
derives fromvtkDataObject
, but not fromvtkDataSet
- so using theSetInputData
method from thevtkVolumeMapper
as I would do with a simplevtkImageData
is not an option.- In
vtkMultiBlockVolumeMapper
itself, I also see no method taking avtkMultiBlockDataSet
as input. - I also haven’t found example code using
vtkMultiBlockVolumeMapper
(but would be willing to provide a pull request once I have a working example).
Probably I’m missing something very obvious, but I’m stuck - please help!