|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.ohiou.cs456_badabing.sceneapi.basic.ANode
edu.ohiou.cs456_badabing.sceneapi.basic.ModelNode
public class ModelNode
Wrapper class for ModelFile that can be put anywhere in the scene tree.
Description: wrapper class for ModelFile that can be put anywhere in the scene tree.
Copyright: Lev A Neiman 2008
Company: Ohio University EECS
| Field Summary | |
|---|---|
ModelFile |
data
handle on the ModelFile object which contains model data. |
java.util.Vector<MaterialGroupNode> |
mtl_nodes
|
| Fields inherited from class edu.ohiou.cs456_badabing.sceneapi.basic.ANode |
|---|
children, display_list, name, no_disp_list, parent, ppop, rotation, rotation_angle, scale, show, translation |
| Constructor Summary | |
|---|---|
ModelNode(ModelFile data)
default constructor. |
|
| Method Summary | |
|---|---|
private void |
populateMtls()
|
void |
render(GLAutoDrawable gld)
Overridden method from ANode. |
| Methods inherited from class edu.ohiou.cs456_badabing.sceneapi.basic.ANode |
|---|
addChild, countNodes, drawCube, getName, getNormal, hideTree, pushPop, renderTree, rotation, scale, setName, setParent, setPushPop, showTree, translation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ModelFile data
public java.util.Vector<MaterialGroupNode> mtl_nodes
| Constructor Detail |
|---|
public ModelNode(ModelFile data)
data - ModelFile| Method Detail |
|---|
private void populateMtls()
public void render(GLAutoDrawable gld)
render in class ANodegld - GLAutoDrawable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||