de.grogra.gpuflux.scene.volume
Class FluxPolygon
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
public class FluxPolygon
- extends FluxPrimitive
- Author:
- Dietger van Antwerpen
Fields inherited from class de.grogra.gpuflux.scene.volume.FluxVolume |
bbox |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FluxPolygon
public FluxPolygon(int idx1,
int idx2,
int idx3,
java.util.Vector<FluxVertex> vertices,
boolean parallel,
Matrix4f world2obj)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
finish
public void finish()
getExtent
public void getExtent(BoundingBox3d bb,
Variables temp)
- Specified by:
getExtent
in class FluxPrimitive
serialize
public void serialize(ComputeByteBuffer out)
throws java.io.IOException
- Overrides:
serialize
in class FluxVolume
- Throws:
java.io.IOException
setWorld2Obj
public void setWorld2Obj(Matrix4f world2obj)
shiftIndex
public void shiftIndex(int offset)