Skip to content

Commit

Permalink
Add missing getType() implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed Apr 5, 2024
1 parent a30f27f commit f9b4af1
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
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

0 comments on commit f9b4af1

Please sign in to comment.