|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsubscript.vis.VisObject
subscript.vis.VisCube
public class VisCube
A 3D cube.
Constructor Summary | |
---|---|
VisCube(double size)
|
|
VisCube(double size,
VisSurfaceStyle sstyle)
|
Method Summary | |
---|---|
Box3D |
getExtents(Matrix S)
Get the bounding box in global coordinates, i.e., using the object's transform T and the passed-in matrix S. |
void |
render(VisRenderer r,
VisWorld world,
VisView v)
Called by VisCanvas when it is time to render the object. |
Methods inherited from class subscript.vis.VisObject |
---|
getPosition, rotateX, rotateY, rotateZ, setPosition, setPosition, setPosition, setPositionT, setPositionXYT, setPositionXYT, setPositionXYZ, transform, transform, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisCube(double size)
public VisCube(double size, VisSurfaceStyle sstyle)
Method Detail |
---|
public void render(VisRenderer r, VisWorld world, VisView v)
VisObject
render
in class VisObject
public Box3D getExtents(Matrix S)
VisObject
getExtents
in class VisObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |