|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--marchingcubes.MCMesh
| Field Summary | |
protected marchingcubes.MCMatrix4 |
modelView
|
| Constructor Summary | |
MCMesh()
default constructor of a MCMesh object |
|
| Method Summary | |
void |
addCube(marchingcubes.MCCube _cube,
int position,
java.lang.String name)
adds a new cube to the mesh |
marchingcubes.MCVector3 |
computeCenter()
computes the center of the mesh |
void |
deleteCube(marchingcubes.MCCube cube)
deletes a cube from the mesh |
void |
display()
draws the mesh |
java.util.Vector |
getCubes()
returns the cubes of the mesh |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected marchingcubes.MCMatrix4 modelView
| Constructor Detail |
public MCMesh()
| Method Detail |
public void addCube(marchingcubes.MCCube _cube,
int position,
java.lang.String name)
_cube - the cube of the mesh next to which a new cube should be addedposition - the position of the new cube in comparison with _cubename - identifier of the new cubepublic void deleteCube(marchingcubes.MCCube cube)
cube - the cube of the mesh to deletepublic marchingcubes.MCVector3 computeCenter()
public java.util.Vector getCubes()
public void display()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||