| java.lang.Object javax.media.j3d.SceneGraphObject javax.media.j3d.Node javax.media.j3d.Group javax.media.j3d.TransformGroup org.jdesktop.j3d.examples.gears.Gear org.jdesktop.j3d.examples.gears.SpurGear
All known Subclasses: org.jdesktop.j3d.examples.gears.SpurGearThinBody,
Constructor Summary | |
| SpurGear(int toothCount, float pitchCircleRadius, float addendum, float dedendum, float toothToValleyAngleRatio) | public | SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness) | public | SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, Appearance look) | public | SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, float toothTipThickness, Appearance look) | public | SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, float toothTipThickness, float toothToValleyAngleRatio, Appearance look) |
Method Summary | |
void | addTeeth(float pitchCircleRadius, float rootRadius, float outsideRadius, float gearThickness, float toothTipThickness, float toothToValleyAngleRatio, Appearance look) |
circularToothEdgeAngle | float circularToothEdgeAngle(Code) | | |
circularToothFlatAngle | float circularToothFlatAngle(Code) | | |
outsideRadius | float outsideRadius(Code) | | |
rootRadius | float rootRadius(Code) | | |
toothDeclineAngleIncrement | float toothDeclineAngleIncrement(Code) | | |
toothTopAngleIncrement | float toothTopAngleIncrement(Code) | | |
SpurGear | SpurGear(int toothCount, float pitchCircleRadius, float addendum, float dedendum, float toothToValleyAngleRatio)(Code) | | internal constructor for SpurGear, used by subclasses to establish
SpurGear's required state
a new spur gear that contains sufficient information tocontinue building Parameters: toothCount - number of teeth Parameters: pitchCircleRadius - radius at center of teeth Parameters: addendum - distance from pitch circle to top of teeth Parameters: dedendum - distance from pitch circle to root of teeth Parameters: toothToValleyAngleRatio - the ratio of the angle subtended by thetooth to the angle subtended by the valley (must be <= .25) |
SpurGear | public SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness)(Code) | | Construct a SpurGear;
a new spur gear that conforms to the input paramters Parameters: toothCount - number of teeth Parameters: pitchCircleRadius - radius at center of teeth Parameters: shaftRadius - radius of hole at center Parameters: addendum - distance from pitch circle to top of teeth Parameters: dedendum - distance from pitch circle to root of teeth Parameters: gearThickness - thickness of the gear |
SpurGear | public SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, Appearance look)(Code) | | Construct a SpurGear;
a new spur gear that conforms to the input paramters Parameters: toothCount - number of teeth Parameters: pitchCircleRadius - radius at center of teeth Parameters: shaftRadius - radius of hole at center Parameters: addendum - distance from pitch circle to top of teeth Parameters: dedendum - distance from pitch circle to root of teeth Parameters: gearThickness - thickness of the gear Parameters: look - the gear's appearance |
SpurGear | public SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, float toothTipThickness, Appearance look)(Code) | | Construct a SpurGear;
a new spur gear that conforms to the input paramters Parameters: toothCount - number of teeth Parameters: pitchCircleRadius - radius at center of teeth Parameters: shaftRadius - radius of hole at center Parameters: addendum - distance from pitch circle to top of teeth Parameters: dedendum - distance from pitch circle to root of teeth Parameters: gearThickness - thickness of the gear Parameters: toothTipThickness - thickness of the tip of the tooth Parameters: look - the gear's appearance |
SpurGear | public SpurGear(int toothCount, float pitchCircleRadius, float shaftRadius, float addendum, float dedendum, float gearThickness, float toothTipThickness, float toothToValleyAngleRatio, Appearance look)(Code) | | Construct a SpurGear;
a new spur gear that conforms to the input paramters Parameters: toothCount - number of teeth Parameters: pitchCircleRadius - radius at center of teeth Parameters: shaftRadius - radius of hole at center Parameters: addendum - distance from pitch circle to top of teeth Parameters: dedendum - distance from pitch circle to root of teeth Parameters: gearThickness - thickness of the gear Parameters: toothTipThickness - thickness of the tip of the tooth Parameters: toothToValleyAngleRatio - the ratio of the angle subtended by thetooth to the angle subtended by the valley (must be <= .25) Parameters: look - the gear's appearance object |
addTeeth | void addTeeth(float pitchCircleRadius, float rootRadius, float outsideRadius, float gearThickness, float toothTipThickness, float toothToValleyAngleRatio, Appearance look)(Code) | | Construct a SpurGear's teeth by adding the teeth shape nodes
Parameters: pitchCircleRadius - radius at center of teeth Parameters: rootRadius - distance from pitch circle to top of teeth Parameters: outsideRadius - distance from pitch circle to root of teeth Parameters: gearThickness - thickness of the gear Parameters: toothTipThickness - thickness of the tip of the tooth Parameters: toothToValleyAngleRatio - the ratio of the angle subtended by thetooth to the angle subtended by the valley (must be <= .25) Parameters: look - the gear's appearance object |
Fields inherited from javax.media.j3d.TransformGroup | final public static int ALLOW_TRANSFORM_READ(Code)(Java Doc) final public static int ALLOW_TRANSFORM_WRITE(Code)(Java Doc)
|
|
|