|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gnu.gleem.ManipPart
A ManipPart is a visible or invisible sub-part of a manipulator. ManipParts are organized into trees.
| Constructor Summary | |
ManipPart()
|
|
| Method Summary | |
abstract void |
clearHighlight()
Unhighlight this part |
ManipPartGroup |
getParent()
Get the parent ManipPartGroup, or null if none (NOTE that this differs from the C++ API) |
abstract boolean |
getPickable()
|
abstract boolean |
getVisible()
|
abstract void |
highlight()
Highlight this part |
abstract void |
intersectRay(Vec3f rayStart,
Vec3f rayDirection,
java.util.List results,
Manip caller)
Intersect a ray with this part, returning all intersected points as HitPoints in the result list. |
abstract void |
render(gl4java.GLFunc gl)
Render this ManipPart now using the given OpenGL routines and assuming an OpenGL context is current. |
void |
setParent(ManipPartGroup parent)
Set the parent ManipPartGroup of this ManipPart (NOTE that this differs from the C++ API) |
abstract void |
setPickable(boolean pickable)
Is this part pickable, or just decorative? Not pickable implies that intersectRay() will return immediately. |
abstract void |
setTransform(Mat4f xform)
Sets the transform of this part. |
abstract void |
setVisible(boolean visible)
Is this part visible? |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ManipPart()
| Method Detail |
public ManipPartGroup getParent()
public void setParent(ManipPartGroup parent)
public abstract void intersectRay(Vec3f rayStart,
Vec3f rayDirection,
java.util.List results,
Manip caller)
public abstract void setTransform(Mat4f xform)
public abstract void highlight()
public abstract void clearHighlight()
public abstract void setPickable(boolean pickable)
public abstract boolean getPickable()
public abstract void setVisible(boolean visible)
public abstract boolean getVisible()
public abstract void render(gl4java.GLFunc gl)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||