FEM: Multiframe adoptions

- To support timedata and the relevant filters the pipeline needs to be fully setup, hence not only working on data
 - Multiblock source algorithm is needed to supply the time data for the algorithms
This commit is contained in:
Stefan Tröger
2024-11-24 16:11:53 +01:00
committed by Benjamin Nauck
parent 79e7c3788e
commit a4558f31b4
28 changed files with 1752 additions and 249 deletions

View File

@@ -850,15 +850,9 @@ bool ViewProviderFemPostObject::setupPipeline()
auto postObject = getObject<Fem::FemPostObject>();
vtkDataObject* data = postObject->Data.getValue();
if (!data) {
return false;
}
// check all fields if there is a real/imaginary one and if so
// add a field with an absolute value
vtkSmartPointer<vtkDataObject> SPdata = data;
vtkDataSet* dset = vtkDataSet::SafeDownCast(SPdata);
vtkDataSet* dset = postObject->getDataSet();
if (!dset) {
return false;
}