|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpojos.util.MaskClass
public class MaskClass
Method Summary | |
---|---|
void |
add(Point p)
Add the point to the Mask. |
byte[] |
asBytes()
Convert the mask data to a byte array. |
MaskData |
asMaskData(int z,
int t,
int c)
Return the MaskClass as a MaskData object, and assign it to The coords provided. |
byte |
getBit(byte[] data,
int bit)
Set the bit value in a byte array at position bit to be the value value. |
Color |
getColour()
Return the colour of the mask. |
void |
setBit(byte[] data,
int bit,
int val)
Set the bit value in a byte array at position bit to be the value value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Color getColour()
public byte[] asBytes() throws IOException
IOException
public void add(Point p)
p
- See above.public MaskData asMaskData(int z, int t, int c) throws IOException
z
- See above.t
- See above.c
- See above.
IOException
public void setBit(byte[] data, int bit, int val)
data
- See above.bit
- See above.val
- See above.public byte getBit(byte[] data, int bit)
data
- See above.bit
- See above.val
- See above.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.