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, childObjects
containerField
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, setBboxSize
getContainerField, setContainerField
getClazz, getDEF, getIS, getMetadataObject, getUSE, setDEF, setIS, setMetadataObject, setUSE
protected SFVec3f center
protected SFRotation rotation
protected SFVec3f scale
protected SFRotation scaleOrientation
protected SFVec3f translation
public SFVec3f getCenter()
SFVec3f
public void setCenter(SFVec3f value)
value
- allowed object is String
public void setCenter(float xValue, float yValue, float zValue)
public SFRotation getRotation()
SFRotation
public void setRotation(SFRotation value)
value
- allowed object is SFRotation
public 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()
SFVec3f
public void setScale(SFVec3f value)
value
- allowed object is SFVec3f
public 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()
SFRotation
public void setScaleOrientation(SFRotation value)
value
- allowed object is SFRotation
public 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()
SFVec3f
public void setTranslation(SFVec3f value)
value
- allowed object is String
public void setTranslation(float translateX, float translateY, float translateZ)
translateX
- translation in X direction.translateY
- translation in Y direction.translateZ
- translation in Z direction.