|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.joglutils.msg.nodes.Node
net.java.joglutils.msg.nodes.Shape
net.java.joglutils.msg.nodes.TriangleBasedShape
net.java.joglutils.msg.nodes.IndexedTriangleSet
public class IndexedTriangleSet
An IndexedTriangleSet assembles the coordinates specified by a Coordinate3 node, and any auxiliary nodes such as a TextureCoordinate2 node, into a set of triangles by indexing into the pools of coordinates set up by these other nodes. (NOTE: (FIXME) rendering support for this node is not yet implemented.)
| Constructor Summary | |
|---|---|
IndexedTriangleSet()
|
|
| Method Summary | |
|---|---|
void |
doAction(Action action)
Performs the "typical" operation for this node when an action is applied to it. |
void |
generateTriangles(Action action,
TriangleCallback cb)
Based on the state in the given Action, calls the specified triangle callback for each triangle in the shape. |
IntBuffer |
getIndices()
Returns the indices this node uses to group vertices into triangles. |
void |
setIndices(IntBuffer indices)
Sets the indices this node uses to group vertices into triangles. |
| Methods inherited from class net.java.joglutils.msg.nodes.TriangleBasedShape |
|---|
rayPick |
| Methods inherited from class net.java.joglutils.msg.nodes.Node |
|---|
render |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexedTriangleSet()
| Method Detail |
|---|
public void setIndices(IntBuffer indices)
public IntBuffer getIndices()
public void doAction(Action action)
Node
doAction in class Node
public void generateTriangles(Action action,
TriangleCallback cb)
TriangleBasedShape
generateTriangles in class TriangleBasedShape
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||