public class VolumeVoxels extends UnitValueVolume
Constructor and Description |
---|
VolumeVoxels() |
VolumeVoxels(double value) |
Modifier and Type | Method and Description |
---|---|
double |
getValue()
The volume in voxels.
|
double |
resolveToVoxels(Optional<UnitConverter> unitConverter)
Resolves a measurement of area/volume (in whatever units) to units corresponding to the image
pixels/voxels.
|
void |
setValue(double value)
The volume in voxels.
|
String |
toString()
By default, we use
AnchorBean.describeBean() as the string representation of the bean. |
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public VolumeVoxels()
public VolumeVoxels(double value)
public double resolveToVoxels(Optional<UnitConverter> unitConverter)
UnitValueExtent
resolveToVoxels
in class UnitValueExtent
unitConverter
- converts from voxelized units to different physical measurements of area
/ volume / distance.public String toString()
AnchorBean
AnchorBean.describeBean()
as the string representation of the bean.toString
in class AnchorBean<UnitValueExtent>
public double getValue()
public void setValue(double value)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.