public interface Source<T>
id
. This timepoint index is an index into the
ordered list of timepoints TimePoints.getTimePointsOrdered()
.Modifier and Type | Method and Description |
---|---|
default boolean |
doBoundingBoxCulling()
Whether this source participates in bounding box culling.
|
RealRandomAccessible<T> |
getInterpolatedSource(int t,
int level,
Interpolation method)
Get the 3D stack at timepoint index t, extended to infinity and interpolated.
|
String |
getName()
Get the name of the source.
|
int |
getNumMipmapLevels() |
RandomAccessibleInterval<T> |
getSource(int t,
int level)
Get the 3D stack at timepoint index t.
|
void |
getSourceTransform(int t,
int level,
AffineTransform3D transform)
Get the transform from the
source at the
given timepoint index and mipmap level into the global coordinate system. |
T |
getType()
Get an instance of the pixel type.
|
VoxelDimensions |
getVoxelDimensions()
Get voxel size and unit for this source.
|
boolean |
isPresent(int t)
Is there a stack at timepoint index t?
|
boolean isPresent(int t)
t
- timepoint indexRandomAccessibleInterval<T> getSource(int t, int level)
t
- timepoint indexlevel
- mipmap levelstack
.default boolean doBoundingBoxCulling()
If true
, then this source will only be rendered if its bounding
box, i.e., the interval of getSource(int, int)
, intersects the
current screen area (when transformed to viewer coordinates).
If false
, then this source will be always rendered (if it is
set to be visible.)
true
, if this source participates in bounding box culling.RealRandomAccessible<T> getInterpolatedSource(int t, int level, Interpolation method)
t
- timepoint indexlevel
- mipmap levelmethod
- interpolation method to usestack
.void getSourceTransform(int t, int level, AffineTransform3D transform)
source
at the
given timepoint index and mipmap level into the global coordinate system.t
- timepoint indexlevel
- mipmap leveltransform
- is set to the source-to-global transform, that transforms
source coordinates into the global coordinatesT getType()
String getName()
VoxelDimensions getVoxelDimensions()
null
.int getNumMipmapLevels()
Copyright © 2015–2021 Fiji. All rights reserved.