| 1319 | } |
| 1320 | |
| 1321 | const int* vtkHigherOrderWedge::GetOrder() |
| 1322 | { |
| 1323 | // The interpolation routines can handle different order along each axis |
| 1324 | // The connectivity array contains three additional entries at the end which specify the Order |
| 1325 | // in s, t, and u The unstructure grid calls SetOrder with those three additional entries |
| 1326 | vtkIdType numPts = this->Points->GetNumberOfPoints(); |
| 1327 | if (this->Order[3] != numPts) |
| 1328 | { |
| 1329 | if (numPts == 6) |
| 1330 | this->SetUniformOrderFromNumPoints(numPts); |
| 1331 | else |
| 1332 | vtkErrorMacro("The degrees might be direction dependents, and should be set before GetOrder " |
| 1333 | "is called. numPts is " |
| 1334 | << numPts << " and Order[3] " << Order[3]); |
| 1335 | } |
| 1336 | return this->Order; |
| 1337 | } |
| 1338 | |
| 1339 | bool vtkHigherOrderWedge::PointCountSupportsUniformOrder(vtkIdType pointsPerCell) |
| 1340 | { |
no test coverage detected