|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.viz3d.VSpatial
anl.aida.viz3d.VGeometry
anl.aida.viz3d.VShapeTF
public class VShapeTF
Encapsulates a vertex array in a VNode. This assumes the vertex array is GL.GL_TRIANGLE_FAN format.
Field Summary |
---|
Fields inherited from class anl.aida.viz3d.VGeometry |
---|
geom, mode, vertexCount |
Fields inherited from class anl.aida.viz3d.VSpatial |
---|
appearence, boundingSphere, clientMap, dirty, id, localRotation, localScale, localTrans, parent, visible, worldRotation, worldScale, worldTrans |
Constructor Summary | |
---|---|
VShapeTF(GeometryData geom)
|
Method Summary | |
---|---|
protected boolean |
intersects(javax.vecmath.Point3f rayOrigin,
javax.vecmath.Vector3f rayDirection)
Tests whether the ray intersects with the geometry (the triangles) of this shape. |
Methods inherited from class anl.aida.viz3d.VGeometry |
---|
doDraw, intersects |
Methods inherited from class anl.aida.viz3d.VSpatial |
---|
doGetBoundingSphere, draw, getBoundingSphere, getLocalBoundingSphere, getMaterialAppearence, getParent, getProperty, getTranslation, getWorldToLocalTransform, isVisible, markAsDirty, percolateDirtyUp, putProperty, rotate, rotate, scale, setMaterialAppearence, setParent, setVisible, transform, translate, translate, updateWorldTransformation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VShapeTF(GeometryData geom)
Method Detail |
---|
protected boolean intersects(javax.vecmath.Point3f rayOrigin, javax.vecmath.Vector3f rayDirection)
intersects
in class VGeometry
rayOrigin
- the ray's originrayDirection
- the ray's shape
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |