Package eas.startSetup.marbBuilder.darstellungsModi

Examples of eas.startSetup.marbBuilder.darstellungsModi.DarstModEA


        ArrowMaster master = new ArrowMaster(this.pars);
        Knoten aktKnot = this.getAktZustand();
        if (aktKnot == null) {
            aktKnot = this.getVAut()[0].holeStartzustand();
        }
        DargestellterGraph darstellung = new DarstModEA(
                0,
                0,
                this.umg.getFeld()[0].length - 100,
                this.umg.getFeld()[0].length - 100).erzeuge(
                        this.vAuts()[0], aktKnot);
View Full Code Here


        final int width = 500;
        final int height = 500;
        ArrowMaster master = new ArrowMaster(params);
       
        BufferedImage img;
        DarstModEA dar = new DarstModEA(0, 0, width, height);
        DargestellterGraph darGraph = dar.erzeuge(this, null);
        List<Object> drawList = master.graph(darGraph);
        img = Geometry2D.erzBuffImgAusObjekten(drawList);
       
        return img;
    }
View Full Code Here

    public BufferedImage generateMRTImage() {
        float nodeCount = this.marb.getKnList().size();
        float sizeConstant = 100;
        float relation = 1;
       
        DargestellterGraph g = new DarstModEA(
                0,
                0,
                (int) (sizeConstant * Math.sqrt(nodeCount)),
                (int) (relation * sizeConstant * Math.sqrt(nodeCount))).erzeuge(marb, marb.getCurrentState());
        List<Object> toPaint = master.graph(g);
View Full Code Here

        this.addWindowListener(new WindHideAdapt());
       
        this.darstArten = new DarstModEA[autAnz];
       
        for (int i = 0; i < autAnz; i++) {
            this.darstArten[i] = new DarstModEA(
                    50,
                    ConstantsDarstellung.OBEN,
                    this.getWidth() - 50,
                    this.getHeight() - 50);
        }
View Full Code Here

     * Initialisierungsmethode (Roboter und Darstellung).
     */
    private void init() {
        this.setSize(200, 200);
        this.setLocation(new Point(400, 100));
        this.darstArt = new DarstModEA(
                50,
                ConstantsDarstellung.OBEN,
                this.getWidth() - 50,
                this.getHeight() - 50);

View Full Code Here

TOP

Related Classes of eas.startSetup.marbBuilder.darstellungsModi.DarstModEA

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.