public class BasicViewSetup extends Entity
Entity
that may have a name, image size, and voxel size.Modifier | Constructor and Description |
---|---|
protected |
BasicViewSetup() |
|
BasicViewSetup(int id,
String name,
Dimensions size,
VoxelDimensions voxelSize) |
Modifier and Type | Method and Description |
---|---|
<T extends Entity> |
getAttribute(Class<T> attributeClass) |
Map<String,Entity> |
getAttributes() |
String |
getName()
Get the name of this setup.
|
Dimensions |
getSize()
Get the
Dimensions of images from this setup. |
VoxelDimensions |
getVoxelSize()
Get the
VoxelDimensions of images from this setup. |
boolean |
hasName()
Whether this setup has has a
getName() . |
boolean |
hasSize()
Whether this setup has has a
getSize() . |
boolean |
hasVoxelSize()
Whether this setup has has a
getVoxelSize() . |
<T extends Entity> |
setAttribute(T attribute) |
protected void |
setAttributes(Map<String,Entity> attributes) |
protected void |
setName(String name) |
protected void |
setSize(Dimensions size) |
protected void |
setVoxelSize(VoxelDimensions voxelSize) |
public BasicViewSetup(int id, String name, Dimensions size, VoxelDimensions voxelSize)
protected BasicViewSetup()
public boolean hasName()
getName()
.public String getName()
public boolean hasSize()
getSize()
.public Dimensions getSize()
Dimensions
of images from this setup.Dimensions
of images from this setup or null if it
is not set.public boolean hasVoxelSize()
getVoxelSize()
.public VoxelDimensions getVoxelSize()
VoxelDimensions
of images from this setup.VoxelDimensions
of images from this setup or null if it is
not set.public <T extends Entity> void setAttribute(T attribute)
protected void setName(String name)
protected void setSize(Dimensions size)
protected void setVoxelSize(VoxelDimensions voxelSize)
Copyright © 2015–2021 Fiji. All rights reserved.