public class LineGroup extends Group
Constructor and Description |
---|
LineGroup(float[] xyz)
Constructs a line group with specified coordinates.
|
LineGroup(float[] xyz,
float[] rgb)
Constructs a line group with specified coordinates and colors.
|
addChild, computeBoundingSphere, countChildren, cull, draw, getAttributeBits, getChildren, pick, removeChild
countParents, cullApply, cullBegin, cullEnd, dirtyBoundingSphere, dirtyDraw, drawApply, drawBegin, drawEnd, getBoundingSphere, getParents, getStates, getWorld, isSelected, pickApply, pickBegin, pickEnd, selectedChanged, setSelected, setStates
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.