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.
|
default net.imglib2.RealRandomAccessible<? extends net.imglib2.type.mask.Masked<T>> |
getInterpolatedMaskedSource(int t,
int level,
Interpolation method)
Get a
Masked version of the 3D
stack at timepoint index t, extended to infinity and interpolated. |
net.imglib2.RealRandomAccessible<T> |
getInterpolatedSource(int t,
int level,
Interpolation method)
Get the 3D stack at timepoint index t, extended to infinity and interpolated.
|
default net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.mask.Masked<T>> |
getMaskedSource(int t,
int level)
Get a
Masked version of the 3D stack at
timepoint index t. |
String |
getName()
Get the name of the source.
|
int |
getNumMipmapLevels() |
net.imglib2.RandomAccessibleInterval<T> |
getSource(int t,
int level)
Get the 3D stack at timepoint index t.
|
void |
getSourceTransform(int t,
int level,
net.imglib2.realtransform.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.
|
mpicbg.spim.data.sequence.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 indexnet.imglib2.RandomAccessibleInterval<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.net.imglib2.RealRandomAccessible<T> getInterpolatedSource(int t, int level, Interpolation method)
t - timepoint indexlevel - mipmap levelmethod - interpolation method to usestack.void getSourceTransform(int t,
int level,
net.imglib2.realtransform.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()
mpicbg.spim.data.sequence.VoxelDimensions getVoxelDimensions()
null.int getNumMipmapLevels()
default net.imglib2.RandomAccessibleInterval<? extends net.imglib2.type.mask.Masked<T>> getMaskedSource(int t, int level)
Masked version of the 3D stack at
timepoint index t.
By default, this is just getSource(int, int) augmented with a constant
mask 1.0.
t - timepoint indexlevel - mipmap leveldefault net.imglib2.RealRandomAccessible<? extends net.imglib2.type.mask.Masked<T>> getInterpolatedMaskedSource(int t, int level, Interpolation method)
Masked version of the 3D
stack at timepoint index t, extended to infinity and interpolated.
By default, this is just getInterpolatedSource(int, int, bdv.viewer.Interpolation) augmented with a
constant mask 1.0.
However, most sources should override this to extend getMaskedSource(int, int) to infinity (with a 0 mask) and
interpolate.
t - timepoint indexlevel - mipmap levelmethod - interpolation method to usestack.Copyright © 2012–2025 BigDataViewer. All rights reserved.