|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLed3D
public class Led3D
This class is responsible for displaying the 3D View of our Cube.
Constructor Summary | |
---|---|
Led3D(javax.media.j3d.Canvas3D canv)
|
Method Summary | |
---|---|
void |
printTranslationData()
Prints the translation matrix that is changed by moving/rotating the 3D Cube with your mouse. |
void |
resetView()
Rotate the cube back to its initial position. |
void |
setData(short[] data)
Sets the data that is displayed by the LEDs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Led3D(javax.media.j3d.Canvas3D canv)
canv
- The Canvas3D we render our cube inMethod Detail |
---|
public void resetView()
public void printTranslationData()
public void setData(short[] data)
data
- 64 byte array with the data (8 bits/LEDs per byte)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |