Modifier and Type | Method and Description |
---|---|
static Mask |
create(boolean do3D)
Creates the
Mask with the default corner and no assigned resolution. |
static Mask |
create(boolean do3D,
Optional<Resolution> resolution)
Creates the
Mask with the default corner and a particular resolution. |
static Mask |
create(Point3i corner,
boolean do3D)
Creates the
Mask with a particular corner and no assigned resolution. |
static Mask |
create(Point3i corner,
boolean do3D,
Optional<Resolution> resolution)
Creates the
Mask with a particular corner and a particular resolution. |
static int |
depth(boolean do3D) |
static int |
height() |
static Extent |
maskExtent(boolean do3D) |
static int |
width() |
public static Mask create(boolean do3D)
Mask
with the default corner and no assigned resolution.do3D
- if true, a 3D mask is created, otherwise 2D.public static Mask create(boolean do3D, Optional<Resolution> resolution)
Mask
with the default corner and a particular resolution.do3D
- if true, a 3D mask is created, otherwise 2D.resolution
- the resolution to assign to the maskpublic static Mask create(Point3i corner, boolean do3D)
Mask
with a particular corner and no assigned resolution.corner
- the cornerdo3D
- if true, a 3D mask is created, otherwise 2D.public static Mask create(Point3i corner, boolean do3D, Optional<Resolution> resolution)
Mask
with a particular corner and a particular resolution.corner
- the cornerdo3D
- if true, a 3D mask is created, otherwise 2D.public static Extent maskExtent(boolean do3D)
public static int width()
public static int height()
public static int depth(boolean do3D)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.