Update of /cvsroot/octaviz/octaviz/Scripts
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11716
Modified Files:
vtk_clear.m vtk_meshc.m vtk_surfc.m
Log Message:
more work on contour view and Z axis visibility
Index: vtk_clear.m
===================================================================
RCS file: /cvsroot/octaviz/octaviz/Scripts/vtk_clear.m,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- vtk_clear.m 19 Oct 2007 14:38:29 -0000 1.7
+++ vtk_clear.m 19 Oct 2007 19:27:25 -0000 1.8
@@ -45,8 +45,6 @@
endwhile
## set axes to default settings (contour plots change some of these)
- f.axes.XAxisVisibilityOn();
- f.axes.YAxisVisibilityOn();
f.axes.ZAxisVisibilityOn();
f.axes.SetFlyModeToOuterEdges();
f.renderer.GetActiveCamera().ParallelProjectionOff();
Index: vtk_surfc.m
===================================================================
RCS file: /cvsroot/octaviz/octaviz/Scripts/vtk_surfc.m,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- vtk_surfc.m 25 Dec 2006 20:12:50 -0000 1.5
+++ vtk_surfc.m 19 Oct 2007 19:27:25 -0000 1.6
@@ -99,6 +99,9 @@
endif
f = vtk_figure(0);
- f.axes.YAxisVisibilityOn(); # turn back on the "Z" axes (vtk_contour call turns it off)
+ ## reset some axes features after the contour function call
+ f.axes.ZAxisVisibilityOn();
+ f.axes.SetFlyModeToOuterEdges();
+ vtk_update(f);
endfunction
Index: vtk_meshc.m
===================================================================
RCS file: /cvsroot/octaviz/octaviz/Scripts/vtk_meshc.m,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- vtk_meshc.m 25 Dec 2006 20:12:50 -0000 1.3
+++ vtk_meshc.m 19 Oct 2007 19:27:25 -0000 1.4
@@ -103,6 +103,9 @@
endif
f = vtk_figure(0);
- f.axes.YAxisVisibilityOn(); # turn back on the "Z" axes (vtk_contour call turns it off)
+ ## reset some axes features after the contour function call
+ f.axes.ZAxisVisibilityOn();
+ f.axes.SetFlyModeToOuterEdges();
+ vtk_update(f);
endfunction
|