Skip to content
Snippets Groups Projects
  1. Aug 31, 2009
  2. Aug 30, 2009
    • Christophe Geuzaine's avatar
      · 9d3a0f24
      Christophe Geuzaine authored
      Encapsulate toolkit-dependent global drawing functions in new
      drawContextGlobal class, and add a static drawContextGlobal to
      drawContext, with a default version that does nothing.
      
      This allows to have a completely virtualized drawing system: we can
      now ship a library with a fully working graphic system, indepedent of
      the widget toolkit. A client code just needs to subclass
      drawContextGlobal to get working graphics (see
      e.g. api_demos/mainAntTweakBar.cpp)
      9d3a0f24
  3. Aug 17, 2009
    • Christophe Geuzaine's avatar
      · aa7961ad
      Christophe Geuzaine authored
      re-committing work from last two days after server crash:
      
      - refactored old Geo code (new/delete)
      - moved DrawPlugin to Plugin
      - move from matheval to mathex
      - move from Flu_Tree_Browser to Fl_Tree
      - fixed crash in Triangulate plugin
      aa7961ad
  4. Aug 15, 2009
  5. Aug 14, 2009
    • Christophe Geuzaine's avatar
      - replaced old Makefiles/configure system with CMake · 4d6f33e4
      Christophe Geuzaine authored
      - moved GUI to FlGui + added experimental QGui to test Qt
      
      - fixed most MSVC and gcc compiler warnings
      
      - converted some remaining tabs to whitespace (that's why the patch is
        so large; please try to remember to indent with 2 spaces and not
        tabs when you commit stuff to CVS)
      
      - merged modified patch from Konstantinos Poulios to allow saving
        physical/partition as element tags in mesh formats that don't
        support them natively
      4d6f33e4
  6. Jan 31, 2009
  7. Jan 30, 2009
  8. Jan 08, 2009
    • Christophe Geuzaine's avatar
      ./configure now creates Common/GmshConfig.h, which contains all the · e6055ddb
      Christophe Geuzaine authored
      HAVE_XXX defines.
      
      This fixes three longstanding problems:
      
      - the API was hard to use because some headers had HAVE_XXX ifdefs, so
        that cient codes had to know how the lib was compiled to compile
        themselves
      
      - we had to do make clean after each ./configure, which erased too
        much (e.g. most of contrib)
      
      - make depend could include unwanted stuff since it redefined FLAGS
      e6055ddb
  9. Jan 03, 2009
    • Christophe Geuzaine's avatar
      allow tiling of graphic window (File->Split Window) · 99cff6b1
      Christophe Geuzaine authored
      added File->Clear + changed behaviour of File->New (now just adds a
      new model)
      
      allow smaller fonts for palettes (test with "-deltafontsize")
      
      use display list for 3d arrows (approx. 2x speedup on my laptop for
      large vector views) and spheres
      
      removed static quadrics (wrong when \exists multiple gl contexts),
      replaced with correct(?) init in drawContext
      99cff6b1
  10. Dec 29, 2008
    • Christophe Geuzaine's avatar
      - (c) update · 0b598844
      Christophe Geuzaine authored
      - fix bb computation to avoid model jumping around when adding points in z=0 plane
      - pass interpol matrices as ref
      0b598844
  11. Dec 07, 2008
  12. Dec 03, 2008
  13. Dec 01, 2008
  14. Nov 29, 2008
  15. Aug 21, 2008
  16. Jul 11, 2008
  17. Jun 05, 2008
  18. Apr 05, 2008
    • Christophe Geuzaine's avatar
      · d3dbbcfa
      Christophe Geuzaine authored
      ported Warp, SphericalRaise and Eigenvalues plugins to the new post-pro API
      d3dbbcfa
  19. Mar 20, 2008
  20. Feb 17, 2008
  21. Sep 11, 2007
    • Christophe Geuzaine's avatar
      · cb7d85b2
      Christophe Geuzaine authored
      upgraded all plugins to work with the new post-pro.
      
      This is done "cheaply" for now, by only using old-style list-based datasets.
      Taking advantage of the abstraction (so that we can use the plugins on all
      datasets) will require more work. The hooks for transparent data translation
      are in place, but the actual translation has not been implemented yet.
      cb7d85b2
  22. May 04, 2007
    • Christophe Geuzaine's avatar
      · e77731f7
      Christophe Geuzaine authored
      new gui for plugins (much better IMHO!)
      e77731f7
  23. Nov 27, 2006
  24. Jan 06, 2006
    • Christophe Geuzaine's avatar
      airport work: · 421196e0
      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
      421196e0
  25. Jan 09, 2005
    • Christophe Geuzaine's avatar
      · 3d83bd66
      Christophe Geuzaine authored
      - generalized Plugin(CutGrid):
         * now works also for lines/points (i.e., when nPointsU and/or nPointV == 1)
         * new option ConnectPoints
      
      - new Plugin(Eigenvalues)
      
      - don't force color in Draw_PlaneInBoundingBox
      3d83bd66
  26. Jan 08, 2005
    • Christophe Geuzaine's avatar
      · 504b5126
      Christophe Geuzaine authored
      - removed all the crappy STL code and rewrote it using JF's POLY_rep
        class
      
      - generalized POLY_rep so that we can use the polygonal discretization
        as a surface mesh, and mesh in 3D afterwards. I.e., we can now take
        an input triangulation (a single surface in STL format, multiple
        surfaces in STL format, one or more surfaces defined using the new
        "Discrete Surface" commands), and generate a 3D mesh that uses it. We
        could in theory even mix triangulated and "normal" surfaces in the
        same geometry, but nothing is done at the moment to ensure that the
        mesh at the interfaces would match (if it does, it actually works
        very nicely)
      
      - new STL mesh output format to export a surface mesh as a STL file
      
      - added an option to the GEO output routine to save the surface mesh
        as discrete surfaces associated with the geometrical surfaces
      
      - added STL and Text output formats for post-processing views (the
        text output allows for example to exploit plugin-generated data in
        gnuplot)
      
      - generalized Plugin(Evaluate):
      
        * can loop automatically over all the timestep and/or components
      
        * can do operations using data from an external view
      
           - if the 2 views are based on the same grid, the plugin does the
             evaluation very efficiently
      
           - if the 2 views are based on differenet grids, the plugin
             automatically interpolates the external view data onto the
             grid of the current view
      
      - added new Rand() function in MathEval
      
      - default colormap is now # 2 (the Matlab "Jet" colormap)
      504b5126
  27. Jan 03, 2005
    • Christophe Geuzaine's avatar
      · 48b550d8
      Christophe Geuzaine authored
      Generalized the Levelset routines so that we can compute isovolumes with
      all levelset-based plugins. This allows to extract either side of a
      levelset (i.e., a half space with CutPlane, the interior/exterior of
      a sphere with CutSphere, or the isovolume inside an isosurface with
      CutMap).
      48b550d8
  28. Jan 01, 2005
  29. Dec 31, 2004
    • Christophe Geuzaine's avatar
      · 9dd6e35d
      Christophe Geuzaine authored
      Small aesthetic changes:
      
      - Only 'title-capitalize' window titles and menus; the rest should be
        capitalized like normal english sentences
      
      - The window title should be exactly the same as the menu item
        (without the ellipsis character if there is one)
      9dd6e35d
  30. Dec 28, 2004
  31. Dec 27, 2004
    • Christophe Geuzaine's avatar
      · 0539703b
      Christophe Geuzaine authored
      - plugin callbacks now draw their stuff until run/cancel is executed (so we
        manipulate the scene with the additional data displayed)
      - made plugin code much shorter
      - simpler defaults for StreamLines, CutGrid and Evaluate
      0539703b
  32. Nov 25, 2004
    • Christophe Geuzaine's avatar
      · 09149e34
      Christophe Geuzaine authored
      This patch fixes an old design flaw in the post-processing module,
      namely that we used a list of Post_View objects instead of a list of
      pointers to Post_View objects in CTX.post.list.
      
      This had many annoying consequences, in particular the fact that we
      needed to be extra careful every time the list was reallocated (as
      pointers to the list elements would become invalid).
      
      I tried very hard to change the code everywhere it should be changed,
      but I might have missed something. Please let me know if you see
      anything suspicious (like a crash when you duplicate/remove/combine/...
      post-processing views).
      09149e34
  33. Nov 09, 2004
  34. Oct 30, 2004
    • Christophe Geuzaine's avatar
      force color · 97ac80ae
      Christophe Geuzaine authored
      97ac80ae
    • Christophe Geuzaine's avatar
      · f617dc73
      Christophe Geuzaine authored
      New (very simple, but very nice IMHO) callback mechanism in plugins: a
      plugin can now set the min/max/step in input fields, and draw
      arbitrary stuff when the values are modified.
      
      This makes the plugin interface MUCH nicer: the plane in CutPlane is
      defined interactively (a la "Clipping planes"), the sphere in
      CutSphere is visible, the min/max values in CutMap reflect the min/max
      in the view, etc.
      f617dc73
  35. May 16, 2004
    • Christophe Geuzaine's avatar
      · eea4af4c
      Christophe Geuzaine authored
      secured most of the list_pointer accesses
      eea4af4c
  36. Mar 13, 2004
    • Christophe Geuzaine's avatar
      · 929fb2e7
      Christophe Geuzaine authored
      Added automatic documentation generation for plugins
      929fb2e7
  37. Feb 07, 2004
Loading