public final class PlaceHolderSource extends Object implements Source<Void>
Source that represents a BdvOverlay.
When a BdvOverlay is shown (with
BdvFunctions.showOverlay(BdvOverlay, String, BdvOptions)), a dummy
Source and ConverterSetup are added to the
BigDataViewer such that the visibility, display range, and color for
the overlay can be adjusted by the user, like for a normal Source.
PlaceHolderSource is not present at any time point, so it is never actually visible.
| Constructor and Description |
|---|
PlaceHolderSource(String name) |
| Modifier and Type | Method and Description |
|---|---|
RealRandomAccessible<Void> |
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<Void> |
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. |
Void |
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?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoBoundingBoxCullingpublic PlaceHolderSource(String name)
public Void getType()
Sourcepublic String getName()
Sourcepublic VoxelDimensions getVoxelDimensions()
SourcegetVoxelDimensions in interface Source<Void>null.public int getNumMipmapLevels()
getNumMipmapLevels in interface Source<Void>public boolean isPresent(int t)
Sourcepublic RandomAccessibleInterval<Void> getSource(int t, int level)
Sourcepublic RealRandomAccessible<Void> getInterpolatedSource(int t, int level, Interpolation method)
SourcegetInterpolatedSource in interface Source<Void>t - timepoint indexlevel - mipmap levelmethod - interpolation method to usestack.public void getSourceTransform(int t,
int level,
AffineTransform3D transform)
Sourcesource at the
given timepoint index and mipmap level into the global coordinate system.getSourceTransform in interface Source<Void>t - timepoint indexlevel - mipmap leveltransform - is set to the source-to-global transform, that transforms
source coordinates into the global coordinatesCopyright © 2015–2021 Fiji. All rights reserved.