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
,FluxLamella
,FluxPlane
,FluxPolygon
,FluxSphere
,FluxSphereSegmentSolid
- Author:
- Dietger van Antwerpen
-
Field Summary
Modifier and TypeFieldDescriptionprotected Renderable
final int
final int
final int
final int
final int
final int
final int
Fields inherited from class de.grogra.gpuflux.scene.volume.FluxVolume
bbox
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
getExtent
(BoundingBox3d bb, Variables temp) int
void
serialize
(ComputeByteBuffer out, int type, TransformableVolume v) protected void
serialize
(ComputeByteBuffer out, int type, Matrix4f world2obj) void
setFluxShader
(FluxShader shader) void
setGroupIndex
(int groupIndex) void
setIOR
(float currentIOR) void
setOwner
(Renderable owner) Methods inherited from class de.grogra.gpuflux.scene.volume.FluxVolume
computeExtent, getBoundingBox, serialize
Methods inherited from class de.grogra.gpuflux.scene.FluxObject
getOffset, setOffset
-
Field Details
-
PRIM_TRANSFORMABLE
public final int PRIM_TRANSFORMABLE- See Also:
-
PRIM_PLANE
public final int PRIM_PLANE- See Also:
-
PRIM_SPHERE
public final int PRIM_SPHERE- See Also:
-
PRIM_FRUSTUM
public final int PRIM_FRUSTUM- See Also:
-
PRIM_BOX
public final int PRIM_BOX- See Also:
-
PRIM_TRIANGLE
public final int PRIM_TRIANGLE- See Also:
-
PRIM_PARALLEL
public final int PRIM_PARALLEL- See Also:
-
owner
-
-
Constructor Details
-
FluxPrimitive
public FluxPrimitive()
-
-
Method Details
-
getExtent
- Specified by:
getExtent
in classFluxVolume
-
setOwner
-
serialize
- Throws:
IOException
-
serialize
- Throws:
IOException
-
setFluxShader
-
setIOR
public void setIOR(float currentIOR) -
setGroupIndex
public void setGroupIndex(int groupIndex) -
getGroupIndex
public int getGroupIndex()
-