------------------------------------------------------------------------------
| 364 | |
| 365 | //------------------------------------------------------------------------------ |
| 366 | vtkSmartPointer<vtkConstantArray<int>> vtkStructuredData::GetCellTypesArray( |
| 367 | int extent[6], bool usePixelVoxelOrientation) |
| 368 | { |
| 369 | auto resultUC = vtkStructuredData::GetCellTypes(extent, usePixelVoxelOrientation); |
| 370 | auto resultInt = vtkSmartPointer<vtkConstantArray<int>>::New(); |
| 371 | resultInt->ConstructBackend(static_cast<int>(resultUC->GetBackend()->Value)); |
| 372 | resultInt->SetNumberOfComponents(1); |
| 373 | resultInt->SetNumberOfTuples(resultUC->GetNumberOfTuples()); |
| 374 | return resultInt; |
| 375 | } |
| 376 | |
| 377 | //------------------------------------------------------------------------------ |
| 378 | // Get the points defining a cell. (See vtkDataSet for more info.) |
nothing calls this directly
no test coverage detected