| 341 | std::string AttributeType; |
| 342 | |
| 343 | static vtkDataSetAttributes::AttributeTypes GetDataSetAttributeType( |
| 344 | const std::string& otherAttributeTypeName) |
| 345 | { |
| 346 | for (int i = 0; i < vtkDataSetAttributes::AttributeTypes::NUM_ATTRIBUTES; ++i) |
| 347 | { |
| 348 | const std::string attributeTypeName = vtkDataSetAttributes::GetAttributeTypeAsString(i); |
| 349 | if (vtksys::SystemTools::UpperCase(otherAttributeTypeName) == |
| 350 | vtksys::SystemTools::UpperCase(attributeTypeName)) |
| 351 | { |
| 352 | return static_cast<vtkDataSetAttributes::AttributeTypes>(i); |
| 353 | } |
| 354 | } |
| 355 | return vtkDataSetAttributes::AttributeTypes::NUM_ATTRIBUTES; |
| 356 | } |
| 357 | |
| 358 | static bool IsGhostsAttributeType(const std::string& otherAttributeTypeName) |
| 359 | { |
no outgoing calls
no test coverage detected