public class ServerJPEG2KResolutionLevel extends JPEG2KResolutionLevel
Constructor and Description |
---|
ServerJPEG2KResolutionLevel(ServerJPEG2KComponent parent,
int rLevel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createPrecinct(int index)
Creates a new precinct.
|
void |
createPrecinct(int index,
int rIndex)
Creates a new precinct object.
|
int |
getNumOriginalPrecincts()
Returns the number of virtual precincts of the tile-component-resolution revel.
|
int |
getNumOriginalPrecinctsHeigh()
Returns the number of virtual precincts in the heigh dimension.
|
int |
getNumOriginalPrecinctsWide()
Returns the number of virtual precincts in the wide dimension.
|
int |
getOriginalBlockHeight() |
CADIDimension |
getOriginalBlocksPerPrecinct()
Returns the number of blocks per precinct.
|
int |
getOriginalBlocksPerPrecinctHeights()
Returns the number of blocks per precinct.
|
int |
getOriginalBlocksPerPrecinctHigh()
Returns the number of blocks per precinct in the high direccion.
|
int |
getOriginalBlocksPerPrecinctWide()
Returns the number of blocks per precinct in the wide direccion.
|
int |
getOriginalBlocksPerPrecinctWidths()
Returns the number of blocks per precinct.
|
int |
getOriginalBlockWidth() |
CADIRectangle |
getOriginalPrecinctBounds(int orgPrecinctIndex) |
int |
getOriginalPrecinctHeight() |
CADIDimension |
getOriginalPrecinctSizes() |
int |
getOriginalPrecinctWidth() |
ServerJPEG2KComponent |
getParent() |
ServerJPEG2KPrecinct |
getPrecinct(int index)
Returns the precinct whose index in the tile-component-resollution level is
|
void |
list(java.io.PrintStream out)
Prints this Server JPEG2K Tile out to the specified output stream.
|
void |
removeAllPrecincts()
Removes all precincts from the resolution level.
|
void |
removePrecinct(int index)
Removes a precicnt from the resolution level.
|
java.lang.String |
toString() |
getBlockHeight, getBlockIndexWithinPrecinct, getBlockSize, getBlocksPerPrecinct, getBlocksPerPrecinctHeights, getBlocksPerPrecinctHigh, getBlocksPerPrecinctWide, getBlocksPerPrecinctWidths, getBlockWidth, getBounds, getExponent, getFirstPrecinctIndex, getInClassIdentifier, getLocation, getMantisa, getNumPrecincts, getNumPrecinctsHeigh, getNumPrecinctsWide, getNumSubbands, getPrecinctBounds, getPrecinctHeight, getPrecinctIndex, getPrecinctLocation, getPrecinctSize, getPrecinctSizes, getPrecinctWidth, getResolutionLevel, getSize, getSubbandBounds, getSubbandLocation, getSubbandSize, isPrecinct
public ServerJPEG2KResolutionLevel(ServerJPEG2KComponent parent, int rLevel)
public ServerJPEG2KComponent getParent()
getParent
in class JPEG2KResolutionLevel
public void createPrecinct(int index)
JPEG2KResolutionLevel
createPrecinct
in class JPEG2KResolutionLevel
index
- definition in JPEG2KPrecinct.precinctIndex
.public void createPrecinct(int index, int rIndex)
index
- the precinct index within the tile-component-resolution level.vIndex
- the real precinct index whithin the tile-component-resolution level.java.lang.IllegalAccessException
- if the precinct exists.public ServerJPEG2KPrecinct getPrecinct(int index)
JPEG2KResolutionLevel
getPrecinct
in class JPEG2KResolutionLevel
index
- definition in JPEG2KPrecinct.precinctIndex
.public void removePrecinct(int index)
JPEG2KResolutionLevel
removePrecinct
in class JPEG2KResolutionLevel
index
- definition in JPEG2KPrecinct.precinctIndex
.public void removeAllPrecincts()
JPEG2KResolutionLevel
removeAllPrecincts
in class JPEG2KResolutionLevel
public int getOriginalPrecinctWidth()
public int getOriginalPrecinctHeight()
public CADIDimension getOriginalPrecinctSizes()
public int getOriginalBlockWidth()
public int getOriginalBlockHeight()
public int getNumOriginalPrecinctsWide()
public int getNumOriginalPrecinctsHeigh()
public int getNumOriginalPrecincts()
public int getOriginalBlocksPerPrecinctWidths()
TODO: Method name will be changed to getBlocksPerPrecinctWide
public int getOriginalBlocksPerPrecinctHeights()
TODO: Method name will be changed to getBlocksPerPrecinctHigh
public int getOriginalBlocksPerPrecinctWide()
public int getOriginalBlocksPerPrecinctHigh()
public CADIDimension getOriginalBlocksPerPrecinct()
public CADIRectangle getOriginalPrecinctBounds(int orgPrecinctIndex)
precinctIndex
- public java.lang.String toString()
toString
in class JPEG2KResolutionLevel
public void list(java.io.PrintStream out)
list
in class JPEG2KResolutionLevel
out
- an output stream.
CADI - Copyright (C) 2007
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Group on Interactive Coding of Images (GICI) (contact)