Skip to content
Snippets Groups Projects
Select Git revision
  • 1930bbe27ee5c32a1b821e059f6e582b1efc10f9
  • 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
26 results

Draw.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    • Christophe Geuzaine's avatar
      1930bbe2
      airport work: · 1930bbe2
      Christophe Geuzaine authored
      - new button under the graphic window to temporarily disable mouse
        selection (speeds-up redrawing of very large models + permits to
        rotate/zoom-in a model in selection mode even when the whole screen
        is full of selectable entities--e.g. a surface mesh)
      
      - new "lasso" selection mode (to select entities using the same kind
        of lasso as the lasso zoom: just Ctrl+click, then drag the mouse in
        selection mode; the shortcuts are the same as for the lasso zoom)
      
      - it is now possible to unselect entities using the middle mouse button
        (only for the creation of physicals at the moment; not sure if it's
        useful in the other cases)
      
      - new button in visibility browser to invert the current selection
        (very useful e.g. when multiple physical entities are associated
        with a given elementary entity, in order to "peel" away the model
        when adding new physicals; cf. philou)
      
      - changed meaning of Escape shortcut (cancel lasso or toggle mouse
        selection) + restore standard fltk Escape handling for all dialog
        windows
      
      - updated copyright string
      
      - new mesh label mode (coordinates); all label types are now also
        available for mesh vertices
      
      - added option in 'Print Option' dialog to disable printing of help
        strings
      
      - added a comment string with the date when creating a new file
      
      - new snapping grid for adding points in the GUI
      1930bbe2
      History
      airport work:
      Christophe Geuzaine authored
      - new button under the graphic window to temporarily disable mouse
        selection (speeds-up redrawing of very large models + permits to
        rotate/zoom-in a model in selection mode even when the whole screen
        is full of selectable entities--e.g. a surface mesh)
      
      - new "lasso" selection mode (to select entities using the same kind
        of lasso as the lasso zoom: just Ctrl+click, then drag the mouse in
        selection mode; the shortcuts are the same as for the lasso zoom)
      
      - it is now possible to unselect entities using the middle mouse button
        (only for the creation of physicals at the moment; not sure if it's
        useful in the other cases)
      
      - new button in visibility browser to invert the current selection
        (very useful e.g. when multiple physical entities are associated
        with a given elementary entity, in order to "peel" away the model
        when adding new physicals; cf. philou)
      
      - changed meaning of Escape shortcut (cancel lasso or toggle mouse
        selection) + restore standard fltk Escape handling for all dialog
        windows
      
      - updated copyright string
      
      - new mesh label mode (coordinates); all label types are now also
        available for mesh vertices
      
      - added option in 'Print Option' dialog to disable printing of help
        strings
      
      - added a comment string with the date when creating a new file
      
      - new snapping grid for adding points in the GUI
    ElementType.h 841 B
    // Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // bugs and problems to the public mailing list <gmsh@onelab.info>.
    
    #ifndef _ELEMENTTYPE_H_
    #define _ELEMENTTYPE_H_
    
    namespace ElementType
    {
      // Give parent type, order & dimension corresponding to any element type.
      int ParentTypeFromTag(int tag);
      int OrderFromTag(int tag);
      int DimensionFromTag(int tag);
    
      // Gives > 0 if element tag is in Serendipity Family.
      // Gives < 2 if element tag is in 'Normal' Family.
      // 1 is for element that is either Serendipity or not !
      int SerendipityFromTag(int tag);
    
      // Give element tag from type, order & serendip
      int getTag(int parentTag, int order, bool serendip = false);
    
      // Give first order element tag
      int getPrimaryTag(int tag);
    }
    
    #endif