A utility alias for concatenating arrays into an implicit array.
In order to be usefully included in the dispatchers, these arrays need to be instantiated at the vtk library compile time.
leftArr->SetNumberOfComponents(1);
leftArr->SetNumberOfTuples(1);
leftArr->SetValue(0, 0);
rightArr->SetNumberOfComponents(1);
rightArr->SetNumberOfTuples(1);
rightArr->SetValue(0, 1);
std::vector<vtkDataArray*> arrays({leftArr, rightArr});
compositeArr->SetNumberOfComponents(1);
compositeArr->SetNumberOfTuples(2);
CHECK(compositArr->GetValue(1) == 1);
A utility structure serving as a backend for composite arrays: an array composed of multiple arrays c...
Allocate and hold a VTK object.