Class VolumePreRenderEffect

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

public class VolumePreRenderEffect extends WildMagic.LibGraphics.Effects.ShaderEffect implements WildMagic.LibGraphics.ObjectSystem.StreamInterface
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private WildMagic.LibFoundation.Mathematics.Vector3f
     
    private static final long
     

    Fields inherited from class WildMagic.LibGraphics.Effects.ShaderEffect

    m_iPassQuantity, m_kAlphaState, m_kCompiledPrograms, m_kPShader, m_kVShader
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    VolumePreRenderEffect(boolean bUseTextureCoords, boolean bTransparent)
    Creates an new VolumePreRenderEffect
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Blend(float fValue)
    Set the blend value.
    void
    OnLoadPrograms(int iPass, WildMagic.LibGraphics.Shaders.Program pkVProgram, WildMagic.LibGraphics.Shaders.Program pkPProgram, WildMagic.LibGraphics.Shaders.Program pkCProgram)
     
    WildMagic.LibGraphics.ObjectSystem.StringTree
     
    boolean
    SetColor(WildMagic.LibFoundation.Mathematics.Vector3f kPos)
     

    Methods inherited from class WildMagic.LibGraphics.Effects.ShaderEffect

    dispose, GetAllObjectsByName, GetBlending, GetCProgram, GetDiskUsed, GetObjectByID, GetObjectByName, GetPassQuantity, GetPProgram, GetSamplerInformation, GetTexture, GetTexture, GetTextureQuantity, GetVProgram, Link, Load, LoadPrograms, LoadResources, OnReleasePrograms, Register, ReleasePrograms, ReleaseResources, RestoreGlobalState, Save, SetCProgram, SetDefaultAlphaState, SetGlobalState, SetPassQuantity, SetPShader, SetVShader

    Methods inherited from class WildMagic.LibGraphics.Effects.Effect

    Draw

    Methods inherited from class WildMagic.LibGraphics.ObjectSystem.GraphicsObject

    GetID, GetName, GetNextID, GetObjectByIDBase, GetObjectByNameBase, SetName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface WildMagic.LibGraphics.ObjectSystem.StreamInterface

    GetDiskUsed, Link, Load, Register, Save
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • m_kPos

      private WildMagic.LibFoundation.Mathematics.Vector3f m_kPos
  • Constructor Details

    • VolumePreRenderEffect

      public VolumePreRenderEffect(boolean bUseTextureCoords, boolean bTransparent)
      Creates an new VolumePreRenderEffect
      Parameters:
      bUnique - when true create unique shader programs, when false share shader programs.
    • VolumePreRenderEffect

      public VolumePreRenderEffect()
  • Method Details

    • Blend

      public void Blend(float fValue)
      Set the blend value.
      Parameters:
      fValue - blend value.
    • SetColor

      public boolean SetColor(WildMagic.LibFoundation.Mathematics.Vector3f kPos)
    • OnLoadPrograms

      public void OnLoadPrograms(int iPass, WildMagic.LibGraphics.Shaders.Program pkVProgram, WildMagic.LibGraphics.Shaders.Program pkPProgram, WildMagic.LibGraphics.Shaders.Program pkCProgram)
      Overrides:
      OnLoadPrograms in class WildMagic.LibGraphics.Effects.ShaderEffect
    • SaveStrings

      public WildMagic.LibGraphics.ObjectSystem.StringTree SaveStrings(String acTitle)
      Specified by:
      SaveStrings in interface WildMagic.LibGraphics.ObjectSystem.StreamInterface
      Overrides:
      SaveStrings in class WildMagic.LibGraphics.Effects.ShaderEffect