public class Transform extends X3DGroupingNode
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{}X3DGroupingNode">
<attribute name="center" type="{}SFVec3f" default="0 0 0" />
<attribute name="rotation" type="{}SFRotation" default="0 0 1 0" />
<attribute name="scale" type="{}SFVec3f" default="1 1 1" />
<attribute name="scaleOrientation" type="{}SFRotation" default="0 0 1 0" />
<attribute name="translation" type="{}SFVec3f" default="0 0 0" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected SFVec3f |
center |
protected SFRotation |
rotation |
protected SFVec3f |
scale |
protected SFRotation |
scaleOrientation |
protected SFVec3f |
translation |
bboxCenter, bboxSize, childObjectscontainerField| Constructor and Description |
|---|
Transform() |
| Modifier and Type | Method and Description |
|---|---|
SFVec3f |
getCenter()
Gets the value of the center property.
|
SFRotation |
getRotation()
Gets the value of the rotation property.
|
SFVec3f |
getScale()
Gets the value of the scale property.
|
SFRotation |
getScaleOrientation()
Gets the value of the scaleOrientation property.
|
SFVec3f |
getTranslation()
Gets the value of the translation property.
|
void |
setCenter(float xValue,
float yValue,
float zValue) |
void |
setCenter(SFVec3f value)
Sets the value of the center property.
|
void |
setRotation(float xValue,
float yValue,
float zValue,
float angle)
Sets the value of the rotation property.
|
void |
setRotation(SFRotation value)
Sets the value of the rotation property.
|
void |
setScale(float scaleX,
float scaleY,
float scaleZ)
Sets the value of the scale property.
|
void |
setScale(SFVec3f value)
Sets the value of the scale property.
|
void |
setScaleOrientation(float xValue,
float yValue,
float zValue,
float angle)
Sets the value of the setScaleOrientation property.
|
void |
setScaleOrientation(SFRotation value)
Sets the value of the scaleOrientation property.
|
void |
setTranslation(float translateX,
float translateY,
float translateZ)
Sets the value of the translation property.
|
void |
setTranslation(SFVec3f value)
Sets the value of the translation property.
|
getBboxCenter, getBboxSize, getChildObjects, setBboxCenter, setBboxSizegetContainerField, setContainerFieldgetClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSEprotected SFVec3f center
protected SFRotation rotation
protected SFVec3f scale
protected SFRotation scaleOrientation
protected SFVec3f translation
public SFVec3f getCenter()
SFVec3fpublic void setCenter(SFVec3f value)
value - allowed object is Stringpublic void setCenter(float xValue,
float yValue,
float zValue)
public SFRotation getRotation()
SFRotationpublic void setRotation(SFRotation value)
value - allowed object is SFRotationpublic void setRotation(float xValue,
float yValue,
float zValue,
float angle)
xValue - the x component of the rotation axis.yValue - the y component of the rotation axis.zValue - the z component of the rotation axis.angle - the angle of rotation.public SFVec3f getScale()
SFVec3fpublic void setScale(SFVec3f value)
value - allowed object is SFVec3fpublic void setScale(float scaleX,
float scaleY,
float scaleZ)
scaleX - scaling in X direction.scaleY - scaling in Y direction.scaleZ - scaling in Z direction.public SFRotation getScaleOrientation()
SFRotationpublic void setScaleOrientation(SFRotation value)
value - allowed object is SFRotationpublic void setScaleOrientation(float xValue,
float yValue,
float zValue,
float angle)
xValue - the x component of the scaleOrientation axis.yValue - the y component of the scaleOrientation axis.zValue - the z component of the scaleOrientation axis.angle - the angle of rotation.public SFVec3f getTranslation()
SFVec3fpublic void setTranslation(SFVec3f value)
value - allowed object is Stringpublic void setTranslation(float translateX,
float translateY,
float translateZ)
translateX - translation in X direction.translateY - translation in Y direction.translateZ - translation in Z direction.