------------------------------------------------------------------------------
| 596 | |
| 597 | //------------------------------------------------------------------------------ |
| 598 | vtkSmartPointer<vtkHyperTree> vtkAxisAlignedTransformFilter::CreateNewRotatedHyperTree( |
| 599 | vtkHyperTreeGrid* htg, vtkHyperTree* dest, const std::vector<unsigned int>& permutation) |
| 600 | { |
| 601 | int branchFactor = dest->GetBranchFactor(); |
| 602 | int dimension = dest->GetDimension(); |
| 603 | |
| 604 | vtkNew<vtkHyperTree> newTree; |
| 605 | newTree->Initialize(branchFactor, dimension); |
| 606 | |
| 607 | vtkNew<vtkHyperTreeGridNonOrientedCursor> cursor; |
| 608 | cursor->Initialize(htg, dest->GetTreeIndex(), false); |
| 609 | |
| 610 | this->CopyAndRotate(dest, newTree, 0, 0, permutation, 0, cursor); |
| 611 | |
| 612 | return newTree; |
| 613 | } |
| 614 | |
| 615 | //------------------------------------------------------------------------------ |
| 616 | void vtkAxisAlignedTransformFilter::ComputeCellScale(vtkDataArray* xCoords, vtkDataArray* yCoords, |
no test coverage detected