------------------------------------------------------------------------------
| 1168 | |
| 1169 | //------------------------------------------------------------------------------ |
| 1170 | void vtkStructuredImplicitConnectivity::GetOutputImageData(int gridID, vtkImageData* grid) |
| 1171 | { |
| 1172 | assert("pre: nullptr output grid!" && (grid != nullptr)); |
| 1173 | assert("pre: output grid is nullptr!" && (this->OutputGrid != nullptr)); |
| 1174 | assert("pre: mismatch gridID" && (this->OutputGrid->ID == gridID)); |
| 1175 | |
| 1176 | // silence warnings, the intent for the gridID here is for extending the |
| 1177 | // implementation in the future to allow multiple grids per process. |
| 1178 | static_cast<void>(gridID); |
| 1179 | |
| 1180 | grid->SetExtent(this->OutputGrid->Extent); |
| 1181 | grid->GetPointData()->ShallowCopy(this->OutputGrid->PointData); |
| 1182 | } |
| 1183 | |
| 1184 | //------------------------------------------------------------------------------ |
| 1185 | void vtkStructuredImplicitConnectivity::GetOutputRectilinearGrid( |
no test coverage detected