With some models, the following call causes a segmentation fault:<br>vtkSmartPointer<vtkFieldData> FieldData = polydata->GetFieldData();<br><br>I was originally calling <br>vtkSmartPointer<vtkDoubleArray> ScannerLocationArray = vtkDoubleArray::SafeDownCast(polydata->GetFieldData()->GetArray("ScannerLocation"));<br>
<br>but I thought the ->GetArray() might be failing if GetFieldData returned null, so I tried to get the entire field data, and it still crashes.<br><br>Any thoughts?<br><br clear="all">Thanks,<br><br>David<br>