public class RhizoProjectLayerMetadataContainer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected MTBLineSegment2D |
gravDirRefSegment
Reference segment for gravitational direction providing a suggestion
where to best position image marker.
|
protected double |
gravitationalDirection
Direction of gravitation in image of layer.
|
protected int |
layerZ
Z coordinate of layer used as unique ID.
|
protected MTBPolygon2D |
roi
Roi defined for given layer.
|
| Constructor and Description |
|---|
RhizoProjectLayerMetadataContainer(int z)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getGravitationalDirection()
Get gravitational direction.
|
MTBLineSegment2D |
getGravitationalDirectionRefSegment()
Get reference line segment for gravitational direction.
|
int |
getLayerZ()
Get Z coordinate of the layer.
|
MTBPolygon2D |
getROI()
Get region of interest.
|
void |
setGravitationalDirection(double gd)
Set gravitational direction.
|
void |
setGravitationalDirectionRefSegment(MTBLineSegment2D ls)
Set reference line segment for gravitational direction.
|
void |
setROI(MTBPolygon2D r)
Set region of interest.
|
protected int layerZ
protected MTBPolygon2D roi
protected double gravitationalDirection
The direction is stored as angle in degrees with a range between 0 and 360. 0 means that the gravitational direction points to the right, 90 refers to a direction vertically to the bottom. I.e., the definition follows standard mathematical conventions in an upper left coordinate system with angles defined relative to the x-axis.
protected MTBLineSegment2D gravDirRefSegment
public RhizoProjectLayerMetadataContainer(int z)
z - Z coordinate of layer.public int getLayerZ()
public void setROI(MTBPolygon2D r)
r - Region of interest.public MTBPolygon2D getROI()
public void setGravitationalDirection(double gd)
gd - Angle of gravitational direction.public double getGravitationalDirection()
public void setGravitationalDirectionRefSegment(MTBLineSegment2D ls)
ls - Reference line segment.public MTBLineSegment2D getGravitationalDirectionRefSegment()
Copyright © 2010–2025 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.