public final class M44dAttribute extends TypedAttribute<Matrix44<Double>>
TypedAttribute
subclass holding a Matrix44<Double>
value.Attribute.AttributeCreator, Attribute.AttributeCreatorProvider
value
Constructor and Description |
---|
M44dAttribute() |
M44dAttribute(Matrix44<Double> value) |
Modifier and Type | Method and Description |
---|---|
protected Matrix44<Double> |
cloneValue()
Clones the value, required by
TypedAttribute.clone() . |
protected void |
readValueFrom(XdrInput input,
int version)
Set the value of this attribute by reading from the given input buffer.
|
String |
typeName()
Get this attribute's type name as it appears in an OpenEXR header.
|
protected void |
writeValueTo(XdrOutput output)
Writes the value of this attribute into the given output buffer.
|
checkedValueOf, checkSize, clone, equals, getValue, hashCode, readValueFrom, setValue, toString, valueOf, writeValueTo
public String typeName()
Attribute
protected void readValueFrom(XdrInput input, int version) throws EXRIOException
TypedAttribute
version
parameters is the 4-byte integer
following the magic number at the beginning of an OpenEXR file with the
file version and feature flags.
The default implementation throws an
UnsupportedOperationException
.
readValueFrom
in class TypedAttribute<Matrix44<Double>>
input
- data input from which the value will be read.version
- file version and flags as provided in the OpenEXR file.EXRIOException
- if there is an error in the file format
or if there is an I/O errorprotected void writeValueTo(XdrOutput output) throws EXRIOException
TypedAttribute
TypedAttribute.writeValueTo(XdrOutput, int)
.
The default implementation throws an
UnsupportedOperationException
.
writeValueTo
in class TypedAttribute<Matrix44<Double>>
output
- data output into which the value will be written.EXRIOException
- if there is an I/O error.protected Matrix44<Double> cloneValue()
TypedAttribute
TypedAttribute.clone()
. Most of the times
instances should create a deep copy of their value.cloneValue
in class TypedAttribute<Matrix44<Double>>