|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hedgehog.HObject
com.hedgehog.x3d.nodes.X3DNode
com.hedgehog.x3d.nodes.X3DChildNode
com.hedgehog.x3d.sensor.X3DSensorNode
com.hedgehog.x3d.sensor.X3DPointingDeviceSensorNode
com.hedgehog.x3d.sensor.X3DDragSensorNode
com.hedgehog.x3d.sensor.CylinderSensorNode
public class CylinderSensorNode
Title: CylinderSensorNode - represents the X3D CylinderSensor node.
Description: Represents the X3D CylinderSensor node.
Copyright: Copyright (c) Hedgehog Software.
Company: Hedgehog Software.
| Field Summary | |
|---|---|
protected SFRotation |
mAxisRotation
Axis of rotation. |
protected SFFloat |
mDiskAngle
Maximum position. |
protected SFFloat |
mMaxAngle
Maximum angle. |
protected SFFloat |
mMinAngle
Minimum angle. |
protected SFFloat |
mOffset
Offset. |
| Fields inherited from class com.hedgehog.x3d.sensor.X3DDragSensorNode |
|---|
mAutoOffset |
| Fields inherited from class com.hedgehog.x3d.sensor.X3DPointingDeviceSensorNode |
|---|
mDescription, mEnabled |
| Fields inherited from class com.hedgehog.x3d.nodes.X3DNode |
|---|
mDefine, mMetadata |
| Fields inherited from class com.hedgehog.HObject |
|---|
mID, mName |
| Constructor Summary | |
|---|---|
CylinderSensorNode()
Default constructor. |
|
CylinderSensorNode(CylinderSensorNode object)
Copy constructor. |
|
CylinderSensorNode(SFString description,
SFBool enabled,
SFBool autoOffset,
SFRotation axisRotation,
SFFloat diskAngle,
SFFloat maxAngle,
SFFloat minAngle,
SFFloat offset)
Constructor. |
|
| Method Summary | |
|---|---|
SFRotation |
getAxisRotation()
Returns the axis of rotation. |
SFFloat |
getDiskAngle()
Returns the disk angle. |
SFFloat |
getMaxAngle()
Returns the maximum angle. |
SFFloat |
getMinAngle()
Returns the minimum angle. |
SFFloat |
getOffset()
Returns the offset. |
void |
setAxisRotation(SFRotation axisRotation)
sets the axis rotation. |
void |
setDiskAngle(SFFloat diskAngle)
Sets the disk angle. |
void |
setMaxAngle(SFFloat maxAngle)
Sets the maximum angle. |
void |
setMinAngle(SFFloat minAngle)
Sets the minimum angle. |
void |
setOffset(SFFloat offset)
Sets the offset. |
org.w3c.dom.Element |
toXMLNode(org.w3c.dom.Document document,
org.w3c.dom.Element documentRootNode)
Converts this X3D node to an XML node. |
| Methods inherited from class com.hedgehog.x3d.sensor.X3DDragSensorNode |
|---|
getAutoOffset, setAutoOffset |
| Methods inherited from class com.hedgehog.x3d.sensor.X3DPointingDeviceSensorNode |
|---|
getDescription, getEnabled, setDescription, setEnabled |
| Methods inherited from class com.hedgehog.x3d.nodes.X3DNode |
|---|
getDefine, getMeatadata, hasDefine, setDefine, setMetadata |
| Methods inherited from class com.hedgehog.HObject |
|---|
clone, compare, compareTo, copy, equals, getID, getName, hashCode, hasID, hasName, setID, setName |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SFRotation mAxisRotation
protected SFFloat mDiskAngle
protected SFFloat mMaxAngle
protected SFFloat mMinAngle
protected SFFloat mOffset
| Constructor Detail |
|---|
public CylinderSensorNode()
public CylinderSensorNode(SFString description,
SFBool enabled,
SFBool autoOffset,
SFRotation axisRotation,
SFFloat diskAngle,
SFFloat maxAngle,
SFFloat minAngle,
SFFloat offset)
description - Description.enabled - Enabled/disabled.autoOffset - Auto offset.axisRotation - Axis of rotation.diskAngle - Disk angle.maxAngle - Maximum angle.minAngle - Minimum angle.offset - Offset.public CylinderSensorNode(CylinderSensorNode object)
object - Object to oopy.| Method Detail |
|---|
public SFRotation getAxisRotation()
public SFFloat getDiskAngle()
public SFFloat getMaxAngle()
public SFFloat getMinAngle()
public SFFloat getOffset()
public void setAxisRotation(SFRotation axisRotation)
axisRotation - New axis rotation.public void setDiskAngle(SFFloat diskAngle)
diskAngle - New disk angle.public void setMaxAngle(SFFloat maxAngle)
maxAngle - New minimum angle.public void setMinAngle(SFFloat minAngle)
minAngle - New minimum angle.public void setOffset(SFFloat offset)
offset - New offset.
public org.w3c.dom.Element toXMLNode(org.w3c.dom.Document document,
org.w3c.dom.Element documentRootNode)
throws InvalidObjectException
toXMLNode in class X3DNodedocument - XML document.documentRootNode - Document root node; ie InvalidObjectException - Thrown if this object is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||