Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of getType() API #170

Merged
merged 3 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.scijava</groupId>
<artifactId>pom-scijava</artifactId>
<version>37.0.0</version>
<version>38.0.1</version>
<relativePath />
</parent>

Expand Down Expand Up @@ -118,31 +118,38 @@
<license.projectName>BigWarp plugin for Fiji.</license.projectName>
<license.excludes>**/resources/*.xml</license.excludes>

<imglib2.version>6.3.0</imglib2.version>
<imglib2-realtransform.version>4.0.1</imglib2-realtransform.version>
<imglib2.version>7.1.0</imglib2.version>
<imglib2-realtransform.version>4.0.3</imglib2-realtransform.version>
<imglib2-roi.version>0.15.0</imglib2-roi.version>
<imglib2-cache.version>1.0.0-beta-18</imglib2-cache.version>
<imglib2-algorithm.version>0.15.3</imglib2-algorithm.version>
<bigdataviewer-core.version>10.6.0</bigdataviewer-core.version>
<bigdataviewer-vistools.version>1.0.0-beta-36</bigdataviewer-vistools.version>
<!-- <imagej-common.version>2.0.6-SNAPSHOT</imagej-common.version>-->
<!-- <imagej-ops.version>2.0.1-SNAPSHOT</imagej-ops.version>-->

<jcommander.version>1.48</jcommander.version>
<alphanumeric-comparator.version>1.4.1</alphanumeric-comparator.version>
<jitk-tps.version>3.0.4</jitk-tps.version>

<!-- NB: Deploy releases to the SciJava Maven repository. -->
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>

<n5.version>3.2.0</n5.version>
<n5-aws-s3.version>4.1.1</n5-aws-s3.version>
<n5.version>3.3.0</n5.version>
<n5-imglib2.version>7.0.1-SNAPSHOT</n5-imglib2.version>
<n5-aws-s3.version>4.2.1</n5-aws-s3.version>
<n5-blosc.version>1.1.1</n5-blosc.version>
<n5-hdf5.version>2.2.0</n5-hdf5.version>
<n5-google-cloud.version>4.1.0</n5-google-cloud.version>
<n5-zarr.version>1.3.4</n5-zarr.version>
<n5-google-cloud.version>4.1.1</n5-google-cloud.version>
<n5-zarr.version>1.3.5</n5-zarr.version>
<n5-universe.version>1.6.0</n5-universe.version>
<n5-ij.version>4.2.1</n5-ij.version>
<n5-viewer_fiji.version>6.1.1</n5-viewer_fiji.version>

<bigdataviewer-core.version>10.4.14</bigdataviewer-core.version>
<bigdataviewer-vistools.version>1.0.0-beta-34</bigdataviewer-vistools.version>

<ejml-core.version>0.41</ejml-core.version>
<ejml-ddense.version>0.41</ejml-ddense.version>

<enforcer.skip>true</enforcer.skip>

<!-- NB: Deploy releases to the SciJava Maven repository. -->
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>
</properties>

<repositories>
Expand Down Expand Up @@ -182,10 +189,6 @@
<groupId>sc.fiji</groupId>
<artifactId>bigdataviewer-core</artifactId>
</dependency>
<dependency>
<groupId>sc.fiji</groupId>
<artifactId>bigdataviewer-vistools</artifactId>
</dependency>
<dependency>
<groupId>sc.fiji</groupId>
<artifactId>bigdataviewer_fiji</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public RandomAccess<T> randomAccess( Interval interval) {
return randomAccess();
}

@Override
public T getType()
{
return ra.getType();
}

// public RandomAccessibleInterval<T> copy()
// {
// return new GridRandomAccessibleInterval<T>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@ public RealRandomAccess<T> realRandomAccess() {
public RealRandomAccess<T> realRandomAccess(RealInterval interval) {
return realRandomAccess();
}


@Override
public T getType()
{
return ra.getType();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,13 @@ public RealRandomAccess<T> realRandomAccess() {
public RealRandomAccess<T> realRandomAccess(RealInterval interval) {
return realRandomAccess();
}


@Override
public T getType()
{
return ra.getType();
}

public void setTransform( final DifferentiableRealTransform transform )
{
ra.setTransform( transform );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,12 @@ public RealRandomAccess< DoubleType > realRandomAccess( RealInterval interval )
return rra.realRandomAccess( interval );
}

@Override
public DoubleType getType()
{
return new DoubleType();
}

public Element toXml()
{
final Element maskSettings = new Element( "transform-mask" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ public RealRandomAccess<T> realRandomAccess(RealInterval interval) {
return realRandomAccess();
}

@Override
public T getType()
{
return ra.getType();
}

// public RealRandomAccessibleRealInterval<T> copy()
// {
// long[] min = new long[ this.numDimensions() ];
Expand Down
Loading