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

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


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


    // }

    private Trajectory1DImpl getPartialTrajectory(ITrajectory1D src) {

        // ITrajectory i2 = (ITrajectory) AutoCopier.copyPartial(src);
        ITrajectory i2 = new Trajectory1DImpl();
        AutoCopier.copyPartial(src, i2);
        return (Trajectory1DImpl) i2;
        // The trajectory
        /*
        Trajectory1DImpl dst = new Trajectory1DImpl();
View Full Code Here

        /*
        ITrajectory trajectoryImpl = Trajectory1DModelWrapperFactory.getInstance().unWrap(
                itrajectory);
        */
        Trajectory1DImpl trajectoryImpl = getPartialTrajectory(itrajectory);
        trajectoryImpl.setBeginPosition(beginPosition);

        // AutoCopier.copyToImpl((IConfig) itrajectory);
        ITrajectory1D result = (ITrajectory1D) Config1DApi.computeBeginPositionChange(
                trajectoryImpl, deltaLock);

View Full Code Here

                endPosition);

        ITrajectory1D t1 = (ITrajectory1D) ((IConfig1D) config).getDimensionX().getRangesXList()
                .get(jPosition).getTrajectoriesList().get(iPosition);

        Trajectory1DImpl trajectoryImpl = getPartialTrajectory(t1);
        trajectoryImpl.setEndPosition(endPosition);

        ITrajectory1D result = (ITrajectory1D) Config1DApi.computeBeginPositionChange(
                trajectoryImpl, deltaLock);

        swapTrajectory(t1, result);
View Full Code Here

    public void computeDeltaChange(Double delta, int iPosition, int jPosition) {

        ITrajectory1D itrajectory = (ITrajectory1D) ((IConfig1D) config).getDimensionX()
                .getRangesXList().get(jPosition).getTrajectoriesList().get(iPosition);

        Trajectory1DImpl trajectoryImpl = getPartialTrajectory(itrajectory);
        trajectoryImpl.setDelta(delta);

        ITrajectory1D result = (ITrajectory1D) Config1DApi.computeDeltaChange(trajectoryImpl);

        IRange1D resultRange = result.getRange();
        IRange1D range = itrajectory.getRange();
View Full Code Here

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

    }

    private Trajectory1DImpl getPartialTrajectory(ITrajectory1D src) {

        // ITrajectory i2 = (ITrajectory) AutoCopier.copyPartial(src);
        ITrajectory i2 = new Trajectory1DImpl();
        AutoCopier.copyPartial(src, i2);
        return (Trajectory1DImpl) i2;
        // The trajectory
        /*
        Trajectory1DImpl dst = new Trajectory1DImpl();
View Full Code Here

        /*
        ITrajectory trajectoryImpl = Trajectory1DModelWrapperFactory.getInstance().unWrap(
                itrajectory);
        */
        Trajectory1DImpl trajectoryImpl = getPartialTrajectory(itrajectory);
        trajectoryImpl.setBeginPosition(beginPosition);

        // AutoCopier.copyToImpl((IConfig) itrajectory);
        ITrajectory1D result = (ITrajectory1D) Config1DApi.computeBeginPositionChange(
                trajectoryImpl, deltaLock);

View Full Code Here

                endPosition);

        ITrajectory1D t1 = (ITrajectory1D) ((IConfig1D) config).getDimensionX().getRangesXList()
                .get(jPosition).getTrajectoriesList().get(iPosition);

        Trajectory1DImpl trajectoryImpl = getPartialTrajectory(t1);
        trajectoryImpl.setEndPosition(endPosition);

        ITrajectory1D result = (ITrajectory1D) Config1DApi.computeBeginPositionChange(
                trajectoryImpl, deltaLock);

        swapTrajectory(t1, result);
View Full Code Here

    public void computeDeltaChange(Double delta, int iPosition, int jPosition) {

        ITrajectory1D itrajectory = (ITrajectory1D) ((IConfig1D) config).getDimensionX()
                .getRangesXList().get(jPosition).getTrajectoriesList().get(iPosition);

        Trajectory1DImpl trajectoryImpl = getPartialTrajectory(itrajectory);
        trajectoryImpl.setDelta(delta);

        ITrajectory1D result = (ITrajectory1D) Config1DApi.computeDeltaChange(trajectoryImpl);

        IRange1D resultRange = result.getRange();
        IRange1D range = itrajectory.getRange();
View Full Code Here

TOP

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

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.