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:
java.io.Serializable
,WildMagic.LibGraphics.ObjectSystem.NameIdInterface
,WildMagic.LibGraphics.ObjectSystem.StreamInterface
public class VolumePreRenderEffect extends WildMagic.LibGraphics.Effects.ShaderEffect implements WildMagic.LibGraphics.ObjectSystem.StreamInterface
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private WildMagic.LibFoundation.Mathematics.Vector3f
m_kPos
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description VolumePreRenderEffect()
VolumePreRenderEffect(boolean bUseTextureCoords, boolean bTransparent)
Creates an new VolumePreRenderEffect
-
Method Summary
All Methods Instance Methods Concrete Methods 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
SaveStrings(java.lang.String acTitle)
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.ObjectSystem.GraphicsObject
GetID, GetName, GetNextID, GetObjectByIDBase, GetObjectByNameBase, SetName
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
m_kPos
private WildMagic.LibFoundation.Mathematics.Vector3f m_kPos
-
-
Constructor Detail
-
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 Detail
-
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 classWildMagic.LibGraphics.Effects.ShaderEffect
-
SaveStrings
public WildMagic.LibGraphics.ObjectSystem.StringTree SaveStrings(java.lang.String acTitle)
- Specified by:
SaveStrings
in interfaceWildMagic.LibGraphics.ObjectSystem.StreamInterface
- Overrides:
SaveStrings
in classWildMagic.LibGraphics.Effects.ShaderEffect
-
-