------------------------------------------------------------------------------
| 70 | |
| 71 | //------------------------------------------------------------------------------ |
| 72 | int vtkExplicitStructuredGridSurfaceFilter::RequestData(vtkInformation* vtkNotUsed(request), |
| 73 | vtkInformationVector** inputVector, vtkInformationVector* outputVector) |
| 74 | { |
| 75 | |
| 76 | // Get the input and output |
| 77 | vtkExplicitStructuredGrid* input = vtkExplicitStructuredGrid::GetData(inputVector[0], 0); |
| 78 | vtkPolyData* output = vtkPolyData::GetData(outputVector, 0); |
| 79 | |
| 80 | vtkIdType numCells = input->GetNumberOfCells(); |
| 81 | if (input->CheckAttributes() || numCells == 0) |
| 82 | { |
| 83 | return 1; |
| 84 | } |
| 85 | |
| 86 | inputVector[0]->GetInformationObject(0)->Get( |
| 87 | vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), this->WholeExtent); |
| 88 | |
| 89 | return this->ExtractSurface(input, output); |
| 90 | } |
| 91 | |
| 92 | static int hexaFaces[6][4] = { |
| 93 | { 0, 4, 7, 3 }, |
nothing calls this directly
no test coverage detected