From 835baecfd69eb64d9deaaa9182e47772a87b5171 Mon Sep 17 00:00:00 2001 From: tpietzsch Date: Sun, 19 Feb 2023 23:56:52 +0100 Subject: [PATCH] Implement MixedTransform.toString() --- .../imglib2/transform/integer/MixedTransform.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/main/java/net/imglib2/transform/integer/MixedTransform.java b/src/main/java/net/imglib2/transform/integer/MixedTransform.java index d2d02810e..c5cf6bcab 100644 --- a/src/main/java/net/imglib2/transform/integer/MixedTransform.java +++ b/src/main/java/net/imglib2/transform/integer/MixedTransform.java @@ -34,6 +34,7 @@ package net.imglib2.transform.integer; +import java.util.Arrays; import net.imglib2.Localizable; import net.imglib2.Positionable; import net.imglib2.concatenate.Concatenable; @@ -506,4 +507,16 @@ public boolean hasFullSourceMapping() } return true; } + + @Override + public String toString() + { + return "MixedTransform{" + + numSourceDimensions + "->" + numTargetDimensions + + ", component=" + Arrays.toString( component ) + + ", invert=" + Arrays.toString( invert ) + + ", zero=" + Arrays.toString( zero ) + + ", translation=" + Arrays.toString( translation ) + + '}'; + } }