simbad.sim
Class BlockWorldObject

java.lang.Object
  extended by simbad.sim.BaseObject
      extended by simbad.sim.StaticObject
          extended by simbad.sim.BlockWorldObject
Direct Known Subclasses:
BlockWorldCompositeObject, Box

public class BlockWorldObject
extends StaticObject

Base Object for all simple block world objects (box,wall.).


Field Summary
 
Fields inherited from class simbad.sim.StaticObject
appearance, localToVworld, transformedBounds
 
Fields inherited from class simbad.sim.BaseObject
black, branchGroup, canBeTraversed, compilable, detachedFromSceneGraph, group, localBounds, material, rotation, rotationGroup, translation, translationGroup, white, world
 
Constructor Summary
BlockWorldObject()
           
 
Method Summary
 void rotate90(int ntimes)
          Rotates the object counter clockwise.
 void setColor(javax.vecmath.Color3f color)
          Set the object color
 
Methods inherited from class simbad.sim.StaticObject
create3D, createLocalToVworld, createTransformedBounds, getTransformedBounds, intersect
 
Methods inherited from class simbad.sim.BaseObject
addChild, addChild, attach, compile, create3D, detach, getBounds, getCanBeTraversed, getGroup, getNode, getRotationTransform, getRotationTransformGroup, getTranslation, getTranslationTransform, getTranslationTransform, resetTransforms, rotateY, setBounds, setCanBeTraversed, setWorld, translateTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockWorldObject

public BlockWorldObject()
Method Detail

setColor

public void setColor(javax.vecmath.Color3f color)
Set the object color

Overrides:
setColor in class BaseObject

rotate90

public void rotate90(int ntimes)
Rotates the object counter clockwise.