de.grogra.gpuflux.scene.volume
Class FluxPrimitive
java.lang.Object
de.grogra.gpuflux.scene.FluxObject
de.grogra.gpuflux.scene.volume.FluxVolume
de.grogra.gpuflux.scene.volume.FluxPrimitive
- Direct Known Subclasses:
- FluxBox, FluxFrustumBase, FluxPlane, FluxPolygon, FluxSphere
public abstract class FluxPrimitive
- extends FluxVolume
- Author:
- Dietger van Antwerpen
Fields inherited from class de.grogra.gpuflux.scene.volume.FluxVolume |
bbox |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
owner
protected Renderable owner
PRIM_BOX
public final int PRIM_BOX
- See Also:
- Constant Field Values
PRIM_FRUSTUM
public final int PRIM_FRUSTUM
- See Also:
- Constant Field Values
PRIM_PARALLEL
public final int PRIM_PARALLEL
- See Also:
- Constant Field Values
PRIM_PLANE
public final int PRIM_PLANE
- See Also:
- Constant Field Values
PRIM_SPHERE
public final int PRIM_SPHERE
- See Also:
- Constant Field Values
PRIM_TRANSFORMABLE
public final int PRIM_TRANSFORMABLE
- See Also:
- Constant Field Values
PRIM_TRIANGLE
public final int PRIM_TRIANGLE
- See Also:
- Constant Field Values
FluxPrimitive
public FluxPrimitive()
getExtent
public abstract void getExtent(BoundingBox3d bb,
Variables temp)
- Specified by:
getExtent
in class FluxVolume
getGroupIndex
public int getGroupIndex()
serialize
protected void serialize(ComputeByteBuffer out,
int type,
Matrix4f world2obj)
throws java.io.IOException
- Throws:
java.io.IOException
serialize
public void serialize(ComputeByteBuffer out,
int type,
TransformableVolume v)
throws java.io.IOException
- Throws:
java.io.IOException
setFluxShader
public void setFluxShader(FluxShader shader)
setGroupIndex
public void setGroupIndex(int groupIndex)
setIOR
public void setIOR(float currentIOR)
setOwner
public void setOwner(Renderable owner)