Jmol/Surfaces: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Karsten Theis (talk | contribs)
No edit summary
Karsten Theis (talk | contribs)
No edit summary
Line 14: Line 14:
       <script>isosurface ID "1" frontlit</script>
       <script>isosurface ID "1" frontlit</script>
       <text>Frontlit</text>
       <text>Frontlit</text>
      <checked>true</checked>
     </item>
     </item>
     <item>
     <item>
Line 22: Line 23:
       <script>isosurface ID "1" fullylit</script>
       <script>isosurface ID "1" fullylit</script>
       <text>Fullylit</text>
       <text>Fullylit</text>
      <checked>true</checked>
     </item>
     </item>
   </jmolRadioGroup>
   </jmolRadioGroup>
</jmol>
You can decide whether to show or hide the surface occluded by other parts of the surface:
<jmol>
  <jmolCheckbox>
    <scriptWhenUnChecked>isosurface ID "1" notfrontonly
      </scriptWhenUnChecked>
    <scriptWhenchecked>isosurface ID "1" frontonly
      </scriptWhenchecked>
    <checked>true</checked>
    <text>frontonly</text>
  </jmolCheckbox>
</jmol>
</jmol>
</StructureSection>
</StructureSection>