de.grogra.gpuflux.scene.volume
public abstract class FluxPrimitive extends FluxVolume
| Modifier and Type | Field and Description |
|---|---|
protected Renderable |
owner |
int |
PRIM_BOX |
int |
PRIM_FRUSTUM |
int |
PRIM_PARALLEL |
int |
PRIM_PLANE |
int |
PRIM_SPHERE |
int |
PRIM_TRANSFORMABLE |
int |
PRIM_TRIANGLE |
bbox| Constructor and Description |
|---|
FluxPrimitive() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
getExtent(BoundingBox3d bb,
Variables temp) |
int |
getGroupIndex() |
protected void |
serialize(ComputeByteBuffer out,
int type,
Matrix4f world2obj) |
void |
serialize(ComputeByteBuffer out,
int type,
TransformableVolume v) |
void |
setFluxShader(FluxShader shader) |
void |
setGroupIndex(int groupIndex) |
void |
setIOR(float currentIOR) |
void |
setOwner(Renderable owner) |
computeExtent, getBoundingBox, serializegetOffset, setOffsetprotected Renderable owner
public final int PRIM_BOX
public final int PRIM_FRUSTUM
public final int PRIM_PARALLEL
public final int PRIM_PLANE
public final int PRIM_SPHERE
public final int PRIM_TRANSFORMABLE
public final int PRIM_TRIANGLE
public abstract void getExtent(BoundingBox3d bb, Variables temp)
getExtent in class FluxVolumepublic int getGroupIndex()
protected void serialize(ComputeByteBuffer out, int type, Matrix4f world2obj) throws java.io.IOException
java.io.IOExceptionpublic void serialize(ComputeByteBuffer out, int type, TransformableVolume v) throws java.io.IOException
java.io.IOExceptionpublic void setFluxShader(FluxShader shader)
public void setGroupIndex(int groupIndex)
public void setIOR(float currentIOR)
public void setOwner(Renderable owner)