public class PointGroup extends Group
Constructor and Description |
---|
PointGroup(float[] xyz)
Constructs a points group with specified coordinates.
|
PointGroup(float[] xyz,
float[] rgb)
Constructs a points group with specified coordinates and colors.
|
PointGroup(float size,
float[] xyz)
Constructs a points group with specified coordinates.
|
PointGroup(float size,
float[] xyz,
float[] rgb)
Constructs a points 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 PointGroup(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 PointGroup(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.public PointGroup(float size, 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.
size
- size of cubes used to represent points.xyz
- array[3*np] of packed point coordinates.public PointGroup(float size, 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.
size
- size of cubes used to represent points.xyz
- array[3*np] of packed point coordinates.rgb
- array[3*np] of packed color components.