SlicingTransform slicing1;
@Before
public void setUp()
{
tr1 = new MixedTransform( 3, 3 );
long[] translation = new long[] { 3, 4, 5 };
tr1.setTranslation( translation );
tr2 = new MixedTransform( 3, 3 );
translation = new long[] { 7, 8, 9 };
tr2.setTranslation( translation );
perm1 = new MixedTransform( 3, 3 );
boolean[] zero = new boolean[] { false, false, false };
boolean[] inv = new boolean[] { false, false, false };
int[] component = new int[] { 0, 2, 1 };
perm1.setComponentZero( zero );
perm1.setComponentMapping( component );
perm1.setComponentInversion( inv );
rot1 = new MixedTransform( 3, 3 );
zero = new boolean[] { false, false, false };
inv = new boolean[] { false, true, false };
component = new int[] { 1, 0, 2 };
rot1.setComponentZero( zero );
rot1.setComponentMapping( component );
rot1.setComponentInversion( inv );
proj1 = new MixedTransform( 3, 2 );
proj2 = new MixedTransform( 2, 3 );
slice1 = new MixedTransform( 2, 3 );
slice1.setTranslation( new long[] { 233, 0, 0 } );
slice1.setComponentMapping( new int[] { 0, 0, 1 } );
slice1.setComponentZero( new boolean[] { true, false, false } );
tr3 = new MixedTransform( 2, 2 );
tr3.setTranslation( new long[] { 10, 10 } );
comp1 = rot1.concatenate( tr2 );
translation1 = new TranslationTransform( new long[] { 2011, 3, 24 } );