|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--icc.tags.ICCTag
|
+--icc.tags.ICCXYZType
A tag containing a triplet.
jj2000.j2k.icc.tags.ICCXYZTypeReverse,
jj2000.j2k.icc.types.XYZNumber| Field Summary | |
long |
x
x component |
long |
y
y component |
long |
z
z component |
| Fields inherited from class icc.tags.ICCTag |
count, data, offset, signature, type |
| Constructor Summary | |
protected |
ICCXYZType(int signature,
byte[] data,
int offset,
int length)
Construct this tag from its constituant parts |
| Method Summary | |
static long |
DoubleToXYZ(double x)
Normalization utility |
java.lang.String |
toString()
Return the string rep of this tag. |
void |
write(java.io.RandomAccessFile raf)
Write to a file. |
static double |
XYZToDouble(long x)
Normalization utility |
| Methods inherited from class icc.tags.ICCTag |
createInstance, signatureString, typeString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public final long x
public final long y
public final long z
| Constructor Detail |
protected ICCXYZType(int signature,
byte[] data,
int offset,
int length)
signature - tag iddata - array of bytesoffset - to data in the data arraylength - of data in the data array| Method Detail |
public static long DoubleToXYZ(double x)
public static double XYZToDouble(long x)
public java.lang.String toString()
toString in class ICCTag
public void write(java.io.RandomAccessFile raf)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||