Hello,
After the decimation process are all the scalar information of cells and points lost?
Thank you,
```
vtkSmartPointer<vtkDecimatePro> decimator = vtkSmartPointer<vtkDecimatePro>::New();
decimator->SetInputData(inputPolyData);
decimator->SetFeatureAngle(featureAngle);
decimator->PreserveTopologyOn(); // Preserve topology, including scalars
decimator->Update();
vtkSmartPointer<vtkPolyData> decimated = vtkSmartPointer<vtkPolyData>::New();
decimated->ShallowCopy(decimator->GetOutput());
// Now, transfer the scalars from the original dataset to the decimated dataset
decimated->GetPointData()->AddArray(inputPolyData->GetPointData()->GetScalars());
decimated->GetCellData()->AddArray(inputPolyData->GetCellData()->GetScalars());
```