Skip to content
Snippets Groups Projects
  1. Dec 28, 2004
    • Christophe Geuzaine's avatar
      · d2bafc69
      Christophe Geuzaine authored
      missing line_width/point_size calls
      d2bafc69
  2. 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
    • Christophe Geuzaine's avatar
      · f0cbeec5
      Christophe Geuzaine authored
      - new alternative Draw_String function taking a "style" argument (used
        only for font size at the moment)
      - new Plugin(Annotate) to add simple text strings to a view
      f0cbeec5
  3. Dec 24, 2004
    • Christophe Geuzaine's avatar
      · eb6ac15e
      Christophe Geuzaine authored
      add color options for elements in views (requested by Philippe a long
      time ago)
      eb6ac15e
  4. Dec 21, 2004
  5. Dec 08, 2004
    • Christophe Geuzaine's avatar
      · a093fe3b
      Christophe Geuzaine authored
      fix non-proportional arrow display at the COG
      a093fe3b
  6. Dec 07, 2004
    • Christophe Geuzaine's avatar
      · cf27b169
      Christophe Geuzaine authored
      - Moved all the Raise[][] stuff out of the drawing routines, and into
        Graphics/Post.cpp
      
      - New 'generalized raise' mode (can use arbitrary expressions, possibly
        with external data sources, to raise/offset views dynamically). Original
        patch by Nicolas Tardieu. Merci Nico!
      cf27b169
  7. Dec 06, 2004
    • Christophe Geuzaine's avatar
      · c95cb1d4
      Christophe Geuzaine authored
      - moved the AdaptiveView stuff in its own header file
      
      - fixed small bug in IsoSimplex (when Raise != 0)
      
      - fixed small memory leak in Plugin/Extract (when one or more
        expressions are invalid)
      c95cb1d4
  8. 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
  9. Nov 22, 2004
  10. Nov 19, 2004
    • Christophe Geuzaine's avatar
      · 950e8323
      Christophe Geuzaine authored
      The "Simplex" class is now derived from a new class "SimplexBase",
      which contains only pointers to the nodes, and none of the other stuff
      necessary for the actual mesh generation.
      
      All the input/output/display routines have been rewritten in terms of
      SimplexBase: this provides a gain of almost 50% in memory when you
      just load meshes from .msh files to do visualization stuff, instead of
      actually generating the mesh.
      950e8323
  11. Nov 18, 2004
    • Christophe Geuzaine's avatar
      · e66bc1a0
      Christophe Geuzaine authored
      New General.ClipFactor option to fine-tune the position of the near and far
      clipping planes (default = 10; setting a smaller value leads to a better
      z-buffer resolution, but zooms/rotations can then lead to undesired clipping).
      e66bc1a0
  12. Nov 16, 2004
    • Christophe Geuzaine's avatar
      · 4ddc76f1
      Christophe Geuzaine authored
      Revert to GL_NORMALIZE instead of GL_RESCALE_NORMAL (since GL_RESCALE_NORMAL
      is not supposed to work with anisotropic scalings)
      4ddc76f1
  13. Nov 13, 2004
    • Christophe Geuzaine's avatar
      · 024e9517
      Christophe Geuzaine authored
      - First draft (pretty much untested!) of new "Integrate" plugin to
        * integrate scalar fields over all the elements in a view
        * integrate the circulation of vector fields along line elements
        * integrate the flux of vector fields across surface elements
      
        Used with Plugin(DisplacementRaise) and Plugin(Evaluate) this
        permits for example to compute the area/volume of deformed
        configurations; and, with Plugin(CutPlane)+Plugin(Skin), the
        perimeter of deformed sections. Another interesting application is
        to use it on a vector field with Plugin(CutPlane), in order to
        compute fluxes across arbitrary cross-sections.
      
      - Added "connectPoints" option to Plugin(CutParametric) so
        that we can feed its output to Plugin(Integrate)
      
      - Added Normals and Tangents options to visualize the orientation of
        elements in post-processing views
      
      - Added "swapOrientation" in Plugin(Transform) to change the
        orientation of the elements (in place) (+ moved the transformation
        routines from the view class into the plugin)
      
      - fixed #defines in some of the plugin header files
      024e9517
  14. Nov 08, 2004
    • Christophe Geuzaine's avatar
      · c78f8dc7
      Christophe Geuzaine authored
      better error messages+choice selection for "external view" stuff
      c78f8dc7
  15. Nov 01, 2004
    • Christophe Geuzaine's avatar
      · ee7c89c5
      Christophe Geuzaine authored
      trying to fix problem reported by T. Schumacher: use double[16] instead of
      double[4][4] for opengl matrices
      ee7c89c5
  16. Oct 30, 2004
    • 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
  17. Oct 28, 2004
    • Christophe Geuzaine's avatar
      · 6f149945
      Christophe Geuzaine authored
      proof of concept for unproject (e.g. to add points with the mouse)
      6f149945
    • Christophe Geuzaine's avatar
      · 59a84726
      Christophe Geuzaine authored
      - make the rotation matrix a matrix of doubles (instead of floats)
      
      - store the modelview and the projection matrices in CTX
      
      - new unproject() routine to transform window coordinates to model
        coordinates
      
      - cleaned up all the static variables in the Opengl_Window class
      
      - small fix to reduce normal clamping when zooming
      59a84726
  18. Oct 27, 2004
    • Christophe Geuzaine's avatar
      · badfa700
      Christophe Geuzaine authored
      small cleanup + better error detection
      badfa700
  19. Oct 26, 2004
    • Christophe Geuzaine's avatar
      · 59f25c1a
      Christophe Geuzaine authored
      The new "External data source" option makes the "Vector type->Raised
      view" unnecessary. Just select "Vector type->Displacement" and choose
      the data source from any other view in the list--including "Self"!
      59f25c1a
    • Christophe Geuzaine's avatar
      · d9d25071
      Christophe Geuzaine authored
      added small option to color the arrows representing a vector field
      according to the data from another view
      d9d25071
  20. Oct 25, 2004
    • Christophe Geuzaine's avatar
      · 408e9282
      Christophe Geuzaine authored
      new option to draw the arrows with a fixed size
      408e9282
  21. Oct 21, 2004
    • Christophe Geuzaine's avatar
      · 863299e2
      Christophe Geuzaine authored
      shorter Draw_TensorElement routine
      863299e2
    • Christophe Geuzaine's avatar
      · 905cd6b5
      Christophe Geuzaine authored
      make displacement drawing code much shorter
      905cd6b5
    • Christophe Geuzaine's avatar
      · 509b537f
      Christophe Geuzaine authored
      Generalized "Raised scalar view" vector type: one can now also raise
      vector and tensor views. (It's now simply called "Raised view".)
      509b537f
  22. Oct 15, 2004
    • Christophe Geuzaine's avatar
      · a62dcf8d
      Christophe Geuzaine authored
      draw the labels a little bit closer to the entities
      a62dcf8d
    • Christophe Geuzaine's avatar
      · 2e81bcef
      Christophe Geuzaine authored
      added ability to save views in "parsed" format
      2e81bcef
  23. Oct 14, 2004
    • Christophe Geuzaine's avatar
      · 03a69c4b
      Christophe Geuzaine authored
      added an option to draw the nodes per element (much slower, but permits to
      visualize only a subset of the nodes)
      03a69c4b
  24. Oct 11, 2004
Loading