|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.byu.phun.PropertyContainer
edu.byu.phun.Obj3D
edu.byu.phun.GroupObj
edu.byu.phun.body.BodyPart
edu.byu.phun.body.ForeArm
public class ForeArm
The forearm is all of the arm below the elbow. This controls the flex of the wrist.
| Constructor Summary | |
|---|---|
ForeArm()
Create a new ForeArm. |
|
| Method Summary | |
|---|---|
Color |
getSkinColor()
Returns the skin color. |
double |
getWristFlex()
This returns the flex of the wrist. |
double |
getWristTwist()
Returns the wrist twist. |
void |
setSkinColor(Color color)
Change the skin color. |
void |
setWristFlex(double degrees)
Changes the wrist flex. |
void |
setWristTwist(double degrees)
This controls the twist of the wrist around the axis of the forearm. |
| Methods inherited from class edu.byu.phun.GroupObj |
|---|
addPart, getPart, getPart, nParts, partNames, removePart, removePart, setColor, setPart |
| Methods inherited from class edu.byu.phun.Obj3D |
|---|
getBounds, getColor, getLocation, getName, getRotX, getRotY, getRotZ, getScaleX, getScaleY, getScaleZ, getShininess, setColor, setLocation, setLocation, setName, setRotX, setRotY, setRotZ, setScale, setScale, setScaleX, setScaleY, setScaleZ, setShininess, toString |
| Methods inherited from class edu.byu.phun.PropertyContainer |
|---|
getPropertyC, getPropertyD, getPropertyP, getPropertyS, propertyIsColor, propertyIsDouble, propertyIsPoint, propertyIsSettable, propertyIsString, propertyNames, setProperty, setProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForeArm()
| Method Detail |
|---|
public void setSkinColor(Color color)
color - the new skin color.public Color getSkinColor()
public void setWristTwist(double degrees)
degrees - the degrees of twist. Positive angles will rotate
the thumb to the left (from the body).public double getWristTwist()
setWristTwist(double)public double getWristFlex()
setWristFlex(double)public void setWristFlex(double degrees)
degrees - 0 will hold the wrist straight. positive will bend
the wrist to the right (from the body's view).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||