|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.mines.jtk.sgl.Node
edu.mines.jtk.sgl.Group
edu.mines.jtk.sgl.LineGroup
public class LineGroup
A group of connected line segments.
| Constructor Summary | |
|---|---|
LineGroup(float[] xyz)
Constructs a line group with specified coordinates. |
|
LineGroup(float[] xyz,
float[] rgb)
Constructs a line group with specified coordinates and colors. |
|
| Method Summary |
|---|
| Methods inherited from class edu.mines.jtk.sgl.Group |
|---|
addChild, computeBoundingSphere, countChildren, cull, draw, getAttributeBits, getChildren, pick, removeChild |
| Methods inherited from class edu.mines.jtk.sgl.Node |
|---|
countParents, cullApply, cullBegin, cullEnd, dirtyBoundingSphere, dirtyDraw, drawApply, drawBegin, drawEnd, getBoundingSphere, getParents, getStates, getWorld, isSelected, pickApply, pickBegin, pickEnd, selectedChanged, setSelected, setStates |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineGroup(float[] xyz)
The (x,y,z) coordinates of points are packed into the specified array xyz. The number of points is np = xyz.length/3.
xyz - array[3*np] of packed point coordinates.
public LineGroup(float[] xyz,
float[] rgb)
The (x,y,z) coordinates of points are packed into the specified array xyz. The number of points is np = xyz.length/3.
The (r,g,b) components of colors are packed into the specified array rgb. The number of colors equals the number of points.
xyz - array[3*np] of packed point coordinates.rgb - array[3*np] of packed color components.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||