public class ViewSetup extends BasicViewSetup implements Comparable<ViewSetup>
ViewSetup
is a BasicViewSetup
that must have a channel,
angle, and illumination direction.Modifier and Type | Field and Description |
---|---|
protected static String |
angleAttributeKey |
protected static String |
channelAttributeKey |
protected static String |
illuminationAttributeKey |
protected static String |
tileAttributeKey |
Constructor and Description |
---|
ViewSetup(int id,
String name,
Dimensions size,
VoxelDimensions voxelSize,
Channel channel,
Angle angle,
Illumination illumination)
TODO
|
ViewSetup(int id,
String name,
Dimensions size,
VoxelDimensions voxelSize,
Tile tile,
Channel channel,
Angle angle,
Illumination illumination)
TODO
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ViewSetup o)
Compares the
ids . |
Angle |
getAngle()
Get stage rotation
Angle . |
Channel |
getChannel()
Get the
Channel . |
int |
getId()
Get the unique id of this
ViewSetup . |
Illumination |
getIllumination()
Get the
Illumination direction. |
String |
getName()
Get the name of this setup.
|
Dimensions |
getSize()
Get the
Dimensions of images from this setup. |
Tile |
getTile()
Get the
Tile . |
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() . |
protected void |
setAngle(Angle angle)
Set the rotation
Angle |
protected void |
setAttributes(Map<String,Entity> attributes)
Set the attributes map.
|
protected void |
setChannel(Channel channel)
Set the
Channel . |
protected void |
setIllumination(Illumination illumination)
Set the
Illumination direction. |
void |
setSize(Dimensions size)
Set the
Dimensions of images from this setup. |
protected void |
setTile(Tile tile)
Set the
Tile . |
void |
setVoxelSize(VoxelDimensions voxelSize)
Set the
VoxelDimensions of images from this setup. |
getAttribute, getAttributes, setAttribute, setName
protected static String tileAttributeKey
protected static String channelAttributeKey
protected static String angleAttributeKey
protected static String illuminationAttributeKey
public ViewSetup(int id, String name, Dimensions size, VoxelDimensions voxelSize, Tile tile, Channel channel, Angle angle, Illumination illumination)
id
- name
- size
- voxelSize
- channel
- angle
- illumination
- public ViewSetup(int id, String name, Dimensions size, VoxelDimensions voxelSize, Channel channel, Angle angle, Illumination illumination)
id
- name
- size
- voxelSize
- channel
- angle
- illumination
- public int getId()
ViewSetup
.public boolean hasName()
getName()
.hasName
in class BasicViewSetup
public String getName()
getName
in class BasicViewSetup
public boolean hasSize()
getSize()
.hasSize
in class BasicViewSetup
public Dimensions getSize()
Dimensions
of images from this setup.getSize
in class BasicViewSetup
Dimensions
of images from this setup or null if it
is not set.public void setSize(Dimensions size)
Dimensions
of images from this setup.setSize
in class BasicViewSetup
public boolean hasVoxelSize()
getVoxelSize()
.hasVoxelSize
in class BasicViewSetup
public VoxelDimensions getVoxelSize()
VoxelDimensions
of images from this setup.getVoxelSize
in class BasicViewSetup
VoxelDimensions
of images from this setup or null if it is
not set.public void setVoxelSize(VoxelDimensions voxelSize)
VoxelDimensions
of images from this setup.setVoxelSize
in class BasicViewSetup
protected void setChannel(Channel channel)
Channel
.channel
- the channelpublic Illumination getIllumination()
Illumination
direction.protected void setIllumination(Illumination illumination)
Illumination
direction.illumination
- the illumination directionpublic int compareTo(ViewSetup o)
ids
.compareTo
in interface Comparable<ViewSetup>
protected void setAttributes(Map<String,Entity> attributes)
setAttributes
in class BasicViewSetup
Copyright © 2015–2021 Fiji. All rights reserved.