Class ModellViewer
java.lang.Object
|
+--ModellViewer
- public class ModellViewer
- extends java.lang.Object
Title: ModellViewer
Description: The ModellViewer Class is used to visualize the 3D
representation of the Hive. It is possible to add Honeycombs and Bees.
- Author:
- Dimitri Missoh & Daniel Schlosser
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
cv
javax.media.j3d.Canvas3D cv
universe
MyUniverse universe
xAngle
double xAngle
yAngle
double yAngle
zAngle
double zAngle
xTrans
int xTrans
yTrans
int yTrans
zTrans
int zTrans
aVector
javax.vecmath.Vector3d aVector
pufferTransform3D
javax.media.j3d.Transform3D pufferTransform3D
mulTransform3D
javax.media.j3d.Transform3D mulTransform3D
alltogether
javax.media.j3d.BranchGroup alltogether
HoneycombAddPoint
javax.media.j3d.BranchGroup HoneycombAddPoint
BeesAddPoint
javax.media.j3d.BranchGroup BeesAddPoint
temporaryRemoved
java.util.LinkedList temporaryRemoved
markviewd
MarkViewDialog markviewd
PDB
private PickDragBehavior PDB
firstCell
private Honeycomb firstCell
crystalisationPoint
private Koord3D crystalisationPoint
ModellViewer
public ModellViewer(javax.media.j3d.Canvas3D cv,
TheHive theHive)
initDialogConection
public void initDialogConection(MarkViewDialog mv)
getNumberOfHoneycombs
public int getNumberOfHoneycombs()
getSize
public Koord3D getSize()
getDichte
public double getDichte(long Bloecke)
setPositionOfFirstHoneycomb
public void setPositionOfFirstHoneycomb(Koord3D coordinate)
reportMarkingOperationToDialogs
public void reportMarkingOperationToDialogs(Koord3D coordinate)
addCell
public void addCell(Koord3D cell)
addCell
public void addCell(Koord3D[] waben)
removeCell
public void removeCell(Koord3D[] waben)
removeCell
public void removeCell(Koord3D cell)
addBee
public void addBee(Koord3D pos)
addBee
public void addBee(Koord3D[] pos)
moveBees
public void moveBees(Koord3D[] pos)
rotateAbsolutX
public void rotateAbsolutX(double a)
rotateAbsolutY
public void rotateAbsolutY(double a)
rotateAbsolutZ
public void rotateAbsolutZ(double a)
rotateRelativToView
public void rotateRelativToView(int dx,
int dy)
translateAbsolutX
public void translateAbsolutX(int t)
translateAbsolutY
public void translateAbsolutY(int t)
translateAbsolutZ
public void translateAbsolutZ(int t)
translateToCoordinates
public void translateToCoordinates(Koord3D coordinate)
zoomAbsolut
public void zoomAbsolut(double t)
zoomRelativToView
public void zoomRelativToView(int dy)
markHoneycomb
public void markHoneycomb(Koord3D pos,
java.awt.Color col)
demarkHoneycomb
public void demarkHoneycomb(Koord3D pos)
changeHoneycombColor
public void changeHoneycombColor(Koord3D pos,
java.awt.Color col)
clearall
public void clearall()
selectedToLines
public void selectedToLines()
selectedRemove
public void selectedRemove()
allTempRemovedBack
public void allTempRemovedBack()
allSolid
public void allSolid()
selectPolygon2D
public boolean selectPolygon2D(Koord3D[] chosen)
selectArea
public boolean selectArea(Koord3D[] chosen)
selectCube
public boolean selectCube(Koord3D[] chosen)
selectPolygon3D
public boolean selectPolygon3D(Koord3D[] chosen)
deselectEverything
private void deselectEverything()