diff --git a/Graphics/PostElement.cpp b/Graphics/PostElement.cpp index 28d5d209bb1bc81bb4d0f1722323245430b8bda6..e5cf53da6a3296f184ff1abae1967241edeb8138 100644 --- a/Graphics/PostElement.cpp +++ b/Graphics/PostElement.cpp @@ -1,4 +1,4 @@ -// $Id: PostElement.cpp,v 1.67 2005-06-27 19:33:21 geuzaine Exp $ +// $Id: PostElement.cpp,v 1.68 2005-11-18 23:21:56 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -601,18 +601,23 @@ void Draw_ScalarTetrahedron(Post_View * View, int preproNormals, double *vv = &V[4 * View->TimeStep]; - if(!preproNormals && View->Boundary > 0) { + // To draw filled iso-values or continuous maps, we should ideally + // do volume rendering. Until we can do that, we just draw the + // solution on the boundary of the elements + if((View->Boundary > 0) || + (View->IntervalsType == DRAW_POST_DISCRETE || + View->IntervalsType == DRAW_POST_CONTINUOUS)) { View->Boundary--; int ts = View->TimeStep; View->TimeStep = 0; REORDER3(0, 2, 1); - Draw_ScalarTriangle(View, 0, ValMin, ValMax, Xp, Yp, Zp, Val); // 021 + Draw_ScalarTriangle(View, preproNormals, ValMin, ValMax, Xp, Yp, Zp, Val); // 021 REORDER3(0, 1, 3); - Draw_ScalarTriangle(View, 0, ValMin, ValMax, Xp, Yp, Zp, Val); // 013 + Draw_ScalarTriangle(View, preproNormals, ValMin, ValMax, Xp, Yp, Zp, Val); // 013 REORDER3(0, 3, 2); - Draw_ScalarTriangle(View, 0, ValMin, ValMax, Xp, Yp, Zp, Val); // 032 + Draw_ScalarTriangle(View, preproNormals, ValMin, ValMax, Xp, Yp, Zp, Val); // 032 REORDER3(3, 1, 2); - Draw_ScalarTriangle(View, 0, ValMin, ValMax, Xp, Yp, Zp, Val); // 312 + Draw_ScalarTriangle(View, preproNormals, ValMin, ValMax, Xp, Yp, Zp, Val); // 312 View->TimeStep = ts; View->Boundary++; return; @@ -709,7 +714,12 @@ void Draw_ScalarHexahedron(Post_View * View, int preproNormals, ts = View->TimeStep; View->TimeStep = 0; - if(!preproNormals && View->Boundary > 0) { + // To draw filled iso-values or continuous maps, we should ideally + // do volume rendering. Until we can do that, we just draw the + // solution on the boundary of the elements + if((View->Boundary > 0) || + (View->IntervalsType == DRAW_POST_DISCRETE || + View->IntervalsType == DRAW_POST_CONTINUOUS)) { View->Boundary--; REORDER4(0, 1, 5, 4); Draw_ScalarQuadrangle(View, 0, ValMin, ValMax, Xp, Yp, Zp, Val); // 0154 @@ -765,7 +775,12 @@ void Draw_ScalarPrism(Post_View * View, int preproNormals, ts = View->TimeStep; View->TimeStep = 0; - if(!preproNormals && View->Boundary > 0) { + // To draw filled iso-values or continuous maps, we should ideally + // do volume rendering. Until we can do that, we just draw the + // solution on the boundary of the elements + if((View->Boundary > 0) || + (View->IntervalsType == DRAW_POST_DISCRETE || + View->IntervalsType == DRAW_POST_CONTINUOUS)) { View->Boundary--; REORDER4(0, 1, 4, 3); Draw_ScalarQuadrangle(View, 0, ValMin, ValMax, Xp, Yp, Zp, Val); @@ -810,7 +825,12 @@ void Draw_ScalarPyramid(Post_View * View, int preproNormals, ts = View->TimeStep; View->TimeStep = 0; - if(!preproNormals && View->Boundary > 0) { + // To draw filled iso-values or continuous maps, we should ideally + // do volume rendering. Until we can do that, we just draw the + // solution on the boundary of the elements + if((View->Boundary > 0) || + (View->IntervalsType == DRAW_POST_DISCRETE || + View->IntervalsType == DRAW_POST_CONTINUOUS)) { View->Boundary--; REORDER4(0, 3, 2, 1); Draw_ScalarQuadrangle(View, 0, ValMin, ValMax, Xp, Yp, Zp, Val); diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi index db93f6a84f41329b507423218c85e798cc4bea4c..dc5dad557934e637937418df7880903d975f5491 100644 --- a/doc/texinfo/gmsh.texi +++ b/doc/texinfo/gmsh.texi @@ -1,5 +1,5 @@ \input texinfo.tex @c -*-texinfo-*- -@c $Id: gmsh.texi,v 1.190 2005-09-20 12:06:36 geuzaine Exp $ +@c $Id: gmsh.texi,v 1.191 2005-11-18 23:21:57 geuzaine Exp $ @c @c Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle @c @@ -2391,6 +2391,10 @@ displayed, while post-processing plugins either create new post-processing views, or modify the data stored in a view (in a destructive, non-reversible way). +Plugins are available in the graphical user interface by right-clicking +on a view button (or by clicking on the black arrow next to the view +button) and then selecting the `Plugin' submenu. + Here is the list of the plugins that are shipped by default with Gmsh: @include opt_plugin.texi