------------------------------------------------------------------------------
| 184 | |
| 185 | //------------------------------------------------------------------------------ |
| 186 | void vtkStructuredGridConnectivity::AcquireDataDescription() |
| 187 | { |
| 188 | if (this->DataDescription != -1) |
| 189 | { |
| 190 | return; |
| 191 | } |
| 192 | |
| 193 | int dims[3]; |
| 194 | |
| 195 | vtkStructuredExtent::GetDimensions(this->WholeExtent, dims); |
| 196 | |
| 197 | this->DataDescription = vtkStructuredData::GetDataDescription(dims); |
| 198 | this->DataDimension = vtkStructuredData::GetDataDimension(this->DataDescription); |
| 199 | |
| 200 | assert("pre: Error acquiring data description" && (this->DataDescription >= 0)); |
| 201 | assert("pre: grid description cannot be empty" && |
| 202 | (this->DataDescription != vtkStructuredData::VTK_STRUCTURED_EMPTY)); |
| 203 | } |
| 204 | |
| 205 | //------------------------------------------------------------------------------ |
| 206 | vtkStructuredNeighbor vtkStructuredGridConnectivity::GetGridNeighbor(int gridID, int nei) |
no test coverage detected