Package xj3d.filter.node
Class TextureTransform
java.lang.Object
xj3d.filter.node.BaseEncodable
xj3d.filter.node.TextureTransform
- All Implemented Interfaces:
Encodable,IAppearanceChild,ITextureTransform
Wrapper for an X3D TextureTransform node.
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat[]Field valuefloatField valuefloat[]Field valuefloat[]Field valueFields inherited from class xj3d.filter.node.BaseEncodable
bch, defName, fieldReader, handler, HANDLER_BINARY, HANDLER_NULL, HANDLER_STRING, handlerType, nodeName, sch, useName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class xj3d.filter.node.BaseEncodable
copy, deepEquals, getDefName, getMetadata, getNodeName, getUseName, setContentHandler, setDefName, setFieldReader, setMetadata, setUseNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface xj3d.filter.node.Encodable
deepEquals, getDefName, getNodeName, getUseName, setContentHandler, setDefName, setFieldReader, setUseName
-
Field Details
-
center
public float[] centerField value -
rotation
public float rotationField value -
scale
public float[] scaleField value -
translation
public float[] translationField value
-
-
Constructor Details
-
TextureTransform
public TextureTransform()Constructor -
TextureTransform
-
-
Method Details
-
clear
public void clear()Clear the node fields to their initial values- Specified by:
clearin interfaceEncodable- Overrides:
clearin classBaseEncodable
-
encode
public void encode()Push the node contents to the ContentHandler- Specified by:
encodein interfaceEncodable- Overrides:
encodein classBaseEncodable
-
setValue
-
setValue
Set the value of the named field.- Specified by:
setValuein interfaceEncodable- Overrides:
setValuein classBaseEncodable- Parameters:
name- The name of the field to set.value- The value of the field.len- The number of values in the array.
-
clone
Create and return a copy of this object.- Specified by:
clonein interfaceEncodable- Overrides:
clonein classBaseEncodable- Parameters:
full- true if the clone should contain a copy of the complete contents of this node and it's children, false returns a new instance of this node type.- Returns:
- a copy of this.
-