Class SurfaceClipEffect

java.lang.Object
WildMagic.LibGraphics.ObjectSystem.GraphicsObject
WildMagic.LibGraphics.Effects.Effect
WildMagic.LibGraphics.Effects.ShaderEffect
gov.nih.mipav.view.renderer.WildMagic.Render.VolumeClipEffect
gov.nih.mipav.view.renderer.WildMagic.Render.SurfaceClipEffect
All Implemented Interfaces:
Serializable, WildMagic.LibGraphics.ObjectSystem.NameIdInterface, WildMagic.LibGraphics.ObjectSystem.StreamInterface

public class SurfaceClipEffect extends VolumeClipEffect
Surface clipping.
See Also:
  • Field Details

  • Constructor Details

    • SurfaceClipEffect

      public SurfaceClipEffect()
      Create a surface clip effect. Used to generate the surface mask texture.
  • Method Details

    • Scale

      public void Scale(float fSX, float fSY, float fSZ, boolean bOn)
      Scale the surface to fit the mask texture. Scaling is done inside the SurfaceClip vertex shader.
      Parameters:
      fSX - x-scale factor.
      fSY - y-scale factor.
      fSZ - z-scale factor.
      bOn - turn scale on/off.