Modifier and Type | Class and Description |
---|---|
static class |
GridSource.GRID_TYPE |
Modifier and Type | Field and Description |
---|---|
protected GridRealRandomAccessibleRealInterval<T> |
gridImg |
protected Interval |
interval |
protected String |
name |
protected BigWarp.BigWarpData<?> |
sourceData |
protected T |
type |
Constructor and Description |
---|
GridSource(String name,
BigWarp.BigWarpData<?> data,
T t,
RealTransform warp) |
Modifier and Type | Method and Description |
---|---|
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?
|
void |
setGridSpacing(double spacing) |
void |
setGridWidth(double width) |
void |
setMethod(GridSource.GRID_TYPE method) |
void |
setWarp(RealTransform warp) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doBoundingBoxCulling
protected final String name
protected final BigWarp.BigWarpData<?> sourceData
protected final Interval interval
protected final GridRealRandomAccessibleRealInterval<T extends RealType<T>> gridImg
public GridSource(String name, BigWarp.BigWarpData<?> data, T t, RealTransform warp)
public void setGridSpacing(double spacing)
public void setGridWidth(double width)
public void setWarp(RealTransform warp)
public boolean isPresent(int t)
Source
public void setMethod(GridSource.GRID_TYPE method)
public RandomAccessibleInterval<T> getSource(int t, int level)
Source
public RealRandomAccessible<T> getInterpolatedSource(int t, int level, Interpolation method)
Source
public void getSourceTransform(int t, int level, AffineTransform3D transform)
Source
source
at the
given timepoint index and mipmap level into the global coordinate system.getSourceTransform
in interface Source<T extends RealType<T>>
t
- timepoint indexlevel
- mipmap leveltransform
- is set to the source-to-global transform, that transforms
source coordinates into the global coordinatespublic T getType()
Source
public String getName()
Source
public VoxelDimensions getVoxelDimensions()
Source
getVoxelDimensions
in interface Source<T extends RealType<T>>
null
.public int getNumMipmapLevels()
getNumMipmapLevels
in interface Source<T extends RealType<T>>
Copyright © 2015–2021 Fiji. All rights reserved.