@Test public void testGetForward() throws Exception { PixelPos resultPos = new PixelPos(); provider.getModelToSceneTransform().transform(new PixelPos(0, 0), resultPos); assertEquals(1, (int)resultPos.getX()); assertEquals(1, (int)resultPos.getY()); provider.getModelToSceneTransform().transform(new PixelPos(2, 2), resultPos); assertEquals(3, (int)resultPos.getX()); assertEquals(1, (int)resultPos.getY()); provider.getModelToSceneTransform().transform(new PixelPos(5, 7), resultPos); assertEquals(7, (int)resultPos.getX()); assertEquals(5, (int)resultPos.getY()); provider.getModelToSceneTransform().transform(new PixelPos(13, 11), resultPos); assertEquals(15, (int)resultPos.getX()); assertEquals(9, (int)resultPos.getY()); provider.getModelToSceneTransform().transform(new PixelPos(15, 15), resultPos); assertEquals(17, (int)resultPos.getX()); assertEquals(13, (int)resultPos.getY()); }
@Override public MathTransform2D getModelToSceneTransform() { return modelToSceneTransform; }
SynL1COlciSceneTransformProvider implements SceneTransformProvider { @Override public MathTransform2D getModelToSceneTransform() { return modelToSceneTransform; } }
SynL1COlciSceneTransformProvider implements SceneTransformProvider { @Override public MathTransform2D getModelToSceneTransform() { return modelToSceneTransform; } SynL1COlciSceneTransformProvider(Band columnMisregistrationBand, Band rowMisregistrationBand); }
SynL1COlciSceneTransformProvider implements SceneTransformProvider { @Override public MathTransform2D getModelToSceneTransform() { return modelToSceneTransform; } SynL1COlciSceneTransformProvider(Band columnMisregistrationBand, Band rowMisregistrationBand); @Override MathTransform2D getModelToSceneTransform(); @Override MathTransform2D getSceneToModelTransform(); }
SynL1COlciSceneTransformProvider implements SceneTransformProvider { @Override public MathTransform2D getModelToSceneTransform() { return modelToSceneTransform; } SynL1COlciSceneTransformProvider(Band columnMisregistrationBand, Band rowMisregistrationBand); @Override MathTransform2D getModelToSceneTransform(); @Override MathTransform2D getSceneToModelTransform();  }