anl.aida.viz3d
Class CompositeGeometry
java.lang.Object
anl.aida.viz3d.VSpatial
anl.aida.viz3d.CompositeGeometry
public class CompositeGeometry
- extends VSpatial
Fields inherited from class anl.aida.viz3d.VSpatial |
appearence, boundingSphere, clientMap, dirty, id, localRotation, localScale, localTrans, parent, visible, worldRotation, worldScale, worldTrans |
Methods inherited from class anl.aida.viz3d.VSpatial |
doGetBoundingSphere, draw, getBoundingSphere, getLocalBoundingSphere, getMaterialAppearence, getParent, getProperty, getTranslation, getWorldToLocalTransform, isVisible, percolateDirtyUp, putProperty, rotate, rotate, scale, setParent, setVisible, transform, translate, translate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
geometries
private VGeometry[] geometries
CompositeGeometry
public CompositeGeometry(BoundingSphere sphere,
VGeometry... geoms)
markAsDirty
protected void markAsDirty()
- Overrides:
markAsDirty
in class VSpatial
updateWorldTransformation
public void updateWorldTransformation()
- Overrides:
updateWorldTransformation
in class VSpatial
doDraw
protected void doDraw(javax.media.opengl.GL gl)
- Description copied from class:
VSpatial
- Does the actual drawing.
- Specified by:
doDraw
in class VSpatial
setMaterialAppearence
public void setMaterialAppearence(MaterialAppearence app)
- Description copied from class:
VSpatial
- Sets the
MaterialAppearence
of this VSpatial.
- Overrides:
setMaterialAppearence
in class VSpatial
- Parameters:
app
- the new appearence
intersects
public void intersects(javax.vecmath.Point3f rayOrigin,
javax.vecmath.Vector3f rayDirection,
Accumulator accumulator)
- Description copied from class:
VSpatial
- Performs an intersection these on this VSpatial with the specified ray. If
the intersection passes, this VSpatial should be added to the Accumulator.
- Specified by:
intersects
in class VSpatial
- Parameters:
rayOrigin
- the ray's originrayDirection
- the ray's directionaccumulator
- the accumulator to add the VSpatial to