|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jj2000.j2k.codestream.CoordInfo
This class is used to store the coordinates of objects such as code-blocks or precincts. As this is an abstract class, it cannot be used directly but derived classes have been created for code-blocks and packets (CBlkCoordInfo and PrecCoordInfo).
PrecCoordInfo,
CBlkCoordInfo| Field Summary | |
int |
h
Object's height |
int |
ulx
Horizontal upper left coordinate in the subband |
int |
uly
Vertical upper left coordinate in the subband |
int |
w
Object's width |
| Constructor Summary | |
CoordInfo()
Empty contructor |
|
CoordInfo(int ulx,
int uly,
int w,
int h)
Constructor. |
|
| Method Summary | |
java.lang.String |
toString()
Returns object's information in a String |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int ulx
public int uly
public int w
public int h
| Constructor Detail |
public CoordInfo(int ulx,
int uly,
int w,
int h)
ulx - The horizontal upper left coordinate in the subbanduly - The vertical upper left coordinate in the subbandw - The widthh - The heightpublic CoordInfo()
| Method Detail |
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||