Package org.locationtech.udig.omsbox.processingregion

Examples of org.locationtech.udig.omsbox.processingregion.ProcessingRegion


        AffineTransform gridToCRS = (AffineTransform) gridGeometry.getGridToCRS();
        double xRes = XAffineTransform.getScaleX0(gridToCRS);
        double yRes = XAffineTransform.getScaleY0(gridToCRS);

        ProcessingRegion region = new ProcessingRegion(westSouth[0], eastNorth[0], westSouth[1], eastNorth[1], xRes, yRes);
        return region;
    }
View Full Code Here


        };
        blackboard.addListener(currentBlackboardListener);
    }

    private void setRegion( ProcessingRegionStyle processingStyle ) {
        ProcessingRegion region = new ProcessingRegion(processingStyle.west, processingStyle.east, processingStyle.south,
                processingStyle.north, processingStyle.rows, processingStyle.cols);
        if (isProcessingNorth) {
            text.setText(String.valueOf(processingStyle.north));
        } else if (isProcessingSouth) {
            text.setText(String.valueOf(processingStyle.south));
        } else if (isProcessingWest) {
            text.setText(String.valueOf(processingStyle.west));
        } else if (isProcessingEast) {
            text.setText(String.valueOf(processingStyle.east));
        } else if (isProcessingCols) {
            text.setText(String.valueOf(processingStyle.cols));
        } else if (isProcessingRows) {
            text.setText(String.valueOf(processingStyle.rows));
        } else if (isProcessingXres) {
            text.setText(String.valueOf(region.getWEResolution()));
        } else if (isProcessingYres) {
            text.setText(String.valueOf(region.getNSResolution()));
        }
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.omsbox.processingregion.ProcessingRegion

Copyright © 2018 www.massapicom. 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.