java.lang.Object
de.grogra.gpuflux.scene.FluxObject
de.grogra.gpuflux.scene.volume.FluxVolume
de.grogra.gpuflux.scene.volume.FluxPrimitive
de.grogra.gpuflux.scene.volume.FluxPolygon
- Author:
- Dietger van Antwerpen
-
Field Summary
Fields inherited from class de.grogra.gpuflux.scene.volume.FluxPrimitive
owner, PRIM_BOX, PRIM_FRUSTUM, PRIM_PARALLEL, PRIM_PLANE, PRIM_SPHERE, PRIM_TRANSFORMABLE, PRIM_TRIANGLE
Fields inherited from class de.grogra.gpuflux.scene.volume.FluxVolume
bbox
-
Constructor Summary
ConstructorDescriptionFluxPolygon
(int idx1, int idx2, int idx3, Vector<FluxVertex> vertices, boolean parallel, Matrix4f world2obj) -
Method Summary
Modifier and TypeMethodDescriptionclone()
void
finish()
void
getExtent
(BoundingBox3d bb, Variables temp) void
void
setWorld2Obj
(Matrix4f world2obj) void
shiftIndex
(int offset) Methods inherited from class de.grogra.gpuflux.scene.volume.FluxPrimitive
getGroupIndex, serialize, serialize, setFluxShader, setGroupIndex, setIOR, setOwner
Methods inherited from class de.grogra.gpuflux.scene.volume.FluxVolume
computeExtent, getBoundingBox
Methods inherited from class de.grogra.gpuflux.scene.FluxObject
getOffset, setOffset
-
Constructor Details
-
FluxPolygon
public FluxPolygon(int idx1, int idx2, int idx3, Vector<FluxVertex> vertices, boolean parallel, Matrix4f world2obj)
-
-
Method Details
-
finish
public void finish() -
getExtent
- Specified by:
getExtent
in classFluxPrimitive
-
serialize
- Overrides:
serialize
in classFluxVolume
- Throws:
IOException
-
clone
-
shiftIndex
public void shiftIndex(int offset) -
setWorld2Obj
-