Package fr.soleil.salsa.entity.impl.scan1d

Examples of fr.soleil.salsa.entity.impl.scan1d.Range1DImpl


    }

    private Range1DImpl getPartialRange(IRange src) {

        IRange1D dst = new Range1DImpl();
        AutoCopier.copyPartial(src, dst);
        return (Range1DImpl) dst;
    }
View Full Code Here


                    config = new Config1DImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) config).setDimensionX(new Dimension1DImpl());
                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) config).getDimensionX());
                    range1DToAdd.setIntegrationTime(1.0);
                    range1DToAdd.setStepsNumber(1);
                    ((IConfig1D) config).getDimensionX().getRangesXList().add(range1DToAdd);
                    break;

                case SCAN_2D:
                    config = new Config2DImpl();
View Full Code Here

                    tmp.setScanAddOn(new ScanAddOnImp());
                    tmp.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) tmp).setDimensionX(new Dimension1DImpl());

                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) tmp).getDimensionX());
                    range1DToAdd.setIntegrationTime(1.0);
                    range1DToAdd.setStepsNumber(1);
                    ((IConfig1D) tmp).getDimensionX().getRangesXList().add(range1DToAdd);
                    configModel = wrap(tmp);

                    break;
                case SCAN_2D:
View Full Code Here

    /**
     * Default constructor, that creates a new instance of Range1DImpl and wraps it.
     */
    public Range1DModel() {
        this(new Range1DImpl());
    }
View Full Code Here

                range = new RangeEnergyImpl();
                trajectory = new TrajectoryEnergyImpl();
                ((IDimensionEnergy) dimension).getRangesEnergyList().add((IRangeEnergy) range);
            }
            else if (dimension instanceof IDimension1D) {
                range = new Range1DImpl();
                trajectory = new Trajectory1DImpl();
                ((IDimension1D) dimension).getRangesXList().add((IRange1D) range);
            }
        }
        if (range != null && trajectory != null) {
View Full Code Here

                range = new RangeEnergyImpl();
                trajectory = new TrajectoryEnergyImpl();
                ((IDimensionEnergy) dimension).getRangesEnergyList().add((IRangeEnergy) range);
            }
            else if (dimension instanceof IDimension1D) {
                range = new Range1DImpl();
                trajectory = new Trajectory1DImpl();
                ((IDimension1D) dimension).getRangesXList().add((IRange1D) range);
            }
        }
        if (range != null && trajectory != null) {
View Full Code Here

                    tmp.setScanAddOn(new ScanAddOnImp());
                    tmp.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) tmp).setDimensionX(new Dimension1DImpl());

                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) tmp).getDimensionX());
                    range1DToAdd.setIntegrationTime(1.0);
                    range1DToAdd.setStepsNumber(1);
                    ((IConfig1D) tmp).getDimensionX().getRangesXList().add(range1DToAdd);
                    configModel = wrap(tmp);

                    break;
                case SCAN_2D:
View Full Code Here

                    config = new Config1DImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) config).setDimensionX(new Dimension1DImpl());
                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) config).getDimensionX());
                    range1DToAdd.setIntegrationTime(1.0);
                    range1DToAdd.setStepsNumber(1);
                    ((IConfig1D) config).getDimensionX().getRangesXList().add(range1DToAdd);
                    break;

                case SCAN_2D:
                    config = new Config2DImpl();
View Full Code Here

    /**
     * Default constructor, that creates a new instance of Range1DImpl and wraps it.
     */
    public Range1DModel() {
        this(new Range1DImpl());
    }
View Full Code Here

                    config = new Config1DImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) config).setDimensionX(new Dimension1DImpl());
                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
                    range1DToAdd.setDimension(((IConfig1D) config).getDimensionX());
                    range1DToAdd.setIntegrationTime(1.0);
                    range1DToAdd.setStepsNumber(1);
                    ((IConfig1D) config).getDimensionX().getRangesXList().add(range1DToAdd);
                    break;

                case SCAN_2D:
                    config = new Config2DImpl();
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.scan1d.Range1DImpl

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.