public class SpurGear extends Gear
ALLOW_TRANSFORM_READ, ALLOW_TRANSFORM_WRITE
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
Constructor and Description |
---|
SpurGear(int toothCount,
float pitchCircleRadius,
float shaftRadius,
float addendum,
float dedendum,
float gearThickness)
Construct a SpurGear;
|
SpurGear(int toothCount,
float pitchCircleRadius,
float shaftRadius,
float addendum,
float dedendum,
float gearThickness,
Appearance look)
Construct a SpurGear;
|
SpurGear(int toothCount,
float pitchCircleRadius,
float shaftRadius,
float addendum,
float dedendum,
float gearThickness,
float toothTipThickness,
Appearance look)
Construct a SpurGear;
|
SpurGear(int toothCount,
float pitchCircleRadius,
float shaftRadius,
float addendum,
float dedendum,
float gearThickness,
float toothTipThickness,
float toothToValleyAngleRatio,
Appearance look)
Construct a SpurGear;
|
getCircularPitchAngle, getToothTopCenterAngle, getValleyCenterAngle
cloneNode, getTransform, setTransform
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
public SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness)
toothCount
- number of teethpitchCircleRadius
- radius at center of teethshaftRadius
- radius of hole at centeraddendum
- distance from pitch circle to top of teethdedendum
- distance from pitch circle to root of teethgearThickness
- thickness of the gearpublic SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, Appearance look)
toothCount
- number of teethpitchCircleRadius
- radius at center of teethshaftRadius
- radius of hole at centeraddendum
- distance from pitch circle to top of teethdedendum
- distance from pitch circle to root of teethgearThickness
- thickness of the gearlook
- the gear's appearancepublic SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, float toothTipThickness, Appearance look)
toothCount
- number of teethpitchCircleRadius
- radius at center of teethshaftRadius
- radius of hole at centeraddendum
- distance from pitch circle to top of teethdedendum
- distance from pitch circle to root of teethgearThickness
- thickness of the geartoothTipThickness
- thickness of the tip of the toothlook
- the gear's appearancepublic SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, float toothTipThickness, float toothToValleyAngleRatio, Appearance look)
toothCount
- number of teethpitchCircleRadius
- radius at center of teethshaftRadius
- radius of hole at centeraddendum
- distance from pitch circle to top of teethdedendum
- distance from pitch circle to root of teethgearThickness
- thickness of the geartoothTipThickness
- thickness of the tip of the toothtoothToValleyAngleRatio
- the ratio of the angle subtended by the
tooth to the angle subtended by the valley (must be <= .25)look
- the gear's appearance object