Can different scalar fields be displayed on different blocks of a vtkPartitioned DataSetCollection?

Thanks Cory,

In fact I looked at a bunch of the Tests that I found by following the “Tests” link in the nightly docs for vtkCompositeDataDisplayAttributes and didn’y have any success.

Strangely, the test you linked was NOT included in the tests linked to the docs…

Nonetheless, using your link I was able to determine what was missing from my script and all is now well.

In summary, what was missing was setting the ScalarMode. I found tjat I can see that directy on the mapper and it applies to all blocks, or I can set it per block with SetBlockScalarMode()

I’ll update the example in case anyone else runs into this.

Thanks!!!

1 Like