de.grogra.gpuflux.scene.volume
Class FluxSphere

java.lang.Object
  extended by de.grogra.gpuflux.scene.FluxObject
      extended by de.grogra.gpuflux.scene.volume.FluxVolume
          extended by de.grogra.gpuflux.scene.volume.FluxPrimitive
              extended by de.grogra.gpuflux.scene.volume.FluxSphere

public class FluxSphere
extends FluxPrimitive

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
FluxSphere(Sphere v)
           
 
Method Summary
 void getExtent(BoundingBox3d bb, Variables temp)
           
 void serialize(ComputeByteBuffer out)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FluxSphere

public FluxSphere(Sphere v)
Method Detail

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