------------------------------------------------------------------------------
| 632 | |
| 633 | //------------------------------------------------------------------------------ |
| 634 | void vtkAxisAlignedTransformFilter::ApplyCellScale( |
| 635 | vtkHyperTreeGridNonOrientedCursor* cursor, double scales[3]) |
| 636 | { |
| 637 | if (cursor->IsMasked()) |
| 638 | { |
| 639 | cursor->ToParent(); |
| 640 | return; |
| 641 | } |
| 642 | |
| 643 | cursor->GetTree()->InitializeScales(scales, true); |
| 644 | |
| 645 | if (!cursor->IsLeaf()) |
| 646 | { |
| 647 | for (int i = 0; i < cursor->GetTree()->GetNumberOfChildren(); ++i) |
| 648 | { |
| 649 | cursor->ToChild(i); |
| 650 | this->ApplyCellScale(cursor, scales); |
| 651 | } |
| 652 | } |
| 653 | if (!cursor->IsRoot()) |
| 654 | { |
| 655 | cursor->ToParent(); |
| 656 | } |
| 657 | } |
| 658 | |
| 659 | //---------------------------------------------------------------------------- |
| 660 | int vtkAxisAlignedTransformFilter::GetRotatedId( |
no test coverage detected