FEM: DataAlongLine: core implementation

This commit is contained in:
mkhizenz
2016-12-20 18:10:35 +01:00
committed by Yorik van Havre
parent 5606d5cda2
commit 89cf335f3d
12 changed files with 878 additions and 13 deletions

View File

@@ -247,8 +247,11 @@ void ViewProviderFemPostObject::updateProperties() {
colorArrays.push_back("None");
vtkPointData* point = poly->GetPointData();
for(int i=0; i<point->GetNumberOfArrays(); ++i)
colorArrays.push_back(point->GetArrayName(i));
for(int i=0; i<point->GetNumberOfArrays(); ++i) {
std::string FieldName = point->GetArrayName(i);
if (FieldName != "Texture Coordinates")
colorArrays.push_back(FieldName);
}
vtkCellData* cell = poly->GetCellData();
for(int i=0; i<cell->GetNumberOfArrays(); ++i)