public class ModelElement extends BinDescriptor
Modifier and Type | Field and Description |
---|---|
boolean |
additive |
EXPLICIT_FORM, explicitForm, IMPLICIT_FORM, implicitForm, WILDCARD
EXTENDED_PRECINCT, EXTENDED_TILE, MAIN_HEADER, METADATA, PRECINCT, TILE, TILE_HEADER
Constructor and Description |
---|
ModelElement(int form)
Constructor.
|
ModelElement(int firstTilePos,
int lastTilePos,
int firstComponentPos,
int lastComponentPos,
int firstResolutionLevelPos,
int lastResolutionLevelPos,
int firstPrecinctPos,
int lastPrecinctPos,
int numberOfLayers,
boolean additive)
Constructor based on the implicit form.
|
ModelElement(int classIdentifier,
long inClassIdentifier,
int numberOfLayers,
int numberOfBytes,
boolean additive)
Constructor based on the explicit form.
|
public ModelElement(int form)
form
- allowed values are
BinDescriptor.EXPLICIT_FORM
or
BinDescriptor.IMPLICIT_FORM
.public ModelElement(int classIdentifier, long inClassIdentifier, int numberOfLayers, int numberOfBytes, boolean additive)
classIdentifier
- definition in ExplicitBinDescriptor.classIdentifier
.inClassIdentifier
- definition in ExplicitBinDescriptor.inClassIdentifier
.numberOfLayers
- definition in ExplicitBinDescriptor.numberOfLayers
numberOfBytes
- definition in ExplicitBinDescriptor.numberOfBytes
.additive
- definition in additive
.public ModelElement(int firstTilePos, int lastTilePos, int firstComponentPos, int lastComponentPos, int firstResolutionLevelPos, int lastResolutionLevelPos, int firstPrecinctPos, int lastPrecinctPos, int numberOfLayers, boolean additive)
firstTilePos
- definition in ImplicitBinDescriptor.firstTilePos
.lastTilePos
- definition in ImplicitBinDescriptor.lastTilePos
.firstComponentPos
- definition in ImplicitBinDescriptor.firstComponentPos
.lastComponentPos
- definition in ImplicitBinDescriptor.lastComponentPos
.firstResolutionLevelPos
- definition in ImplicitBinDescriptor.firstResolutionLevelPos
.lastResolutionLevelPos
- definition in ImplicitBinDescriptor.lastResolutionLevelPos
.firstPrecinctPos
- definition in ImplicitBinDescriptor.firstPrecinctPos
.lastPrecinctPos
- definition in ImplicitBinDescriptor.lastPrecinctPos
.numberOfLayers
- definition in ImplicitBinDescriptor.numberOfLayers
.additive
- definition in additive
.public void reset()
reset
in class BinDescriptor
public java.lang.String toString()
toString
in class BinDescriptor
public void list(java.io.PrintStream out)
list
in class BinDescriptor
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)