Changeset 3897 for trunk/gui


Ignore:
Timestamp:
Aug 26, 2013, 1:06:31 PM (11 years ago)
Author:
ldelgass
Message:

turn on preinterp for cutplanes by default

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/vtkglyphviewer.tcl

    r3837 r3897  
    230230        cutplaneEdges           0
    231231        cutplaneLighting        1
    232         cutplanePreinterp       0
     232        cutplanePreinterp       1
    233233        cutplaneOpacity         100
    234234        cutplaneVisible         0
     
    20762076    if 0 {
    20772077    SendCmd "cutplane add $tag"
    2078     SendCmd "cutplane edges 0 $tag"
    2079     SendCmd "cutplane wireframe 0 $tag"
    2080     SendCmd "cutplane lighting 1 $tag"
    2081     SendCmd "cutplane linewidth 1 $tag"
    2082 
    2083     foreach axis { x y z } {
    2084         SendCmd "cutplane slice $axis 0.5 $tag"
    2085         SendCmd "cutplane axis $axis 0 $tag"
    2086     }
     2078    SendCmd "cutplane visible 0 $tag"
    20872079    }
    20882080    # This is too complicated.  We want to set the colormap, number of
  • trunk/gui/scripts/vtkisosurfaceviewer.tcl

    r3878 r3897  
    235235        cutplaneEdges           0
    236236        cutplaneLighting        1
    237         cutplanePreinterp       0
     237        cutplanePreinterp       1
    238238        cutplaneOpacity         100
    239239        cutplaneVisible         0
     
    21292129    }
    21302130    SendCmd "cutplane add $tag"
    2131     SendCmd "cutplane edges 0 $tag"
    2132     SendCmd "cutplane wireframe 0 $tag"
    2133     SendCmd "cutplane lighting 1 $tag"
    2134     SendCmd "cutplane linewidth 1 $tag"
    2135 
    2136     foreach axis { x y z } {
    2137         SendCmd "cutplane slice $axis 0.5 $tag"
    2138         SendCmd "cutplane axis $axis 0 $tag"
    2139     }
     2131    SendCmd "cutplane visible 0 $tag"
     2132
    21402133    # This is too complicated.  We want to set the colormap, number of
    21412134    # isolines and opacity for the dataset.  They can be the default values,
Note: See TracChangeset for help on using the changeset viewer.