|
||||||||||
| 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.AxisAlignedQuad
public class AxisAlignedQuad
An axis-aligned quad has one frame that contains one or more panels. The quad is constrained to lie within a box specified by two corner points.
| Constructor Summary | |
|---|---|
AxisAlignedQuad(Axis axis,
Point3 qa,
Point3 qb)
Constructs an axis-aligned quad with specified axis and corner points. |
|
| Method Summary | |
|---|---|
void |
drag(DragContext dc)
During dragging, this method is called when the mouse moves. |
void |
dragBegin(DragContext dc)
Begins dragging. |
void |
dragEnd(DragContext dc)
Ends dragging. |
AxisAlignedFrame |
getFrame()
Gets the frame for this quad. |
protected void |
selectedChanged()
This method is called when the selected state of this node has changed. |
| 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, getWorld, isSelected, pickApply, pickBegin, pickEnd, setSelected, setStates |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.mines.jtk.sgl.Selectable |
|---|
isSelected, setSelected |
| Constructor Detail |
|---|
public AxisAlignedQuad(Axis axis,
Point3 qa,
Point3 qb)
axis - the axis orthogonal to the plane of this quad.qa - a corner point.qb - a corner point.| Method Detail |
|---|
public AxisAlignedFrame getFrame()
public void dragBegin(DragContext dc)
Dragable
dragBegin in interface Dragabledc - the drag context.public void drag(DragContext dc)
Dragable
drag in interface Dragabledc - the drag context.public void dragEnd(DragContext dc)
Dragable
dragEnd in interface Dragabledc - the drag context.protected void selectedChanged()
NodeThis implementation does nothing.
selectedChanged in class Node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||