uml3d.visual
Class SimpleBox
java.lang.Object
|
+--javax.media.j3d.SceneGraphObject
|
+--javax.media.j3d.Node
|
+--javax.media.j3d.Group
|
+--javax.media.j3d.TransformGroup
|
+--uml3d.visual.SimpleShape
|
+--uml3d.visual.SimpleBox
- Direct Known Subclasses:
- ExtendedBox
- public class SimpleBox
- extends SimpleShape
SimpleBox is simply a Box with predefined color and size. It serves as
the visual representation for classes, objects etc.
It is not a geometryNode, but it has a geometry which is inside
the transformGroup.
| Fields inherited from class javax.media.j3d.TransformGroup |
ALLOW_TRANSFORM_READ,
ALLOW_TRANSFORM_WRITE |
| Fields inherited from class javax.media.j3d.Group |
ALLOW_CHILDREN_EXTEND,
ALLOW_CHILDREN_READ,
ALLOW_CHILDREN_WRITE,
ALLOW_COLLISION_BOUNDS_READ,
ALLOW_COLLISION_BOUNDS_WRITE |
| Fields inherited from class javax.media.j3d.Node |
ALLOW_AUTO_COMPUTE_BOUNDS_READ,
ALLOW_AUTO_COMPUTE_BOUNDS_WRITE,
ALLOW_BOUNDS_READ,
ALLOW_BOUNDS_WRITE,
ALLOW_COLLIDABLE_READ,
ALLOW_COLLIDABLE_WRITE,
ALLOW_LOCAL_TO_VWORLD_READ,
ALLOW_PICK,
ALLOW_PICKABLE_READ,
ALLOW_PICKABLE_WRITE,
ENABLE_COLLISION_REPORTING,
ENABLE_PICK_REPORTING |
| Methods inherited from class javax.media.j3d.TransformGroup |
cloneNode,
duplicateNode,
getTransform,
setTransform |
| Methods inherited from class javax.media.j3d.Group |
addChild,
getAllChildren,
getAlternateCollisionTarget,
getChild,
getCollisionBounds,
insertChild,
moveTo,
numChildren,
removeChild,
setAlternateCollisionTarget,
setChild,
setCollisionBounds |
| Methods inherited from class javax.media.j3d.Node |
cloneTree,
cloneTree,
cloneTree,
getBounds,
getBoundsAutoCompute,
getCollidable,
getLocalToVworld,
getLocalToVworld,
getParent,
getPickable,
setBounds,
setBoundsAutoCompute,
setCollidable,
setPickable |
| Methods inherited from class javax.media.j3d.SceneGraphObject |
clearCapability,
duplicateSceneGraphObject,
getCapability,
getUserData,
isCompiled,
isLive,
setCapability,
setUserData |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
stdAppearance
public static javax.media.j3d.Appearance stdAppearance
init
public static boolean init
colr
public static float colr
SimpleBox
public SimpleBox()
getPosition
public javax.vecmath.Point3f getPosition()
getIntersection
public javax.vecmath.Point3f getIntersection(javax.vecmath.Vector3f opposite)