Package fr.soleil.salsa.entity.impl.scan2d

Examples of fr.soleil.salsa.entity.impl.scan2d.Range2DYImpl


                    xRangeToAdd.setIntegrationTime(1.0);
                    xRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) config).getDimensionX().getRangesList().add(xRangeToAdd);
                    // Creates one Y range for a new 2D config.
                    ((IConfig2D) config).setDimensionY(new Dimension2DYImpl());
                    Range2DYImpl yRangeToAdd = new Range2DYImpl();
                    yRangeToAdd.setDimension(((IConfig2D) config).getDimensionY());
                    yRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) config).getDimensionY().getRangesList().add(yRangeToAdd);
                    break;

                case SCAN_HCS:
                    config = new ConfigHCSImpl();
View Full Code Here


                    xRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) tmp2d).getDimensionX().getRangesList().add(xRangeToAdd);

                    // Creates one Y range for a new 2D config.
                    ((IConfig2D) tmp2d).setDimensionY(new Dimension2DYImpl());
                    Range2DYImpl yRangeToAdd = new Range2DYImpl();
                    yRangeToAdd.setDimension(((IConfig2D) tmp2d).getDimensionY());
                    yRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) tmp2d).getDimensionY().getRangesList().add(yRangeToAdd);
                    configModel = wrap(tmp2d);

                    break;
                case SCAN_HCS:
View Full Code Here

    public Range2DYModel(IRange2DY range2DY) {
        super(range2DY);
    }

    public Range2DYModel() {
        this(new Range2DYImpl());
    }
View Full Code Here

                xRangeToAdd.setIntegrationTime(1.0);
                xRangeToAdd.setStepsNumber(1);
                ((IConfig2D) config).getDimensionX().getRangesList().add(xRangeToAdd);
                // Creates one Y range for a new 2D config.
                ((IConfig2D) config).setDimensionY(new Dimension2DYImpl());
                Range2DYImpl yRangeToAdd = new Range2DYImpl();
                yRangeToAdd.setDimension(((IConfig2D) config).getDimensionY());
                yRangeToAdd.setStepsNumber(1);
                ((IConfig2D) config).getDimensionY().getRangesList().add(yRangeToAdd);
                break;

            case SCAN_HCS:
                config = new ConfigHCSImpl();
View Full Code Here

            } else if (dimension instanceof IDimension2DX) {
                range = new Range2DXImpl();
                trajectory = new Trajectory2DXImpl();
                ((IDimension2DX) dimension).getRangesList().add((IRange2DX) range);
            } else if (dimension instanceof IDimension2DY) {
                range = new Range2DYImpl();
                trajectory = new Trajectory2DYImpl();
                ((IDimension2DY) dimension).getRangesList().add((IRange2DY) range);
            } else if (dimension instanceof IDimensionEnergy) {
                range = new RangeEnergyImpl();
                trajectory = new TrajectoryEnergyImpl();
View Full Code Here

                    xRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) tmp2d).getDimensionX().getRangesList().add(xRangeToAdd);

                    // Creates one Y range for a new 2D config.
                    ((IConfig2D) tmp2d).setDimensionY(new Dimension2DYImpl());
                    Range2DYImpl yRangeToAdd = new Range2DYImpl();
                    yRangeToAdd.setDimension(((IConfig2D) tmp2d).getDimensionY());
                    yRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) tmp2d).getDimensionY().getRangesList().add(yRangeToAdd);
                    configModel = wrap(tmp2d);

                    break;
                case SCAN_HCS:
View Full Code Here

                    xRangeToAdd.setIntegrationTime(1.0);
                    xRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) config).getDimensionX().getRangesList().add(xRangeToAdd);
                    // Creates one Y range for a new 2D config.
                    ((IConfig2D) config).setDimensionY(new Dimension2DYImpl());
                    Range2DYImpl yRangeToAdd = new Range2DYImpl();
                    yRangeToAdd.setDimension(((IConfig2D) config).getDimensionY());
                    yRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) config).getDimensionY().getRangesList().add(yRangeToAdd);
                    break;

                case SCAN_HCS:
                    config = new ConfigHCSImpl();
View Full Code Here

            } else if (dimension instanceof IDimension2DX) {
                range = new Range2DXImpl();
                trajectory = new Trajectory2DXImpl();
                ((IDimension2DX) dimension).getRangesList().add((IRange2DX) range);
            } else if (dimension instanceof IDimension2DY) {
                range = new Range2DYImpl();
                trajectory = new Trajectory2DYImpl();
                ((IDimension2DY) dimension).getRangesList().add((IRange2DY) range);
            } else if (dimension instanceof IDimensionEnergy) {
                range = new RangeEnergyImpl();
                trajectory = new TrajectoryEnergyImpl();
View Full Code Here

                    xRangeToAdd.setIntegrationTime(1.0);
                    xRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) config).getDimensionX().getRangesList().add(xRangeToAdd);
                    // Creates one Y range for a new 2D config.
                    ((IConfig2D) config).setDimensionY(new Dimension2DYImpl());
                    Range2DYImpl yRangeToAdd = new Range2DYImpl();
                    yRangeToAdd.setDimension(((IConfig2D) config).getDimensionY());
                    yRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) config).getDimensionY().getRangesList().add(yRangeToAdd);
                    break;

                case SCAN_HCS:
                    config = new ConfigHCSImpl();
View Full Code Here

                    xRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) tmp2d).getDimensionX().getRangesList().add(xRangeToAdd);

                    // Creates one Y range for a new 2D config.
                    ((IConfig2D) tmp2d).setDimensionY(new Dimension2DYImpl());
                    Range2DYImpl yRangeToAdd = new Range2DYImpl();
                    yRangeToAdd.setDimension(((IConfig2D) tmp2d).getDimensionY());
                    yRangeToAdd.setStepsNumber(1);
                    ((IConfig2D) tmp2d).getDimensionY().getRangesList().add(yRangeToAdd);
                    configModel = wrap(tmp2d);

                    break;
                case SCAN_HCS:
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.scan2d.Range2DYImpl

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.