38 vtkInformationVector **inputVector,
39 vtkInformationVector *outputVector) {
41 std::vector<vtkTable *> inputTables;
43 auto blocks = vtkMultiBlockDataSet::GetData(inputVector[0], 0);
48 if(blocks !=
nullptr) {
49 nInputs = blocks->GetNumberOfBlocks();
50 for(
size_t i = 0; i < nInputs; ++i) {
51 inputTables.emplace_back(vtkTable::SafeDownCast(blocks->GetBlock(i)));
56 for(
const auto table : inputTables) {
57 if(table ==
nullptr) {
58 this->
printErr(
"Input tables are not all vtkTables");
70 auto outputTable = vtkTable::GetData(outputVector);
74 outputTable->DeepCopy(inputTables[0]);
77 const auto fd = outputTable->GetFieldData();
83 for(
size_t i = 1; i < nInputs; ++i) {
84 const auto currTable{inputTables[i]};
85 for(vtkIdType j = 0; j < currTable->GetNumberOfRows(); ++j) {
86 outputTable->InsertNextRow(currTable->GetRow(j));