public class Pixels extends AbstractOMEModelObject
Modifier and Type | Field and Description |
---|---|
private Boolean |
bigEndian |
private List<BinData> |
binDataBlocks |
private List<Channel> |
channels |
private DimensionOrder |
dimensionOrder |
private String |
id |
private Boolean |
interleaved |
private static org.slf4j.Logger |
LOGGER
Logger for this class.
|
private MetadataOnly |
metadataOnly |
static String |
NAMESPACE |
private Length |
physicalSizeX |
private Length |
physicalSizeY |
private Length |
physicalSizeZ |
private List<Plane> |
planes |
private PositiveInteger |
significantBits |
private PositiveInteger |
sizeC |
private PositiveInteger |
sizeT |
private PositiveInteger |
sizeX |
private PositiveInteger |
sizeY |
private PositiveInteger |
sizeZ |
private List<TiffData> |
tiffDataBlocks |
private Time |
timeIncrement |
private PixelType |
type |
Constructor and Description |
---|
Pixels()
Default constructor.
|
Pixels(Element element,
OMEModel model)
Constructs Pixels recursively from an XML DOM tree.
|
Pixels(Pixels orig)
Copy constructor.
|
getChildrenByTagName, stripNamespacePrefix
public static final String NAMESPACE
private static final org.slf4j.Logger LOGGER
private PositiveInteger sizeT
private DimensionOrder dimensionOrder
private Length physicalSizeZ
private Length physicalSizeY
private Length physicalSizeX
private PositiveInteger sizeX
private PositiveInteger sizeY
private PositiveInteger sizeZ
private Boolean bigEndian
private Time timeIncrement
private PositiveInteger significantBits
private PositiveInteger sizeC
private PixelType type
private String id
private Boolean interleaved
private MetadataOnly metadataOnly
public Pixels()
public Pixels(Element element, OMEModel model) throws EnumerationException
element
- Root of the XML DOM tree to construct a model object
graph from.model
- Handler for the OME model which keeps track of instances
and references seen during object population.EnumerationException
- If there is an error instantiating an
enumeration during model object creation.public Pixels(Pixels orig)
public void update(Element element, OMEModel model) throws EnumerationException
update
in interface OMEModelObject
update
in class AbstractOMEModelObject
element
- Root of the XML DOM tree to construct a model object
graph from.model
- Handler for the OME model which keeps track of instances
and references seen during object population.EnumerationException
- If there is an error instantiating an
enumeration during model object creation.public boolean link(Reference reference, OMEModelObject o)
OMEModelObject
link
in interface OMEModelObject
link
in class AbstractOMEModelObject
reference
- The type qualifier for the reference. This should
be the corresponding reference type for o
. If, for example,
o
is of type Image
, reference
MUST be of type ImageRef
.o
- Model object to link to.true
if this model object was able to handle the
reference, false
otherwise.public PositiveInteger getSizeT()
public void setSizeT(PositiveInteger sizeT)
public DimensionOrder getDimensionOrder()
public void setDimensionOrder(DimensionOrder dimensionOrder)
public Length getPhysicalSizeZ()
public void setPhysicalSizeZ(Length physicalSizeZ)
public Length getPhysicalSizeY()
public void setPhysicalSizeY(Length physicalSizeY)
public Length getPhysicalSizeX()
public void setPhysicalSizeX(Length physicalSizeX)
public static String getPhysicalSizeXUnitXsdDefault()
public PositiveInteger getSizeX()
public void setSizeX(PositiveInteger sizeX)
public PositiveInteger getSizeY()
public void setSizeY(PositiveInteger sizeY)
public PositiveInteger getSizeZ()
public void setSizeZ(PositiveInteger sizeZ)
public static String getPhysicalSizeZUnitXsdDefault()
public Boolean getBigEndian()
public void setBigEndian(Boolean bigEndian)
public Time getTimeIncrement()
public void setTimeIncrement(Time timeIncrement)
public PositiveInteger getSignificantBits()
public void setSignificantBits(PositiveInteger significantBits)
public PositiveInteger getSizeC()
public void setSizeC(PositiveInteger sizeC)
public static String getPhysicalSizeYUnitXsdDefault()
public PixelType getType()
public void setType(PixelType type)
public String getID()
public void setID(String id)
public Boolean getInterleaved()
public void setInterleaved(Boolean interleaved)
public static String getTimeIncrementUnitXsdDefault()
public int sizeOfChannelList()
public Channel getChannel(int index)
public void addChannel(Channel channel)
public void removeChannel(Channel channel)
public int sizeOfBinDataList()
public BinData getBinData(int index)
public void addBinData(BinData binData)
public void removeBinData(BinData binData)
public int sizeOfTiffDataList()
public TiffData getTiffData(int index)
public void addTiffData(TiffData tiffData)
public void removeTiffData(TiffData tiffData)
public MetadataOnly getMetadataOnly()
public void setMetadataOnly(MetadataOnly metadataOnly)
public int sizeOfPlaneList()
public Plane getPlane(int index)
public void addPlane(Plane plane)
public void removePlane(Plane plane)
public Element asXMLElement(Document document)
OMEModelObject
asXMLElement
in interface OMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.protected Element asXMLElement(Document document, Element Pixels_element)
AbstractOMEModelObject
asXMLElement
in class AbstractOMEModelObject
document
- Destination document for element creation, etc.Pixels_element
- Element from the subclass. If null a new
element will be created of this class.element
populated with properties from this class.Copyright © 2015 Open Microscopy Environment