public abstract class AxisAlignedPanel extends Node
Constructor and Description |
---|
AxisAlignedPanel()
Constructs a panel with null frame.
|
AxisAlignedPanel(AxisAlignedFrame frame)
Constructs a panel with specified frame.
|
Modifier and Type | Method and Description |
---|---|
protected BoundingSphere |
computeBoundingSphere(boolean finite)
Computes the bounding sphere for this panel.
|
BoxConstraint |
getBoxConstraint()
Gets the box constraint for this panel.
|
AxisAlignedFrame |
getFrame()
Gets the frame for this panel.
|
void |
pick(PickContext pc)
Picks this panel.
|
void |
setFrame(AxisAlignedFrame frame)
Sets the frame for this panel.
|
countParents, cull, cullApply, cullBegin, cullEnd, dirtyBoundingSphere, dirtyDraw, draw, drawApply, drawBegin, drawEnd, getAttributeBits, getBoundingSphere, getParents, getStates, getWorld, isSelected, pickApply, pickBegin, pickEnd, selectedChanged, setSelected, setStates
public AxisAlignedPanel()
public AxisAlignedPanel(AxisAlignedFrame frame)
frame
- the frame.public AxisAlignedFrame getFrame()
public void setFrame(AxisAlignedFrame frame)
frame
- the frame; null, if none.public BoxConstraint getBoxConstraint()
public void pick(PickContext pc)
Panels that extend this class and that precisely fill their quad frame when drawn may simply inherit this implementation.
protected BoundingSphere computeBoundingSphere(boolean finite)
Panels that extend this class typically inherit this implementation, but may of course override it as necessary.
computeBoundingSphere
in class Node
finite
- true, to force bounding sphere to be finite.