public class ImageAcquisitionData extends DataObject
Constructor and Description |
---|
ImageAcquisitionData(omero.model.Image image)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
omero.model.Pressure |
getAirPressure(omero.model.enums.UnitsPressure unit)
Returns the air pressure.
|
double |
getCo2Percent()
Returns the Co2 level, this is a percent value in the interval [0, 1].
|
double |
getCorrectionCollar()
Returns the correction collar of the objective.
|
double |
getHumidity()
Returns the humidity level, this is a value in the interval [0, 1].
|
long |
getImagingEnvironmentId()
Returns the id of the
StageLabel or -1
if not already linked to the image. |
java.lang.String |
getLabelName()
Returns the name of the stage label.
|
java.lang.String |
getMedium()
Returns the medium of the objective.
|
omero.model.Medium |
getMediumAsEnum()
Returns the medium enumeration value.
|
ObjectiveData |
getObjective()
Returns the objective used to capture the image.
|
long |
getObjectiveSettingsId()
Returns the id of the
Objective settings or -1
if not already linked to the image. |
omero.model.Length |
getPositionX(omero.model.enums.UnitsLength unit)
Returns the x-coordinate in the frame microscope.
|
omero.model.Length |
getPositionY(omero.model.enums.UnitsLength unit)
Returns the y-coordinate in the frame microscope.
|
omero.model.Length |
getPositionZ(omero.model.enums.UnitsLength unit)
Returns the z-coordinate in the frame microscope.
|
double |
getRefractiveIndex()
Returns the refractive index of the objective.
|
long |
getStageLabelId()
Returns the id of the
StageLabel or -1
if not already linked to the image. |
omero.model.Temperature |
getTemperature(omero.model.enums.UnitsTemperature unit)
Returns the temperature.
|
boolean |
isImagingEnvironmentDirty()
Returns
true if the StageLabel has been updated,
false otherwise. |
boolean |
isObjectiveSettingsDirty()
Returns
true if the objective settings has been updated,
false otherwise. |
boolean |
isStageLabelDirty()
Returns
true if the position has been updated,
false otherwise. |
void |
setAirPressure(omero.model.Pressure pressure)
Sets the air pressure.
|
void |
setCo2Percent(double co2)
Sets the co2 level.
|
void |
setCorrectionCollar(double correction)
Sets the correction of the objective.
|
void |
setHumidity(double humidity)
Sets the humidity.
|
void |
setLabelName(java.lang.String name)
Sets the name of the stage label.
|
void |
setMedium(omero.model.Medium medium)
Sets the medium of the objective.
|
void |
setPositionX(omero.model.Length value)
Sets the x-position.
|
void |
setPositionY(omero.model.Length value)
Sets the y-position.
|
void |
setPositionZ(omero.model.Length value)
Sets the z-position.
|
void |
setRefractiveIndex(double index)
Sets the refractive index of the objective.
|
void |
setTemperature(omero.model.Temperature temperature)
Sets the temperature.
|
asAnnotation, asChannel, asDataset, asExperimenter, asFolder, asGroup, asIAnnotated, asImage, asIObject, asPixels, asPlaneInfo, asPlate, asPojo, asPojos, asPojos, asProject, asScreen, asWell, asWellSample, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getDetails, getGroupId, getId, getOwner, getPermissions, getUpdated, getVersion, isDirty, isLoaded, nullDetails, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, nullSafe, setDirty, setId, setValue, setVersion, timeOfEvent, toString
public ImageAcquisitionData(omero.model.Image image)
image
- The image the acquisition data is related to.
Mustn't be null
.public ObjectiveData getObjective()
public java.lang.String getLabelName()
public omero.model.Length getPositionX(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic omero.model.Length getPositionY(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic omero.model.Length getPositionZ(omero.model.enums.UnitsLength unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic omero.model.Temperature getTemperature(omero.model.enums.UnitsTemperature unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic omero.model.Pressure getAirPressure(omero.model.enums.UnitsPressure unit) throws ome.model.units.BigResult
unit
- The unit (may be null, in which case no conversion will be
performed)ome.model.units.BigResult
- If an arithmetic under-/overflow occurredpublic double getHumidity()
public double getCo2Percent()
public double getCorrectionCollar()
public double getRefractiveIndex()
public java.lang.String getMedium()
public void setLabelName(java.lang.String name)
name
- The value to set.public void setPositionX(omero.model.Length value)
value
- The value to set.public void setPositionY(omero.model.Length value)
value
- The value to set.public void setPositionZ(omero.model.Length value)
value
- The value to set.public void setTemperature(omero.model.Temperature temperature)
temperature
- The value to set.public void setAirPressure(omero.model.Pressure pressure)
pressure
- The value to set.public void setHumidity(double humidity)
humidity
- The value to set.public void setCo2Percent(double co2)
co2
- The value to set.public void setCorrectionCollar(double correction)
correction
- The value to set.public void setRefractiveIndex(double index)
index
- The value to set.public void setMedium(omero.model.Medium medium)
medium
- The value to set.public boolean isStageLabelDirty()
true
if the position has been updated,
false
otherwise.public boolean isImagingEnvironmentDirty()
true
if the StageLabel has been updated,
false
otherwise.public boolean isObjectiveSettingsDirty()
true
if the objective settings has been updated,
false
otherwise.public long getStageLabelId()
StageLabel
or -1
if not already linked to the image.public long getImagingEnvironmentId()
StageLabel
or -1
if not already linked to the image.public long getObjectiveSettingsId()
Objective settings
or -1
if not already linked to the image.public omero.model.Medium getMediumAsEnum()