public interface PlaneSensor extends X3DDragSensorNode
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoOffset()
Provide boolean value from inputOutput SFBool field named autoOffset.
|
float[] |
getAxisRotation()
Provide array of 4-tuple float results unit axis, angle (in radians) from inputOutput SFRotation field named axisRotation.
|
java.lang.String |
getDescription()
Provide String value from inputOutput SFString field named description.
|
boolean |
getEnabled()
Provide boolean value from inputOutput SFBool field named enabled.
|
boolean |
getIsActive()
Provide boolean value from outputOnly SFBool field named isActive.
|
boolean |
getIsOver()
Provide boolean value from outputOnly SFBool field named isOver.
|
float[] |
getMaxPosition()
Provide array of 2-tuple float results from inputOutput SFVec2f field named maxPosition.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float[] |
getMinPosition()
Provide array of 2-tuple float results from inputOutput SFVec2f field named minPosition.
|
float[] |
getOffset()
Provide array of 3-tuple float results from inputOutput SFVec3f field named offset.
|
float[] |
getTrackPoint()
Provide array of 3-tuple float results from outputOnly SFVec3f field named trackPoint_changed.
|
float[] |
getTranslation()
Provide array of 3-tuple float results from outputOnly SFVec3f field named translation_changed.
|
PlaneSensor |
setAutoOffset(boolean newValue)
Assign boolean value to inputOutput SFBool field named autoOffset.
|
PlaneSensor |
setAxisRotation(float[] newValue)
Assign 4-tuple float array unit axis, angle (in radians) to inputOutput SFRotation field named axisRotation.
|
PlaneSensor |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
PlaneSensor |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
PlaneSensor |
setDescription(java.lang.String newValue)
Assign String value to inputOutput SFString field named description.
|
PlaneSensor |
setEnabled(boolean newValue)
Assign boolean value to inputOutput SFBool field named enabled.
|
PlaneSensor |
setMaxPosition(float[] newValue)
Assign 2-tuple float array to inputOutput SFVec2f field named maxPosition.
|
PlaneSensor |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
PlaneSensor |
setMinPosition(float[] newValue)
Assign 2-tuple float array to inputOutput SFVec2f field named minPosition.
|
PlaneSensor |
setOffset(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named offset.
|
PlaneSensor |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
boolean getAutoOffset()
getAutoOffset in interface X3DDragSensorNodePlaneSensor setAutoOffset(boolean newValue)
setAutoOffset in interface X3DDragSensorNodenewValue - is new value for the autoOffset field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getAxisRotation()
PlaneSensor setAxisRotation(float[] newValue)
newValue - is new value for the axisRotation field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).java.lang.String getDescription()
getDescription in interface X3DDragSensorNodegetDescription in interface X3DPointingDeviceSensorNodePlaneSensor setDescription(java.lang.String newValue)
setDescription in interface X3DDragSensorNodesetDescription in interface X3DPointingDeviceSensorNodenewValue - is new value for the description field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getEnabled()
getEnabled in interface X3DDragSensorNodegetEnabled in interface X3DPointingDeviceSensorNodegetEnabled in interface X3DSensorNodePlaneSensor setEnabled(boolean newValue)
setEnabled in interface X3DDragSensorNodesetEnabled in interface X3DPointingDeviceSensorNodesetEnabled in interface X3DSensorNodenewValue - is new value for the enabled field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).boolean getIsActive()
getIsActive in interface X3DDragSensorNodegetIsActive in interface X3DPointingDeviceSensorNodegetIsActive in interface X3DSensorNodeboolean getIsOver()
getIsOver in interface X3DDragSensorNodegetIsOver in interface X3DPointingDeviceSensorNodefloat[] getMaxPosition()
PlaneSensor setMaxPosition(float[] newValue)
newValue - is new value for the maxPosition field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DChildNodegetMetadata in interface X3DDragSensorNodegetMetadata in interface X3DNodegetMetadata in interface X3DPointingDeviceSensorNodegetMetadata in interface X3DSensorNodePlaneSensor setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DChildNodesetMetadata in interface X3DDragSensorNodesetMetadata in interface X3DNodesetMetadata in interface X3DPointingDeviceSensorNodesetMetadata in interface X3DSensorNodenewValue - is new value for the metadata field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getMinPosition()
PlaneSensor setMinPosition(float[] newValue)
newValue - is new value for the minPosition field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getOffset()
PlaneSensor setOffset(float[] newValue)
newValue - is new value for the offset field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getTrackPoint()
getTrackPoint in interface X3DDragSensorNodefloat[] getTranslation()
PlaneSensor setDEF(java.lang.String newValue)
setDEF in interface X3DChildNodesetDEF in interface X3DDragSensorNodesetDEF in interface X3DNodesetDEF in interface X3DPointingDeviceSensorNodesetDEF in interface X3DSensorNodenewValue - is new value for the DEF field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).PlaneSensor setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.setUSE in interface X3DChildNodesetUSE in interface X3DDragSensorNodesetUSE in interface X3DNodesetUSE in interface X3DPointingDeviceSensorNodesetUSE in interface X3DSensorNodenewValue - is new value for the USE field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).PlaneSensor setCssClass(java.lang.String newValue)
setCssClass in interface X3DChildNodesetCssClass in interface X3DDragSensorNodesetCssClass in interface X3DNodesetCssClass in interface X3DPointingDeviceSensorNodesetCssClass in interface X3DSensorNodenewValue - is new value for the class field.PlaneSensor - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.