public class PlaneDef
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
XY
Flag to identify an XY-plane.
|
static int |
XZ
Flag to identify an XZ-plane.
|
static int |
ZY
Flag to identify an YZ-plane.
|
Constructor and Description |
---|
PlaneDef(int slice,
int t)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Overridden to reflect equality of abstract values (data object) as
opposite to object identity.
|
RegionDef |
getRegion()
Returns the region to render.
|
boolean |
getRenderShapes()
Returns whether or not the shapes (masks) will be rendered.
|
java.util.List<java.lang.Long> |
getShapeIds()
Returns whether or not the shapes (masks) will be rendered.
|
int |
getSlice()
Returns an identifier to tell which kind of plane this object identifies.
|
int |
getStride()
Returns the stride.
|
int |
getT()
Returns the timepoint.
|
int |
getX()
Returns the index of the plane in the set identified by this object.
|
int |
getY()
Returns the index of the plane in the set identified by this object.
|
int |
getZ()
Returns the index of the plane in the set identified by this object.
|
int |
hashCode()
Overridden to reflect equality of abstract values (data object) as
opposite to object identity.
|
void |
setRegion(RegionDef region)
Sets the region to render.
|
void |
setRenderShapes(boolean renderShapes)
Sets whether or not to render the shapes (masks).
|
void |
setShapeIds(java.util.List<java.lang.Long> shapeIds)
Sets whether or not to render the shapes (masks).
|
void |
setStride(int stride)
Returns the stride.
|
void |
setX(int x)
Selects a plane in the set identified by this object.
|
void |
setY(int y)
Selects a plane in the set identified by this object.
|
void |
setZ(int z)
Selects a plane in the set identified by this object.
|
java.lang.String |
toString()
Overrides generic
toString method to provide a specific
string representation of this object. |
public static final int XY
public static final int ZY
public static final int XZ
public PlaneDef(int slice, int t)
slice
and t
and
having a 0
index. Call the appropriate setXXX
method to set another index.public void setX(int x)
x
- The plane index.java.lang.IllegalArgumentException
- If bad arguments are passed in or this is not an ZY-plane.public void setY(int y)
y
- The plane index.java.lang.IllegalArgumentException
- If bad arguments are passed in or this is not an XZ-plane.public void setZ(int z)
z
- The plane index.java.lang.IllegalArgumentException
- If bad arguments are passed in or this is not an XY-plane.public int getSlice()
public int getT()
public int getX()
public int getY()
public int getZ()
public void setRegion(RegionDef region)
region
- The region to render.public RegionDef getRegion()
public void setStride(int stride)
stride
- The value to set.public int getStride()
public boolean getRenderShapes()
public void setRenderShapes(boolean renderShapes)
renderShapes
- The value to set.public java.util.List<java.lang.Long> getShapeIds()
public void setShapeIds(java.util.List<java.lang.Long> shapeIds)
shapeIds
- The value to set.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Object.equals(Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
method to provide a specific
string representation of this object.toString
in class java.lang.Object
Object.toString()
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.