public class DefaultImarisApplication extends AbstractContextual implements ImarisApplication
ImarisApplication, which wraps IApplicationPrx and represents one particular Imaris instance.| Constructor and Description |
|---|
DefaultImarisApplication(Imaris.IApplicationPrx iApplicationPrx,
int applicationId) |
| Modifier and Type | Method and Description |
|---|---|
<T extends NativeType<T> & RealType<T>> |
createDataset(T type,
DatasetDimensions dims,
ImarisDatasetOptions options)
TODO
|
<T extends NativeType<T> & RealType<T>> |
createDataset(T type,
int sx,
int sy,
int sz,
int sc,
int st,
ImarisDatasetOptions options)
Create a new
ImarisDataset of the specified type with the
specified dimensions. |
int |
getApplicationID()
Get the object ID of the underlying
IApplication ICE proxy. |
Imaris.IApplicationPrx |
getIApplicationPrx()
Get the underlying
IApplication ICE proxy. |
ImarisDataset<?> |
getImage(int imageIndex,
ImarisDatasetOptions options)
Get the Imaris image at
imageIndex as an ImarisDataset. |
int |
getNumberOfImages()
Get the number of images loaded in the application.
|
void |
setImage(int imageIndex,
ImarisDataset<?> dataset)
Set an image to the application.
|
context, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDataset, createDataset, getDataset, getDataset, getImage, setDatasetsetContextpublic DefaultImarisApplication(Imaris.IApplicationPrx iApplicationPrx,
int applicationId)
public Imaris.IApplicationPrx getIApplicationPrx()
ImarisApplicationIApplication ICE proxy.getIApplicationPrx in interface ImarisApplicationpublic int getApplicationID()
ImarisApplicationIApplication ICE proxy.getApplicationID in interface ImarisApplicationpublic int getNumberOfImages()
ImarisApplicationgetNumberOfImages in interface ImarisApplicationpublic ImarisDataset<?> getImage(int imageIndex, ImarisDatasetOptions options)
ImarisApplicationimageIndex as an ImarisDataset.getImage in interface ImarisApplicationpublic void setImage(int imageIndex,
ImarisDataset<?> dataset)
ImarisApplicationsetImage in interface ImarisApplicationpublic <T extends NativeType<T> & RealType<T>> ImarisDataset<T> createDataset(T type, int sx, int sy, int sz, int sc, int st, ImarisDatasetOptions options)
ImarisApplicationImarisDataset of the specified type with the
specified dimensions.
Sizes s≤0 indicate missing dimensions. For example, createDataset(new UnsignedByteType(), 300, 200, 0, 0, 0) creates a 2D
ImarisDataset with axes [X,Y]. The size along missing
dimensions (Z, C, T in this example) is set to s=1 on the Imaris
side.
createDataset in interface ImarisApplicationtype - imglib2 pixel type. Must be one of UnsignedByteType, UnsignedShortType, or FloatType.sx - size in X dimensionsy - size in Y dimensionsz - size in Z dimensionsc - size in C (channel) dimensionst - size in T (time) dimensionpublic <T extends NativeType<T> & RealType<T>> ImarisDataset<T> createDataset(T type, DatasetDimensions dims, ImarisDatasetOptions options)
ImarisApplicationcreateDataset in interface ImarisApplicationCopyright © 2019–2021 Imaris. All rights reserved.