Skip to content
Snippets Groups Projects
Select Git revision
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
25 results

Gmsh.yy.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    • Christophe Geuzaine's avatar
      c3399948
      · c3399948
      Christophe Geuzaine authored
      - new DecomposeInSimplex plugin
      - new "Combine Views" command in the parser
      - cleaned up View::tranform and View::smooth (+small bug fix for SLs)
      - better check for transparency sorting
      - make depend
      - new View.AlphaChannel option to change the transparency
        globally for a given view (instead of having to change the colormap
        by hand every time)
      
      With all the above, we can now generate very nice (and correct)
      transparent iso-surfaces:
      
      Merge "../tutorial/view3.pos";
      
      minIso = 0;
      maxIso = 2;
      nbIso = 7;
      
      Plugin(CutMap).iView = 0;
      
      For i In {1:nbIso}
        Plugin(CutMap).A = (maxIso-minIso)/nbIso * i;
        Plugin(CutMap).Run;
      EndFor
      
      Delete View[0];
      Combine Views;
      
      For i In {1:nbIso}
        Delete View[0];
      EndFor
      
      Plugin(DecomposeInSimplex).iView = 0;
      Plugin(DecomposeInSimplex).Run;
      
      View[0].AlphaChannel = 0.6;
      c3399948
      History
      Christophe Geuzaine authored
      - new DecomposeInSimplex plugin
      - new "Combine Views" command in the parser
      - cleaned up View::tranform and View::smooth (+small bug fix for SLs)
      - better check for transparency sorting
      - make depend
      - new View.AlphaChannel option to change the transparency
        globally for a given view (instead of having to change the colormap
        by hand every time)
      
      With all the above, we can now generate very nice (and correct)
      transparent iso-surfaces:
      
      Merge "../tutorial/view3.pos";
      
      minIso = 0;
      maxIso = 2;
      nbIso = 7;
      
      Plugin(CutMap).iView = 0;
      
      For i In {1:nbIso}
        Plugin(CutMap).A = (maxIso-minIso)/nbIso * i;
        Plugin(CutMap).Run;
      EndFor
      
      Delete View[0];
      Combine Views;
      
      For i In {1:nbIso}
        Delete View[0];
      EndFor
      
      Plugin(DecomposeInSimplex).iView = 0;
      Plugin(DecomposeInSimplex).Run;
      
      View[0].AlphaChannel = 0.6;