| 684 | } |
| 685 | |
| 686 | void G4VtkStore::UpdateCutter(G4String nameIn, const G4Plane3D& plane) |
| 687 | { |
| 688 | for (const auto& v : separatePipeMap) { |
| 689 | auto children = v.second->GetChildPipelines(); |
| 690 | for (auto c : children) { |
| 691 | if (c->GetName() == nameIn) { |
| 692 | auto cc = dynamic_cast<G4VtkCutterPipeline*>(c); |
| 693 | cc->SetPlane(plane); |
| 694 | } |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | for (const auto& v : tensorGlyphPipeMap) { |
| 699 | auto children = v.second->GetChildPipelines(); |
| 700 | for (auto c : children) { |
| 701 | if (c->GetName() == nameIn) { |
| 702 | auto cc = dynamic_cast<G4VtkCutterPipeline*>(c); |
| 703 | cc->SetPlane(plane); |
| 704 | } |
| 705 | } |
| 706 | } |
| 707 | |
| 708 | for (const auto& v : appendPipeMap) { |
| 709 | auto children = v.second->GetChildPipelines(); |
| 710 | for (auto c : children) { |
| 711 | if (c->GetName() == nameIn) { |
| 712 | auto cc = dynamic_cast<G4VtkCutterPipeline*>(c); |
| 713 | cc->SetPlane(plane); |
| 714 | } |
| 715 | } |
| 716 | } |
| 717 | |
| 718 | for (const auto& v : bakePipeMap) { |
| 719 | auto children = v.second->GetChildPipelines(); |
| 720 | for (auto c : children) { |
| 721 | if (c->GetName() == nameIn) { |
| 722 | auto cc = dynamic_cast<G4VtkCutterPipeline*>(c); |
| 723 | cc->SetPlane(plane); |
| 724 | } |
| 725 | } |
| 726 | } |
| 727 | } |
| 728 | |
| 729 | void G4VtkStore::RemoveCutter(G4String /*nameIn*/) {} |
| 730 |
nothing calls this directly
no test coverage detected