Examples of MatrixRightAngleRotation


Examples of fr.soleil.data.filter.MatrixRightAngleRotation

            // build the filter
            for (final Transformation filterType : filterList) {
                switch (filterType) {
                    case POSITIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, true);
                        break;
                    case NEGATIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, false);
                        break;
                    case VERTICAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.VERTICAL);
                        break;
                    case HORIZONTAL_SYMMETRY:
View Full Code Here

Examples of fr.soleil.data.filter.MatrixRightAngleRotation

            // build the filter
            for (final Transformation filterType : filterList) {
                switch (filterType) {
                    case POSITIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, true);
                        break;
                    case NEGATIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, false);
                        break;
                    case VERTICAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.VERTICAL);
                        break;
                    case HORIZONTAL_SYMMETRY:
View Full Code Here

Examples of fr.soleil.data.filter.MatrixRightAngleRotation

            // build the filter
            for (final Transformation filterType : filterList) {
                switch (filterType) {
                    case POSITIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, true);
                        break;
                    case NEGATIVE_ROTATION:
                        filterToApply = new MatrixRightAngleRotation(filterToApply, false);
                        break;
                    case VERTICAL_SYMMETRY:
                        filterToApply = new MatrixSymmetry(filterToApply, MatrixSymmetry.VERTICAL);
                        break;
                    case HORIZONTAL_SYMMETRY:
View Full Code Here

Examples of fr.soleil.data.filter.MatrixRightAngleRotation

            public Number[][] getData() throws Exception {
                // nothing to do
                return data;
            }
        };
        MatrixRightAngleRotation positiveRotation = new MatrixRightAngleRotation(fakeContainer, true);
        MatrixRightAngleRotation negativeRotation = new MatrixRightAngleRotation(fakeContainer, false);
        MatrixSymmetry symmetry = new MatrixSymmetry(new MatrixSymmetry(fakeContainer, MatrixSymmetry.HORIZONTAL),
                MatrixSymmetry.VERTICAL);
        MatrixSymmetry symmetryH = new MatrixSymmetry(fakeContainer, MatrixSymmetry.HORIZONTAL);
        MatrixSymmetry symmetryV = new MatrixSymmetry(fakeContainer, MatrixSymmetry.VERTICAL);
        viewer.setNumberMatrix(data);
        positiveRotated.setNumberMatrix(positiveRotation.getData());
        positiveRotated.setYAxisConvertor(new DimensionReverter(data[0].length));
        negativeRotated.setNumberMatrix(negativeRotation.getData());
        negativeRotated.setXAxisConvertor(new DimensionReverter(data.length));
        rotated180.setNumberMatrix(symmetry.getData());
        rotated180.setYAxisConvertor(new DimensionReverter(data.length));
        rotated180.setXAxisConvertor(new DimensionReverter(data[0].length));
        symH.setNumberMatrix(symmetryH.getData());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.