public class TransformGroup extends Group
Constructor and Description |
---|
TransformGroup(Matrix44 transform)
Constructs a new transform group with specified transform.
|
Modifier and Type | Method and Description |
---|---|
protected BoundingSphere |
computeBoundingSphere(boolean finite)
Computes the bounding sphere for this transform group.
|
protected void |
cullBegin(CullContext cc)
Pushes the transform matrix onto the specified cull context.
|
protected void |
cullEnd(CullContext cc)
Pops the transform matrix from the specified cull context.
|
protected void |
drawBegin(DrawContext dc)
Pushes the transform matrix onto the specified draw context.
|
protected void |
drawEnd(DrawContext dc)
Pops the transform matrix from the specified draw context.
|
Matrix44 |
getTransform()
Gets the transform for this group.
|
protected void |
pickBegin(PickContext pc)
Pushes the transform matrix onto the specified pick context.
|
protected void |
pickEnd(PickContext pc)
Pops the transform matrix from the specified pick context.
|
void |
setTransform(Matrix44 transform)
Sets the transform for this group.
|
addChild, countChildren, cull, draw, getAttributeBits, getChildren, pick, removeChild
countParents, cullApply, dirtyBoundingSphere, dirtyDraw, drawApply, getBoundingSphere, getParents, getStates, getWorld, isSelected, pickApply, selectedChanged, setSelected, setStates
public TransformGroup(Matrix44 transform)
transform
- the transform; copied, not referenced.public Matrix44 getTransform()
public void setTransform(Matrix44 transform)
transform
- the transform; by copy, not by reference.protected void cullBegin(CullContext cc)
protected void cullEnd(CullContext cc)
protected void drawBegin(DrawContext dc)
protected void drawEnd(DrawContext dc)
protected void pickBegin(PickContext pc)
protected void pickEnd(PickContext pc)
protected BoundingSphere computeBoundingSphere(boolean finite)
computeBoundingSphere
in class Group
finite
- true, to force bounding sphere to be finite.