MCPcopy Create free account
hub / github.com/Geant4/geant4 / UpdateDrawingStyle

Method UpdateDrawingStyle

source/interfaces/implementation/src/G4UIQt.cc:1761–1782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1759
1760
1761void G4UIQt::UpdateDrawingStyle(G4int style) {
1762 // Surface style
1763 switch (style) {
1764 case 0:
1765 this->SetIconWireframeSelected();
1766 break;
1767 case 1:
1768 this->SetIconHLRSelected();
1769 break;
1770 case 2:
1771 this->SetIconSolidSelected();
1772 break;
1773 case 3:
1774 this->SetIconHLHSRSelected();
1775 break;
1776 case 4:
1777 this->SetIconCoudPointSelected();
1778 break;
1779 default:
1780 return;
1781 }
1782}
1783
1784void G4UIQt::UpdateProjectionStyle(G4int style) {
1785 if (style == 0.) { // ortho

Callers 1

UpdateGUIDrawingStyleMethod · 0.45

Calls 5

SetIconHLRSelectedMethod · 0.95
SetIconSolidSelectedMethod · 0.95
SetIconHLHSRSelectedMethod · 0.95

Tested by

no test coverage detected